1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

vietnamese/vnroff: integrate pkg-plist and cleanup makefile

The makefile contained DOS CR endings.  While removing those,
consolidate pkg-plist into the makefile and do some cosmetic clean up.

PR:		185986
Submitted by:	takefu (airport.fm)
Approved by:	maintainer timeout (6 months)
This commit is contained in:
John Marino 2014-07-28 09:19:20 +00:00
parent 9cc7f367f3
commit fcc53d78e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363124
2 changed files with 8 additions and 8 deletions

View File

@ -12,21 +12,23 @@ DISTFILES= vnroff.c.Z vnroff.1.Z
MAINTAINER= obrien@FreeBSD.org
COMMENT= Converts Vietnamese VIQR text into troff format
PLIST_FILES= bin/vnroff man/man1/vnroff.1.gz
NO_WRKSUBDIR= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.c.Z \
| ${SED} -e '1,/-cut here-/d' \
@(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' \
@(cd ${WRKDIR} && ${GZCAT} ${DISTDIR}/vnroff.1.Z \
| ${SED} -e '1,/Status:/d' \
| ${SED} -e '1,1d' \
| ${TR} -d '\01' \
> vnroff.1)
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o vnroff vnroff.c)
cd ${WRKSRC} && ${CC} ${CFLAGS} -o vnroff vnroff.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vnroff ${STAGEDIR}${PREFIX}/bin

View File

@ -1,2 +0,0 @@
bin/vnroff
man/man1/vnroff.1.gz