1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/vietnamese/vnroff/Makefile

39 lines
886 B
Makefile
Raw Normal View History

# 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$
#
PORTNAME= vi-vnroff
PORTVERSION= 2.0
1997-11-03 21:07:12 +00:00
CATEGORIES= vietnamese print
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Troff/
DISTFILES= vnroff.c.Z vnroff.1.Z
2000-02-13 03:25:05 +00:00
MAINTAINER= obrien@FreeBSD.org
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' \
> 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' \
> 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>