diff options
author | pav <pav@FreeBSD.org> | 2005-01-30 21:37:35 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-01-30 21:37:35 +0800 |
commit | ada3a6f9ff295c048a0ab4ec8f6912215938a27e (patch) | |
tree | 730702508b6188c83bbc5ebc7b687788e2893d2e /print | |
parent | 604c10dcb0675cc8ef9f14efef3ae12efd3f34b6 (diff) | |
download | freebsd-ports-gnome-ada3a6f9ff295c048a0ab4ec8f6912215938a27e.tar.gz freebsd-ports-gnome-ada3a6f9ff295c048a0ab4ec8f6912215938a27e.tar.zst freebsd-ports-gnome-ada3a6f9ff295c048a0ab4ec8f6912215938a27e.zip |
- Update to 1.6.5
PR: ports/76833
Submitted by: Mark Daniel Reidel <ports@mark.reidel.info> (maintainer)
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-pdf/Makefile | 22 | ||||
-rw-r--r-- | print/cups-pdf/distinfo | 4 |
2 files changed, 15 insertions, 11 deletions
diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 909a863cdb19..dbd315e3f1a6 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -6,27 +6,28 @@ # PORTNAME= cups-pdf -PORTVERSION= 1.4.2 +PORTVERSION= 1.6.5 CATEGORIES= print MASTER_SITES= http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/ -DISTNAME= ${PORTNAME}_${PORTVERSION}a +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@mark.reidel.info COMMENT= A virtual printer for CUPS to produce PDF files RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}a +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include <bsd.port.pre.mk> -GNU_CONFIGURE= yes USE_REINPLACE= yes USE_GHOSTSCRIPT_RUN= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS+= --with-backenddir=${LOCALBASE}/libexec/cups/backend -SUBST_CMD= -e "s,/usr/bin/gs,${LOCALBASE}/bin/gs," +SUBST_CMD= -e "s,/usr/bin/gs,${LOCALBASE}/bin/gs," \ + -e 's,-s /bin/sh,,' \ + -e 's,/bin/su,/usr/bin/su,' \ + -e 's,"lp","daemon",' \ + -e 's,/var/spool/cups-pdf/SPOOL,/var/spool/cups-pdf,' .ifdef(PDF_VERSION) .if ${PDF_VERSION} == 1.2 @@ -40,10 +41,10 @@ SUBST_CMD+= -e 's,CPPDFVER "1.4",CPPDFVER "${PDF_VERSION}",' .endif .ifdef(HOME_SUBDIR) -SUBST_CMD+= -e 's,/var/spool/cups-pdf,$$HOME,' -e 's,CPHOMESUB "cups-pdf",CPHOMESUB "${HOME_SUBDIR}",' +SUBST_CMD+= -e 's,CPOUT "/var/spool/cups-pdf",CPOUT "$$HOME",' -e 's,CPHOMESUB "cups-pdf",CPHOMESUB "${HOME_SUBDIR}",' .else .ifdef(OUTPUT_DIRECTORY) -SUBST_CMD+= -e "s,/var/spool/cups-pdf,${OUTPUT_DIRECTORY}," +SUBST_CMD+= -e 's,CPOUT "/var/spool/cups-pdf",CPOUT "${OUTPUT_DIRECTORY}",' .endif .endif @@ -74,6 +75,9 @@ post-configure: @${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/src/cups-pdf.h @${GUNZIP_CMD} ${WRKSRC}/extra/PostscriptColor.ppd.gz +do-build: + cd ${WRKSRC}/src; gcc ${CFLAGS} -o cups-pdf cups-pdf.c + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf ${LOCALBASE}/libexec/cups/backend ${INSTALL_DATA} ${WRKSRC}/extra/PostscriptColor.ppd ${LOCALBASE}/share/cups/model diff --git a/print/cups-pdf/distinfo b/print/cups-pdf/distinfo index 9d102bcb9da6..2704181720d4 100644 --- a/print/cups-pdf/distinfo +++ b/print/cups-pdf/distinfo @@ -1,2 +1,2 @@ -MD5 (cups-pdf_1.4.2a.tar.gz) = 39a207ad22ce1d1b3cae7ee853c53b7f -SIZE (cups-pdf_1.4.2a.tar.gz) = 114018 +MD5 (cups-pdf_1.6.5.tar.gz) = 5b5aba6fc29836aabab5268d8f1d2c91 +SIZE (cups-pdf_1.6.5.tar.gz) = 16506 |