aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-05-19 15:27:32 +0800
committeritetcu <itetcu@FreeBSD.org>2006-05-19 15:27:32 +0800
commit7452dcb5c12393c23965e2ed23e7c2ac37dac369 (patch)
treeee0f20083ddcc57ff86426f58aef77795c5920d8
parenta059e49477eb66ab0db3978a6e0616c4710df665 (diff)
downloadfreebsd-ports-gnome-7452dcb5c12393c23965e2ed23e7c2ac37dac369.tar.gz
freebsd-ports-gnome-7452dcb5c12393c23965e2ed23e7c2ac37dac369.tar.zst
freebsd-ports-gnome-7452dcb5c12393c23965e2ed23e7c2ac37dac369.zip
- update to 2.3.1 [1]
- portlint PR: ports/97447 Submitted by: Martin Wilke <freebsd@unixfreunde.de> [1] Approved by: maintainer (via private email), lawrance (mentor)
-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