aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2005-05-11 03:09:29 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2005-05-11 03:09:29 +0000
commit4eb7870f08800ea6f61bd4c76c103c296748f905 (patch)
treecb6900f1370baded1f3c275a41f2dfeb8c4def48 /textproc
parenta362e5c7b570c3f1ea9ffa25abcedc54cb36ea36 (diff)
downloadports-4eb7870f08800ea6f61bd4c76c103c296748f905.tar.gz
ports-4eb7870f08800ea6f61bd4c76c103c296748f905.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/nfbtrans/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/nfbtrans/Makefile b/textproc/nfbtrans/Makefile
index e943f5abba4b..d42e8301b004 100644
--- a/textproc/nfbtrans/Makefile
+++ b/textproc/nfbtrans/Makefile
@@ -28,14 +28,18 @@ MAKEFILE= makefile
BROKEN= "Does not install on ia64 or amd64 (segfault during install)"
.endif
+post-extract:
+ @${UNZIP_CMD} -q -L -a -o ${WRKSRC}/tables.zip -d ${WRKDIR}/tables
+ @${UNZIP_CMD} -q -L -a -o ${WRKSRC}/spanish.zip -d ${WRKDIR}/spanish
+
do-install:
${MKDIR} ${PREFIX}/share/nfbtrans/tables
${INSTALL_PROGRAM} ${WRKSRC}/nfbtrans ${PREFIX}/bin
.for f in braille.tab back.tab english.dic nfbtrans.cnf menu.cnf
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/nfbtrans
.endfor
- ${UNZIP_CMD} -q -L -a -o ${WRKSRC}/tables.zip -d ${PREFIX}/share/nfbtrans/tables
- ${UNZIP_CMD} -q -L -a -o ${WRKSRC}/spanish.zip -d ${PREFIX}/share/nfbtrans/spanish
+ @${CP} -pR ${WRKDIR}/tables ${PREFIX}/share/nfbtrans
+ @${CP} -pR ${WRKDIR}/spanish ${PREFIX}/share/nfbtrans
.if !defined(NOPORTDOCS)
@${ECHO} '~0 ~-pw=80 ~-ls=99 ~-pl=56 ~-if=12 ~-fc=. ~o5 ~p- ~-ip=0 ~-oc=1' \
| ${CAT} - ${WRKSRC}/nfbtrans.fmt > ${WRKSRC}/nfbprint.fmt