diff options
author | knu <knu@FreeBSD.org> | 2002-08-27 05:38:29 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-08-27 05:38:29 +0000 |
commit | 21b155a15ec2e16e53ad686a520efaa63f326dd5 (patch) | |
tree | df5e1d93e58b7d70df1089b4839cd9c741f9314e /japanese/xvi-euc/Makefile.common | |
parent | 8e724a291ccb5784cdaef7128f95c7dc60949dd8 (diff) | |
download | FreeBSD-ports-21b155a15ec2e16e53ad686a520efaa63f326dd5.zip FreeBSD-ports-21b155a15ec2e16e53ad686a520efaa63f326dd5.tar.gz |
Add japanese/xvi-euc, a portable multi-window `vi', handles japanese
EUC.
PR: ports/41422 (with various style fixes)
Submitted by: KIMURA Shigekazu <zau50357@lion.zero.ad.jp>
Diffstat (limited to 'japanese/xvi-euc/Makefile.common')
-rw-r--r-- | japanese/xvi-euc/Makefile.common | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/japanese/xvi-euc/Makefile.common b/japanese/xvi-euc/Makefile.common new file mode 100644 index 0000000..b5fdada --- /dev/null +++ b/japanese/xvi-euc/Makefile.common @@ -0,0 +1,39 @@ +# +# $FreeBSD$ +# + +PORTNAME= xvi +PORTVERSION= 2.19b +CATEGORIES= japanese editors +MASTER_SITES= http://lion.zero.ad.jp/~zau50357/public_html/ \ + ftp://ftp.vector.co.jp/pack/dos/writing/edit/vi/ +DISTFILES= ${PORTNAME}-2.19.tar.bz2 \ + j${PORTNAME}219b.lzh + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha + +USE_REINPLACE= yes + +WRKSRC= ${WRKDIR}/xvi-2.19/src + +do-extract: + @${MKDIR} ${WRKDIR} + @(cd ${WRKDIR} && ${TAR} jxf ${DISTDIR}/${PORTNAME}-2.19.tar.bz2) + @(cd ${WRKSRC} && lha xfq ${DISTDIR}/j${PORTNAME}219b.lzh) + +pre-patch: + @(cd ${WRKSRC} && ${PATCH} -p0 -sE < jxvi219.dif) + @${CP} ${WRKSRC}/make_386.bsd ${WRKSRC}/Makefile + +post-patch: + ${REINPLACE_CMD} 's:/usr/local:${PREFIX}:g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PROG} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xvi.1.gz ${PREFIX}/man/man1/${PROG}.1.gz + ${MKDIR} ${PREFIX}/share/xvi + ${INSTALL_DATA} ${WRKSRC}/../doc/help ${PREFIX}/share/xvi/${PROG}.help + +.include <bsd.port.mk> |