From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 29 05:40:12 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A143216A4CE for ; Mon, 29 Mar 2004 05:40:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932AF43D2D for ; Mon, 29 Mar 2004 05:40:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2TDeCbv030718 for ; Mon, 29 Mar 2004 05:40:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2TDeCaf030717; Mon, 29 Mar 2004 05:40:12 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Mar 2004 05:40:12 -0800 (PST) Message-Id: <200403291340.i2TDeCaf030717@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Patrick Dung" Subject: Re: ports/64555: New port:print/pdftk, A tool to do everyday things with PDF X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Patrick Dung List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 13:40:12 -0000 The following reply was made to PR ports/64555; it has been noted by GNATS. From: "Patrick Dung" To: 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 ------=_NextPart_000_0003_01C415D5.8B2B61F0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
The following is the Makefile for pdftk = 0.94.
 
# Ports collection makefile for: pdftk
# = Date=20 created:   18 March, 2004
#=20 Whom:    Patrick Dung (patrick_dkt@yahoo.com.hk)#
#=20 $FreeBSD$
#
 
PORTNAME=3D pdftk
PORTVERSION=3D 0.94
CATEGORIES= =3D print
MASTER_SITES=3D http://www.accesspdf.com/pdftk/<= /A>
 
MAINTAINER=3D patrick_dkt@yahoo.com.hk
= COMMENT=3D A=20 simple tool for doing everyday things with PDF documents
 
BUILD_DEPENDS=3D ${LOCALBASE}/bin/gcc33:${PORTSDIR}/lang/gc= c33
RUN_DEPENDS=3D ${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/con= verters/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&= nbsp;${WRKSRC}/${PORTNAME}
 
MAKEFILE=3D Makefile.Generic
 
MAN1=3D ${PORTNAME}.1
 
post-extract:
 
 @${REINPLACE_CMD} -e \
 "s|CC_OPTS = \+\=3D|CC_OPTS=20 \+\=3D ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz |g"=20 \
 ${WRKSRC}/${PORTNAME}/Makefile.Base
 
 @${REINPLACE_CMD} -e "s|g\+\+|${CXX}|g"=20 ${WRKSRC}/${PORTNAME}/Makefile.Generic
 
 @${REINPLACE_CMD} -e "s|GCJ=3D gcj|GCJ=3D=20 gcj${USE_GCC:S/.//}|" = ${WRKSRC}/itext-1.1/Makefile
 @${REINPLACE_CMD} -e=20 "s|GCJH=3D gcjh|GCJH=3D gcjh${USE_GCC:S/.//}|"=20 ${WRKSRC}/itext-1.1/Makefile
 
do-install:
 ${INSTALL_PROGRAM}=20 ${WRKSRC}/${PORTNAME}/${PORTNAME} ${PREFIX}/bin
 ${INSTALL_MAN}=20 ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
 
.include = <bsd.port.mk>
------=_NextPart_000_0003_01C415D5.8B2B61F0--