1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/vietnamese/vnroff/Makefile
1999-08-31 02:11:56 +00:00

40 lines
916 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ex:ts=8
# Ports collection makefile for: vnTeX
# Version required: 2.0
# Date created: Monday, Dec 9, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#
DISTNAME= vnroff
PKGNAME= vi-vnroff-2.0
CATEGORIES= vietnamese print
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Troff/
DISTFILES= vnroff.c.Z vnroff.1.Z
MAINTAINER= obrien@FreeBSD.org
NO_WRKSUBDIR= yes
MAN1= vnroff.1
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.c.Z \
| ${SED} -e '1,/-cut here-/d' \
> vnroff.c)
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.1.Z \
| ${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>