1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/japanese/xvi-euc/Makefile.common
2006-05-09 00:18:07 +00:00

38 lines
973 B
Makefile

#
# $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
EXTRACT_DEPENDS=lha:${PORTSDIR}/archivers/lha
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>