ports/69419: print/pdftk: update to 0.941

Patrick Dung patrick_dkt at yahoo.com.hk
Thu Jul 22 08:40:24 UTC 2004


>Number:         69419
>Category:       ports
>Synopsis:       print/pdftk: update to 0.941
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 08:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Dung
>Release:        FreeBSD -current
>Organization:
N/A
>Environment:
FreeBSD piii.nodomain 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat July 17 22:52:21 HKT 2004     root at piii.nodomain:/usr/src/sys/i386/compile/17072004.cvs  i386
>Description:
Update to 0.941

Changes:
Upgrade from 0.94 to 0.941
Author of pdftk now uses CXXFLAGS instead of CC_OPTS
Fix a problem with make deinstall or pkg_delete (I had
used both PLIST_FILES and pkg-plist)

The attached patch has only tested on FreeBSD-current, not FreeBSD -stable.
>How-To-Repeat:
      N/A
>Fix:
--- ./Makefile.orig	Tue May 11 15:56:46 2004
+++ ./Makefile	Mon Jul 19 00:11:32 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pdftk
-PORTVERSION=	0.94
+PORTVERSION=	0.941
 CATEGORIES=	print
 MASTER_SITES=	http://www.accesspdf.com/pdftk/
 
@@ -30,10 +30,9 @@
 MAKE_ENV=	CXX=g++33 GCJ=gcj33 GCJH=gcjh33
 
 MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/pdftk
 
 post-extract:
-	@${REINPLACE_CMD} -e "s|CC_OPTS \+\=|CC_OPTS \+\= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Base
+	@${REINPLACE_CMD} -e "s|CXXFLAGS \+\=|CXXFLAGS \+\= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Base
 	@${REINPLACE_CMD} -e "s|g\+\+|g\+\+33|g" ${WRKSRC}/Makefile.Generic
 	@${REINPLACE_CMD} -e "s|MAKE)|MAKE) GXX=g++33 GCJ=gcj33 GCJH=gcjh33| " ${WRKSRC}/Makefile.Base
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list