blob: 3227ef6138eaa3848bc73d011866bb3d85b4e282 (
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
|
# $FreeBSD$
PORTDOCS+= pcl3
PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \
pcl3/how-to-report.txt pcl3/pcl3opts.html
post-build-pcl3:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -I./obj -I./soobj -I./base \
-I./contrib/pcl3/eprn -o bin/pcl3opts \
contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \
contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c
post-install-pcl3:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3
cd ${WRKSRC}/contrib/pcl3 && \
${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \
ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \
ps/margins-A4.ps ps/margins-A4Rotated.ps \
ps/margins-Env10Rotated.ps \
ps/margins-EnvDLRotated.ps \
ps/margins-Letter.ps \
ps/margins-LetterRotated.ps \
${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3
cd ${WRKSRC}/contrib/pcl3/doc && \
${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${STAGEDIR}${MANPREFIX}/man/man1
post-install-docs-pcl3:
${MKDIR} ${WRKSRC}/contrib/pcl3
${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3
post-build: post-build-pcl3
post-install: post-install-pcl3
post-install-docs: post-install-docs-pcl3
|