summaryrefslogtreecommitdiffstats
path: root/chinese/bg5ps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/bg5ps/Makefile')
-rw-r--r--chinese/bg5ps/Makefile26
1 files changed, 16 insertions, 10 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile
index 1d1862c..ac5d5a9 100644
--- a/chinese/bg5ps/Makefile
+++ b/chinese/bg5ps/Makefile
@@ -1,30 +1,36 @@
# New ports collection makefile for: bg5ps
-# Version required: 1.1b
+# Version required: 1.1b2
# Date created: 17 June 1998
-# Whom: J.T. Jang (keith@email.gcn.net.tw)
+# Whom: J.T. Jang (keith@freebsd.sinica.edu.tw)
#
# $FreeBSD$
#
-DISTNAME= bg5ps-1.1b
-PKGNAME= zh-bg5ps-1.1b
+DISTNAME= bg5ps-1.1b2
+PKGNAME= zh-bg5ps-1.1b2
CATEGORIES= chinese print
-MASTER_SITES= http://weber.u.washington.edu/~cschin/bg5ps/bg5ps-1.1b/
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ \
+ http://students.washington.edu/~cschin/bg5ps/bg5ps-1.1b2/
EXTRACT_SUFX= .tgz
-MAINTAINER= keith@email.gcn.net.tw
+MAINTAINER= keith@freebsd.sinica.edu.tw
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python \
+ ${X11BASE}/lib/X11/fonts/TrueType/moe_kai.ttf:${PORTSDIR}/chinese/moettf
NO_WRKSUBDIR= yes
do-install:
@${MKDIR} ${PREFIX}/share/doc/bg5ps
+ @${MKDIR} ${PREFIX}/share/examples/bg5ps
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin
-.for doc in README bg5ps.conf test.big5 test.sh ttf2ps.doc
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/bg5ps
-.endfor
+ ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/bg5ps
+ ${RM} ${PREFIX}/share/doc/bg5ps/COPYING.txt
+ ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/share/doc/bg5ps/bg5ps.conf
+ ${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${PREFIX}/share/examples/bg5ps
+ ${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${PREFIX}/share/examples/bg5ps
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${PREFIX}/share/examples/bg5ps
post-install:
@${CAT} ${PKGMESSAGE}
OpenPOWER on IntegriCloud