Lines 3-31
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= pnm2ppa |
4 |
PORTNAME= pnm2ppa |
5 |
PORTVERSION= 1.13 |
5 |
PORTVERSION= 1.13 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= print |
7 |
CATEGORIES= print |
8 |
MASTER_SITES= SF |
8 |
MASTER_SITES= SF |
9 |
|
9 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= 000.fbsd@quip.cz |
11 |
COMMENT= Convert PNM images to PPA for some HP printers |
11 |
COMMENT= Convert PNM images to PPA for some HP printers |
12 |
|
12 |
|
13 |
OPTIONS_DEFINE= A4SIZE |
13 |
OPTIONS_DEFINE= A4SIZE |
14 |
A4SIZE_DESC= Set A4 (not Letter) as a default paper size |
14 |
A4SIZE_DESC= Set A4 (not Letter) as a default paper size |
15 |
|
15 |
|
16 |
DEPRECATED= Unmaintained since 2001 |
16 |
USES= gmake ghostscript:run |
17 |
EXPIRATION_DATE= 2014-04-12 |
|
|
18 |
USE_GHOSTSCRIPT_RUN= yes |
19 |
USE_GMAKE= yes |
20 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
21 |
|
18 |
|
22 |
MAN1= pnm2ppa.1 |
|
|
23 |
PLIST_FILES= bin/asciippafilter bin/calibrate_ppa bin/pnm2ppa bin/ppafilter \ |
24 |
etc/pnm2ppa.conf.sample |
25 |
|
26 |
PKGDEINSTALL= ${PKGINSTALL} |
27 |
|
28 |
NO_STAGE= yes |
29 |
.include <bsd.port.pre.mk> |
19 |
.include <bsd.port.pre.mk> |
30 |
|
20 |
|
31 |
.if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE) |
21 |
.if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE) |
Lines 49-62
Link Here
|
49 |
${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter |
39 |
${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter |
50 |
|
40 |
|
51 |
do-install: |
41 |
do-install: |
52 |
${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${PREFIX}/bin |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${STAGEDIR}${PREFIX}/bin |
53 |
${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${PREFIX}/bin |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${STAGEDIR}${PREFIX}/bin |
54 |
${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${PREFIX}/bin |
44 |
${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${STAGEDIR}${PREFIX}/bin |
55 |
${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${PREFIX}/bin |
45 |
${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${STAGEDIR}${PREFIX}/bin |
56 |
${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${MANPREFIX}/man/man1 |
46 |
${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${STAGEDIR}${PREFIX}/man/man1 |
57 |
${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${PREFIX}/etc |
47 |
${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${STAGEDIR}${PREFIX}/etc |
58 |
@${SETENV} PKG_PREFIX="${PREFIX}" \ |
|
|
59 |
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
60 |
@${CAT} ${PKGMESSAGE} |
61 |
|
48 |
|
62 |
.include <bsd.port.post.mk> |
49 |
.include <bsd.port.post.mk> |