blob: 10eb63192a3c5c27220c0bda8a28ee9658f94e6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= pdf4tcl
PORTVERSION= 0.8
CATEGORIES= print
MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Pure Tcl library to generate PDF files
OPTIONS_DEFINE= DOCS
BUILD_DEPENDS= dtplite:devel/tcllib
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/snit/snit.tcl:devel/tcllib
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//}
PORTDOCS= *
PLIST_FILES= lib/${PKGNAME}/glyph2uni.tcl \
lib/${PKGNAME}/pkgIndex.tcl \
lib/${PKGNAME}/pdf4tcl.tcl \
lib/${PKGNAME}/stdmetrics.tcl \
man/mann/pdf4tcl.n.gz
.include <bsd.port.options.mk>
do-build:
# Generate manpage
cd ${WRKSRC} && ${LOCALBASE}/bin/dtplite -o pdf4tcl.n nroff pdf4tcl.man
do-install:
${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} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|