diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-11-06 09:31:51 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-11-06 09:31:51 +0000 |
commit | cdec5cb1f63ca85457348a458f378cbd7409d5d0 (patch) | |
tree | 87590d5f100e35c1c9c568b5f1cc9f776f7e00b9 /print | |
parent | 83507e51c4d842ca866bcc014f103d4cffacd43f (diff) | |
download | ports-cdec5cb1f63ca85457348a458f378cbd7409d5d0.tar.gz ports-cdec5cb1f63ca85457348a458f378cbd7409d5d0.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/pdf4tcl/Makefile | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/print/pdf4tcl/Makefile b/print/pdf4tcl/Makefile index 295c3125b219..74dfacdf131a 100644 --- a/print/pdf4tcl/Makefile +++ b/print/pdf4tcl/Makefile @@ -11,27 +11,37 @@ DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX}/from_sourceforge MAINTAINER= tcltk@FreeBSD.org COMMENT= Pure Tcl library to generate PDF files +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/licence.terms + +OPTIONS_DEFINE= DOCS + +BUILD_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/snit/snit.tcl:${PORTSDIR}/devel/tcllib WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//} -NO_BUILD= yes PORTDOCS= * PLIST_FILES= lib/${PKGNAME}/glyph2uni.tcl \ lib/${PKGNAME}/pkgIndex.tcl \ lib/${PKGNAME}/pdf4tcl.tcl \ - lib/${PKGNAME}/stdmetrics.tcl + lib/${PKGNAME}/stdmetrics.tcl \ + man/mann/pdf4tcl.n.gz PLIST_DIRS= lib/${PKGNAME} -NO_STAGE= yes .include <bsd.port.options.mk> +do-build: +# Generate manpage + cd ${WRKSRC} && ${LOCALBASE}/bin/dtplite -o pdf4tcl.n nroff pdf4tcl.man + do-install: - ${MKDIR} ${PREFIX}/lib/${PKGNAME} - cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${PREFIX}/lib/${PKGNAME} + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PKGNAME} + cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${STAGEDIR}${PREFIX}/lib/${PKGNAME} + ${INSTALL_DATA} ${WRKSRC}/pdf4tcl.n ${STAGEDIR}${PREFIX}/man/mann .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |