Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 17:57:11 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        billf@FreeBSD.org
Subject:   ports/49964: [patch] Resurrect print/pdflib3
Message-ID:  <200303121657.h2CGvBJx084459@menelaos.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help

>Number:         49964
>Category:       ports
>Synopsis:       [patch] Resurrect print/pdflib3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 09:00:26 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.7-STABLE FreeBSD 4.7-STABLE #2: Fri Feb 7 12:48:00 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/src/sys/compile/MENELAOS i386


>Description:
Resurrect pdflib3 from a stable source as a source RPM
>How-To-Repeat:
>Fix:
diff -urN pdflib3.orig/Makefile pdflib3/Makefile
--- pdflib3.orig/Makefile	Fri Mar  7 07:09:06 2003
+++ pdflib3/Makefile	Wed Mar 12 17:41:58 2003
@@ -8,13 +8,13 @@
 PORTNAME=	pdflib
 PORTVERSION=	3.03
 CATEGORIES=	print
-MASTER_SITES=	http://www.pdflib.com/pdflib/download/
+MASTER_SITES=	ftp://ftp.rpmfind.net/linux/linuxPPC/contrib/sources/Applications/Publishing/
+DISTFILES=	${DISTNAME}-1.src.rpm
 
 MAINTAINER=	billf@FreeBSD.org
 COMMENT=	A C library for dynamically generating PDF
 
-BROKEN=		"Distfile has disappeared"
-
+BUILD_DEPENDS=	rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
 RUN_DEPENDS=	${LOCALBASE}/lib/afm/Courier:${PORTSDIR}/print/afm
 LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
 		png.5:${PORTSDIR}/graphics/png
@@ -28,6 +28,11 @@
 		--enable-shared-pdflib \
 		--enable-cxx \
 		--with-zlib=/usr
+
+do-extract:
+	${MKDIR} ${WRKDIR}
+	cd ${WRKDIR} && rpm2cpio ${DISTDIR}/${DISTFILES} | cpio -i
+	cd ${WRKDIR} && ${TAR} zxf ${DISTNAME}.tar.gz
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/pdflib/.libs/libpdf.so.3 ${PREFIX}/lib
diff -urN pdflib3.orig/distinfo pdflib3/distinfo
--- pdflib3.orig/distinfo	Sun Mar 11 01:47:19 2001
+++ pdflib3/distinfo	Wed Mar 12 17:28:03 2003
@@ -1 +1 @@
-MD5 (pdflib-3.03.tar.gz) = 693c76acb8881b554992786e81ada91b
+MD5 (pdflib-3.03-1.src.rpm) = 6fea7f5e390735a61fcc068ba30b23d3
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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