aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-19 07:27:32 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-19 07:27:32 +0000
commitf9039bf4a5c4c037ebb796d5108980b8f8b05f8d (patch)
treef5e3d86e266d6951f6701cdfa26c732b72f0e1a8 /print
parent841a033c8ef04cd52f4ee24cc2d8c891f5c20256 (diff)
downloadports-f9039bf4a5c4c037ebb796d5108980b8f8b05f8d.tar.gz
ports-f9039bf4a5c4c037ebb796d5108980b8f8b05f8d.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-pdf/Makefile10
-rw-r--r--print/cups-pdf/distinfo6
2 files changed, 9 insertions, 7 deletions
diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile
index f74da691c0a9..6ad39ecd2832 100644
--- a/print/cups-pdf/Makefile
+++ b/print/cups-pdf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cups-pdf
-PORTVERSION= 2.2.0
+PORTVERSION= 2.3.1
CATEGORIES= print
MASTER_SITES= http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -33,7 +33,7 @@ SUBST_CMD= -e "s,/usr/bin/gs,${LOCALBASE}/bin/gs," \
.elif ${PDF_VERSION} == 1.4
.elif ${PDF_VERSION} == 1.5
.else
-BROKEN= "unsupported PDF-Version selected: ${PDF_VERSION}"
+BROKEN= Unsupported PDF-Version selected: ${PDF_VERSION}
.endif
SUBST_CMD+= -e 's,CPPDFVER "1.4",CPPDFVER "${PDF_VERSION}",'
.endif
@@ -50,7 +50,7 @@ SUBST_CMD+= -e 's,CPOUT "/var/spool/cups-pdf",CPOUT "${OUTPUT_DIRECTORY}",'
SUBST_CMD+= -e "s,/var/log/cups,${LOG_DIRECTORY},"
.endif
-pre-fetch:
+pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG} ""
@@ -69,9 +69,11 @@ pre-fetch:
@${ECHO_MSG} "LOG_DIRECTORY=<dir> Place logfile into <dir>/cups-pdf_log"
.endif
+post-extract:
+ @${GUNZIP_CMD} ${WRKSRC}/extra/PostscriptColor.ppd.gz
+
post-configure:
@${REINPLACE_CMD} ${SUBST_CMD} ${WRKSRC}/src/cups-pdf.h
- @${GUNZIP_CMD} ${WRKSRC}/extra/PostscriptColor.ppd.gz
do-build:
cd ${WRKSRC}/src; ${CC} ${CFLAGS} -o cups-pdf cups-pdf.c
diff --git a/print/cups-pdf/distinfo b/print/cups-pdf/distinfo
index 0d896d596ae1..a2d258cd11de 100644
--- a/print/cups-pdf/distinfo
+++ b/print/cups-pdf/distinfo
@@ -1,3 +1,3 @@
-MD5 (cups-pdf_2.2.0.tar.gz) = 4954abce27b68f92cbb996ddc0f6ab24
-SHA256 (cups-pdf_2.2.0.tar.gz) = 7431179221d65dcf6359a06954e0e095755321c4b6b3864fad188ffa28318818
-SIZE (cups-pdf_2.2.0.tar.gz) = 22731
+MD5 (cups-pdf_2.3.1.tar.gz) = 16e9b211f2d4729de368a2428be57cfc
+SHA256 (cups-pdf_2.3.1.tar.gz) = 63650bd034e7485bd764edab268bc1ba3b609d44d17c7390f0fba42b46534079
+SIZE (cups-pdf_2.3.1.tar.gz) = 22987