ports/71389: Port update (pdftk)
Patrick Dung
patrick_dkt at yahoo.com.hk
Mon Sep 6 17:00:58 UTC 2004
The following reply was made to PR ports/71389; it has been noted by GNATS.
From: =?big5?q?Patrick=20Dung?= <patrick_dkt at yahoo.com.hk>
To: freebsd-gnats-submit at FreeBSD.org, linimon at freebsd.org,
freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: Re: ports/71389: Port update (pdftk)
Date: Tue, 7 Sep 2004 01:00:38 +0800 (CST)
--0-1126340517-1094490038=:65537
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 8bit
Content-Id:
Content-Disposition: inline
OK.
Attached is the diff file for the patch.
_________________________________________________________
¥²±þ§Þ¡B¶¼ºq¡B¤p¬P¬P...
®öº©¹aÁn ±¡¤ß³sô
http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/
--0-1126340517-1094490038=:65537
Content-Type: text/plain; name="Makefile.patch"
Content-Description: Makefile.patch
Content-Disposition: inline; filename="Makefile.patch"
--- Makefile.orig 2004-09-06 19:21:32.000000000 +0800
+++ Makefile 2004-09-06 19:21:49.000000000 +0800
@@ -6,10 +6,10 @@
#
PORTNAME= pdftk
-PORTVERSION= 0.94.1
+PORTVERSION= 1.00
CATEGORIES= print
MASTER_SITES= http://www.accesspdf.com/pdftk/
-DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}\.${PORTVERSION:E}
MAINTAINER= patrick_dkt at yahoo.com.hk
COMMENT= A simple tool for doing everyday things with PDF documents
@@ -34,10 +34,9 @@
PLIST_FILES= bin/pdftk
post-extract:
- @${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
-
+ @${REINPLACE_CMD} -e "s|TOOLPATH\=|TOOLPATH\=\/usr\/local\/bin\/|g" ${WRKSRC}/Makefile.Generic
+ @${REINPLACE_CMD} -e "s|VERSUFF\=|VERSUFF\=33|g" ${WRKSRC}/Makefile.Generic
+ @${REINPLACE_CMD} -e "s|CXXFLAGS\= -lgcj|CXXFLAGS\= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Generic
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../debian/${PORTNAME}.1 ${PREFIX}/man/man1
--0-1126340517-1094490038=:65537--
More information about the freebsd-ports-bugs
mailing list