Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 05:40:12 -0800 (PST)
From:      "Patrick Dung" <patrick_dkt@yahoo.com.hk>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/64555: New port:print/pdftk, A tool to do everyday things with PDF
Message-ID:  <200403291340.i2TDeCaf030717@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/64555; it has been noted by GNATS.

From: "Patrick Dung" <patrick_dkt@yahoo.com.hk>
To: <freebsd-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/64555: New port:print/pdftk, A tool to do everyday things with PDF
Date: Mon, 29 Mar 2004 21:33:58 +0800

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0003_01C415D5.8B2B61F0
 Content-Type: text/plain;
 	charset="big5"
 Content-Transfer-Encoding: quoted-printable
 
 The following is the Makefile for pdftk 0.94.
 
 # Ports collection makefile for: pdftk
 # Date created:   18 March, 2004
 # Whom:    Patrick Dung (patrick_dkt@yahoo.com.hk)
 #
 # $FreeBSD$
 #
 
 PORTNAME=3D pdftk
 PORTVERSION=3D 0.94
 CATEGORIES=3D print
 MASTER_SITES=3D http://www.accesspdf.com/pdftk/
 
 MAINTAINER=3D patrick_dkt@yahoo.com.hk
 COMMENT=3D A simple tool for doing everyday things with PDF documents
 
 BUILD_DEPENDS=3D ${LOCALBASE}/bin/gcc33:${PORTSDIR}/lang/gcc33
 RUN_DEPENDS=3D =
 ${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/converters/libiconv
 
 USE_GCC=3D 3.3
 
 USE_GMAKE=3D yes
 USE_ICONV=3D yes
 USE_REINPLACE=3D yes
 
 BUILD_WRKSRC=3D ${WRKSRC}/${PORTNAME}
 INSTALL_WRKSRC=3D ${WRKSRC}/${PORTNAME}
 
 MAKEFILE=3D Makefile.Generic
 
 MAN1=3D ${PORTNAME}.1
 
 post-extract:
 
  @${REINPLACE_CMD} -e \
  "s|CC_OPTS \+\=3D|CC_OPTS \+\=3D ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} =
 -liconv -lz |g" \
  ${WRKSRC}/${PORTNAME}/Makefile.Base
 
  @${REINPLACE_CMD} -e "s|g\+\+|${CXX}|g" =
 ${WRKSRC}/${PORTNAME}/Makefile.Generic
 
  @${REINPLACE_CMD} -e "s|GCJ=3D gcj|GCJ=3D gcj${USE_GCC:S/.//}|" =
 ${WRKSRC}/itext-1.1/Makefile
  @${REINPLACE_CMD} -e "s|GCJH=3D gcjh|GCJH=3D gcjh${USE_GCC:S/.//}|" =
 ${WRKSRC}/itext-1.1/Makefile
 
 do-install:
  ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} ${PREFIX}/bin
  ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>
 ------=_NextPart_000_0003_01C415D5.8B2B61F0
 Content-Type: text/html;
 	charset="big5"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
 <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT size=3D2>The following is the Makefile for pdftk =
 0.94.</FONT></DIV>
 <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT size=3D2># Ports collection makefile for:&nbsp;pdftk<BR># =
 Date=20
 created:&nbsp;&nbsp;&nbsp;18 March, 2004<BR>#=20
 Whom:&nbsp;&nbsp;&nbsp;&nbsp;Patrick Dung (<A=20
 href=3D"mailto:patrick_dkt@yahoo.com.hk">patrick_dkt@yahoo.com.hk</A>)<BR=
 >#<BR>#=20
 $FreeBSD$<BR>#</FONT></DIV>
 <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT=20
 size=3D2>PORTNAME=3D&nbsp;pdftk<BR>PORTVERSION=3D&nbsp;0.94<BR>CATEGORIES=
 =3D&nbsp;print<BR>MASTER_SITES=3D&nbsp;<A=20
 href=3D"http://www.accesspdf.com/pdftk/">http://www.accesspdf.com/pdftk/<=
 /A></FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>MAINTAINER=3D&nbsp;<A=20
 href=3D"mailto:patrick_dkt@yahoo.com.hk">patrick_dkt@yahoo.com.hk</A><BR>=
 COMMENT=3D&nbsp;A=20
 simple tool for doing everyday things with PDF documents</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT=20
 size=3D2>BUILD_DEPENDS=3D&nbsp;${LOCALBASE}/bin/gcc33:${PORTSDIR}/lang/gc=
 c33<BR>RUN_DEPENDS=3D&nbsp;${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/con=
 verters/libiconv</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>USE_GCC=3D&nbsp;3.3</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT=20
 size=3D2>USE_GMAKE=3D&nbsp;yes<BR>USE_ICONV=3D&nbsp;yes<BR>USE_REINPLACE=3D=
 &nbsp;yes</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT=20
 size=3D2>BUILD_WRKSRC=3D&nbsp;${WRKSRC}/${PORTNAME}<BR>INSTALL_WRKSRC=3D&=
 nbsp;${WRKSRC}/${PORTNAME}</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>MAKEFILE=3D&nbsp;Makefile.Generic</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>MAN1=3D&nbsp;${PORTNAME}.1</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>post-extract:</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>&nbsp;@${REINPLACE_CMD} -e \<BR>&nbsp;"s|CC_OPTS =
 \+\=3D|CC_OPTS=20
 \+\=3D ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz |g"=20
 \<BR>&nbsp;${WRKSRC}/${PORTNAME}/Makefile.Base</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>&nbsp;@${REINPLACE_CMD} -e "s|g\+\+|${CXX}|g"=20
 ${WRKSRC}/${PORTNAME}/Makefile.Generic</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>&nbsp;@${REINPLACE_CMD} -e "s|GCJ=3D gcj|GCJ=3D=20
 gcj${USE_GCC:S/.//}|" =
 ${WRKSRC}/itext-1.1/Makefile<BR>&nbsp;@${REINPLACE_CMD} -e=20
 "s|GCJH=3D gcjh|GCJH=3D gcjh${USE_GCC:S/.//}|"=20
 ${WRKSRC}/itext-1.1/Makefile</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>do-install:<BR>&nbsp;${INSTALL_PROGRAM}=20
 ${WRKSRC}/${PORTNAME}/${PORTNAME} ${PREFIX}/bin<BR>&nbsp;${INSTALL_MAN}=20
 ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>.include =
 &lt;bsd.port.mk&gt;</FONT></DIV></BODY></HTML>
 
 ------=_NextPart_000_0003_01C415D5.8B2B61F0--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403291340.i2TDeCaf030717>