diff options
author | pav <pav@FreeBSD.org> | 2006-10-04 23:55:10 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-10-04 23:55:10 +0800 |
commit | 8fd7547341524be73fe44a88ea108aca98dd4946 (patch) | |
tree | d03e362ab1d357abea3f0b6fb0db3878240849aa /print/cups-pdf | |
parent | dce10b104844cdd2aab37fb6706030542cd79be9 (diff) | |
download | freebsd-ports-gnome-8fd7547341524be73fe44a88ea108aca98dd4946.tar.gz freebsd-ports-gnome-8fd7547341524be73fe44a88ea108aca98dd4946.tar.zst freebsd-ports-gnome-8fd7547341524be73fe44a88ea108aca98dd4946.zip |
- Update to 2.4.2
PR: ports/103977
Submitted by: Simon Olofsson <simon@olofsson.de> (maintainer)
Diffstat (limited to 'print/cups-pdf')
-rw-r--r-- | print/cups-pdf/Makefile | 21 | ||||
-rw-r--r-- | print/cups-pdf/distinfo | 6 | ||||
-rw-r--r-- | print/cups-pdf/pkg-plist | 2 |
3 files changed, 14 insertions, 15 deletions
diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index f210811668e5..9b28e3dd1a04 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -6,8 +6,7 @@ # PORTNAME= cups-pdf -PORTVERSION= 2.4.1 -PORTREVISION= 1 +PORTVERSION= 2.4.2 CATEGORIES= print MASTER_SITES= http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ \ http://olofsson.de/mirror/distfiles/ @@ -77,27 +76,27 @@ pre-everything:: post-configure: @${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf @${REINPLACE_CMD} -e \ - 's,CPCONFIG "/etc/cups/cups-pdf.conf",CPCONFIG "${LOCALBASE}/etc/cups/cups-pdf.conf",' \ + 's,CPCONFIG "/etc/cups/cups-pdf.conf",CPCONFIG "${PREFIX}/etc/cups/cups-pdf.conf",' \ ${WRKSRC}/src/cups-pdf.h do-build: cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c do-install: - ${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend - ${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor_rev3b.ppd.gz \ - ${LOCALBASE}/share/cups/model/PostscriptColor.ppd.gz + ${INSTALL} -o root -g wheel -m 0700 ${WRKSRC}/src/cups-pdf ${PREFIX}/libexec/cups/backend + ${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor.ppd \ + ${PREFIX}/share/cups/model/PostscriptColor.ppd + ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ + ${PREFIX}/etc/cups/cups-pdf.conf.sample .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ - ${LOCALBASE}/etc/cups/cups-pdf.conf.sample .endif post-install: - @if [ ! -f ${LOCALBASE}/etc/cups/cups-pdf.conf ]; then \ - ${CP} -p ${LOCALBASE}/etc/cups/cups-pdf.conf.sample \ - ${LOCALBASE}/etc/cups/cups-pdf.conf ; \ + @if [ ! -f ${PREFIX}/etc/cups/cups-pdf.conf ]; then \ + ${CP} -p ${PREFIX}/etc/cups/cups-pdf.conf.sample \ + ${PREFIX}/etc/cups/cups-pdf.conf ; \ fi .include <bsd.port.post.mk> diff --git a/print/cups-pdf/distinfo b/print/cups-pdf/distinfo index 6d6396469660..027aca4a8ebc 100644 --- a/print/cups-pdf/distinfo +++ b/print/cups-pdf/distinfo @@ -1,3 +1,3 @@ -MD5 (cups-pdf_2.4.1.tar.gz) = 4cef6dd76d09dc2f7f3df133ef339b52 -SHA256 (cups-pdf_2.4.1.tar.gz) = 9b44b84c28d15f48e0ca0ae5191f0df5bc5600a72118a4ed29fee8a0812fa59b -SIZE (cups-pdf_2.4.1.tar.gz) = 50448 +MD5 (cups-pdf_2.4.2.tar.gz) = 97b21ab9dc98659bfce17da921ee2790 +SHA256 (cups-pdf_2.4.2.tar.gz) = 1c862019d0b81c4477b73c46f13613b7705bc7fc77b9f65cc47a2d9a0b898482 +SIZE (cups-pdf_2.4.2.tar.gz) = 33523 diff --git a/print/cups-pdf/pkg-plist b/print/cups-pdf/pkg-plist index c1bbb5444c4d..8713f9c7d659 100644 --- a/print/cups-pdf/pkg-plist +++ b/print/cups-pdf/pkg-plist @@ -1,5 +1,5 @@ libexec/cups/backend/cups-pdf -share/cups/model/PostscriptColor.ppd.gz +share/cups/model/PostscriptColor.ppd @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 etc/cups/cups-pdf.conf.sample @exec if [ ! -f %D/etc/cups/cups-pdf.conf ] ; then cp -p %D/%F %B/cups-pdf.conf; fi |