diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 09:23:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 09:23:54 +0000 |
commit | 598e3b95e377a3ff6d791057125fe27b1ffdb352 (patch) | |
tree | ae2da985769260bb23bc25c81c014e3f0f5add03 /chinese/bg5ps | |
parent | 336a28bb21cb0a1f37db2940b881f43d8f38ba36 (diff) | |
download | ports-598e3b95e377a3ff6d791057125fe27b1ffdb352.tar.gz ports-598e3b95e377a3ff6d791057125fe27b1ffdb352.zip |
Notes
Diffstat (limited to 'chinese/bg5ps')
-rw-r--r-- | chinese/bg5ps/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile index 36826771f77f..f403731e8b17 100644 --- a/chinese/bg5ps/Makefile +++ b/chinese/bg5ps/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: bg5ps -# Date created: 17 June 1998 -# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org> -# +# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org> # $FreeBSD$ -# PORTNAME= bg5ps PORTVERSION= 1.3.0p3 @@ -15,17 +11,20 @@ DISTNAME= bg5ps-1.3.0 MAINTAINER= ports@FreeBSD.org COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts -USE_FREETYPE= yes +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype + USE_PYTHON= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message +.include <bsd.port.options.mk> + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/etc/bg5ps.conf.sample ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${PREFIX}/etc/gb2312-bg5ps.conf.sample -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} .endif |