View | Details | Raw Unified | Return to bug 99063
Collapse All | Expand All

(-)/usr/home/simon/src/ports/print/cups-pdf/Makefile (-7 / +10 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	cups-pdf
8
PORTNAME=	cups-pdf
9
PORTVERSION=	2.4.0
9
PORTVERSION=	2.4.1
10
CATEGORIES=	print
10
CATEGORIES=	print
11
MASTER_SITES=	http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ \
11
MASTER_SITES=	http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ \
12
		http://olofsson.de/mirror/distfiles/
12
		http://olofsson.de/mirror/distfiles/
Lines 52-60 Link Here
52
.endif
52
.endif
53
53
54
pre-everything::
54
pre-everything::
55
.if !defined(PDF_VERSION) || !defined(HOME_SUBDIR) || \
56
!defined(OUTPUT_DIRECTORY) || !defined(LOG_DIRECTORY)
55
	@${ECHO_MSG} ""
57
	@${ECHO_MSG} ""
56
	@${ECHO_MSG} "You may use the following build options:"
58
	@${ECHO_MSG} "You may use the following build options:"
57
	@${ECHO_MSG} ""
59
	@${ECHO_MSG} ""
60
.endif
58
.if !defined(PDF_VERSION)
61
.if !defined(PDF_VERSION)
59
	@${ECHO_MSG} "PDF_VERSION=1.2|1.3|1.4|1.5   PDF-version of PDF-files produced"
62
	@${ECHO_MSG} "PDF_VERSION=1.2|1.3|1.4|1.5   PDF-version of PDF-files produced"
60
.endif
63
.endif
Lines 70-78 Link Here
70
	@${ECHO_MSG} "LOG_DIRECTORY=<dir>           Place logfile into <dir>/cups-pdf_log"
73
	@${ECHO_MSG} "LOG_DIRECTORY=<dir>           Place logfile into <dir>/cups-pdf_log"
71
.endif
74
.endif
72
75
73
post-extract:
74
	@${GUNZIP_CMD} ${WRKSRC}/extra/PostscriptColor.ppd.gz
75
76
post-configure:
76
post-configure:
77
	@${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf
77
	@${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf
78
	@${REINPLACE_CMD} -e \
78
	@${REINPLACE_CMD} -e \
Lines 84-99 Link Here
84
84
85
do-install:
85
do-install:
86
	${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend
86
	${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend
87
	${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor.ppd ${LOCALBASE}/share/cups/model
87
	${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor_rev3b.ppd.gz \
88
	${LOCALBASE}/share/cups/model/PostscriptColor.ppd.gz
88
.if !defined(NOPORTDOCS)
89
.if !defined(NOPORTDOCS)
89
	${MKDIR} ${DOCSDIR}
90
	${MKDIR} ${DOCSDIR}
90
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
91
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
91
	${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf ${LOCALBASE}/etc/cups/cups-pdf.conf.sample
92
	${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \
93
	${LOCALBASE}/etc/cups/cups-pdf.conf.sample
92
.endif
94
.endif
93
95
94
post-install:
96
post-install:
95
	@if [ ! -f ${LOCALBASE}/etc/cups/cups-pdf.conf ]; then \
97
	@if [ ! -f ${LOCALBASE}/etc/cups/cups-pdf.conf ]; then \
96
	${CP} -p ${LOCALBASE}/etc/cups/cups-pdf.conf.sample ${LOCALBASE}/etc/cups/cups-pdf.conf ; \
98
	${CP} -p ${LOCALBASE}/etc/cups/cups-pdf.conf.sample \
99
	${LOCALBASE}/etc/cups/cups-pdf.conf ; \
97
	fi
100
	fi
98
101
99
.include <bsd.port.post.mk>
102
.include <bsd.port.post.mk>
(-)/usr/home/simon/src/ports/print/cups-pdf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cups-pdf_2.4.0.tar.gz) = e80555d7f58d90c2ad43f131745e09ac
1
MD5 (cups-pdf_2.4.1.tar.gz) = 4cef6dd76d09dc2f7f3df133ef339b52
2
SHA256 (cups-pdf_2.4.0.tar.gz) = aef0f1e66de08ba6ac0ade30c4f6d75285843f59158d6805e0d32ce96fd7c790
2
SHA256 (cups-pdf_2.4.1.tar.gz) = 9b44b84c28d15f48e0ca0ae5191f0df5bc5600a72118a4ed29fee8a0812fa59b
3
SIZE (cups-pdf_2.4.0.tar.gz) = 34421
3
SIZE (cups-pdf_2.4.1.tar.gz) = 50448
(-)/usr/home/simon/src/ports/print/cups-pdf/pkg-plist (-1 / +1 lines)
Lines 1-5 Link Here
1
libexec/cups/backend/cups-pdf
1
libexec/cups/backend/cups-pdf
2
share/cups/model/PostscriptColor.ppd
2
share/cups/model/PostscriptColor.ppd.gz
3
@unexec if cmp -s %D/etc/cups/cups-pdf.conf.sample %D/etc/cups/cups-pdf.conf; then rm -f %D/etc/cups/cups-pdf.conf; fi
3
@unexec if cmp -s %D/etc/cups/cups-pdf.conf.sample %D/etc/cups/cups-pdf.conf; then rm -f %D/etc/cups/cups-pdf.conf; fi
4
etc/cups/cups-pdf.conf.sample
4
etc/cups/cups-pdf.conf.sample
5
@exec if [ ! -f %D/etc/cups/cups-pdf.conf ] ; then cp -p %D/%F %B/cups-pdf.conf; fi
5
@exec if [ ! -f %D/etc/cups/cups-pdf.conf ] ; then cp -p %D/%F %B/cups-pdf.conf; fi

Return to bug 99063