summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 f74da69..6ad39ec 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 0d896d5..a2d258c 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
OpenPOWER on IntegriCloud