1996-12-25 12:42:42 +00:00
|
|
|
|
# ex:ts=8
|
|
|
|
|
# Ports collection makefile for: vnTeX
|
|
|
|
|
# Date created: Monday, Dec 9, 1996
|
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
|
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
|
# $FreeBSD$
|
1996-12-25 12:42:42 +00:00
|
|
|
|
#
|
|
|
|
|
|
2000-04-15 01:56:18 +00:00
|
|
|
|
PORTNAME= vnroff
|
2000-05-20 19:02:30 +00:00
|
|
|
|
PORTVERSION= 2.1
|
1997-11-03 21:07:12 +00:00
|
|
|
|
CATEGORIES= vietnamese print
|
1996-12-25 12:42:42 +00:00
|
|
|
|
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Troff/
|
|
|
|
|
DISTFILES= vnroff.c.Z vnroff.1.Z
|
2000-05-20 19:02:30 +00:00
|
|
|
|
DISTNAME= ${PORTNAME}-2.0
|
1996-12-25 12:42:42 +00:00
|
|
|
|
|
2000-02-13 03:25:05 +00:00
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-12-25 12:42:42 +00:00
|
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
MAN1= vnroff.1
|
|
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
|
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.c.Z \
|
1997-10-13 07:12:28 +00:00
|
|
|
|
| ${SED} -e '1,/-cut here-/d' \
|
1996-12-25 12:42:42 +00:00
|
|
|
|
> vnroff.c)
|
|
|
|
|
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.1.Z \
|
1997-10-13 07:12:28 +00:00
|
|
|
|
| ${SED} -e '1,/Status:/d' -e '//,//d' \
|
|
|
|
|
| ${SED} -e '1,1d' \
|
1996-12-25 12:42:42 +00:00
|
|
|
|
> vnroff.1)
|
|
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o vnroff vnroff.c)
|
|
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/vnroff ${PREFIX}/bin
|
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vnroff.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|