Date: Tue, 22 Jan 2002 12:20:02 -0800 (PST) From: Yarema <yds@CoolRat.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/34178: Broken port: pdflib3 is no more supported -> update to pdflib4 Message-ID: <200201222020.g0MKK2G89100@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34178; it has been noted by GNATS. From: Yarema <yds@CoolRat.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Alex Dupre <sysadmin@alexdupre.com>, billf@FreeBSD.org Subject: Re: ports/34178: Broken port: pdflib3 is no more supported -> update to pdflib4 Date: Tue, 22 Jan 2002 15:15:45 -0500 --==========1373970887========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I suggest we simply call this port pdflib instead of pdflib4. Attached is my cleanup of the port submitted as http://www.freebsd.org/cgi/query-pr.cgi?pr=33725 The cleanup mainly consists of sorting pkg-plist and adding %%PERL_VER%%/%%PERL_ARCH%% macros so this port will work on -CURRENT as well as -STABLE. The library version was bumped to .4 since the pdflib3 port had bumped it to .3 already. And some trivial post-install target cleanup. Does the same thing in a more ports like fashion. :) -- Yarema --==========1373970887========== Content-Type: text/plain; charset=us-ascii; name="pdflib.shar"; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pdflib # pdflib/Makefile # pdflib/distinfo # pdflib/files # pdflib/pkg-comment # pdflib/pkg-descr # pdflib/pkg-plist # echo c - pdflib mkdir -p pdflib > /dev/null 2>&1 echo x - pdflib/Makefile sed 's/^X//' >pdflib/Makefile << 'END-of-pdflib/Makefile' X# New ports collection makefile for: pdflib X# Date created: Wed Jan 9 12:27:54 CET 2002 X# Whom: Alex Dupre <sysadmin@alexdupre.com> X# X# $FreeBSD $ X# X XPORTNAME= pdflib XPORTVERSION= 4.0.1 XCATEGORIES= print XMASTER_SITES= http://www.pdflib.com/pdflib/download/ X XMAINTAINER= sysadmin@alexdupre.com X XRESTRICTED= "many odd restrictions on usage and distribution" XINSTALL_SHLIB= yes XUSE_LIBTOOL= yes XCONFIGURE_ARGS= --enable-cxx X Xpost-install: X.if !defined(NOPORTDOCS) X ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-pdflib/Makefile echo x - pdflib/distinfo sed 's/^X//' >pdflib/distinfo << 'END-of-pdflib/distinfo' XMD5 (pdflib-4.0.1.tar.gz) = 92cb24075945c2151b7524bc7e8ef8c3 END-of-pdflib/distinfo echo c - pdflib/files mkdir -p pdflib/files > /dev/null 2>&1 echo x - pdflib/pkg-comment sed 's/^X//' >pdflib/pkg-comment << 'END-of-pdflib/pkg-comment' XA C library for dynamically generating PDF END-of-pdflib/pkg-comment echo x - pdflib/pkg-descr sed 's/^X//' >pdflib/pkg-descr << 'END-of-pdflib/pkg-descr' XPDFlib is a library of C routines which allow you to programmatically Xgenerate files in Adobe's Portable Document Format PDF. PDFlib Xacts as a backend processor to your own programs. While you (the Xprogrammer) are responsible for retrieving or maintaining the data Xto be processed, PDFlib takes over the task of generating the PDF Xcode which graphically represents your data. While you must still Xformat and arrange your text and graphical objects, PDFlib frees Xyou from the internals and intricacies of PDF. Although being far Xfrom complete, PDFlib already offers many useful functions for Xcreating text, graphics, images and hypertext elements in PDF files. X XWWW: http://www.PDFlib.com/ X X- Alex Dupre Xsysadmin@alexdupre.com END-of-pdflib/pkg-descr echo x - pdflib/pkg-plist sed 's/^X//' >pdflib/pkg-plist << 'END-of-pdflib/pkg-plist' Xbin/pdflib-config Xinclude/pdflib.h Xlib/libpdf.a Xlib/libpdf.so Xlib/libpdf.so.4 Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.a Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.pm Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.so Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/pdflib_pl.so.4 X%%PORTDOCS%%share/doc/pdflib/PDFlib-license.pdf X%%PORTDOCS%%share/doc/pdflib/PDFlib-manual.pdf X%%PORTDOCS%%share/doc/pdflib/PDFlib-purchase-order.pdf X%%PORTDOCS%%share/doc/pdflib/aladdin-license.pdf X%%PORTDOCS%%share/doc/pdflib/changes.txt X%%PORTDOCS%%share/doc/pdflib/compatibility.txt X%%PORTDOCS%%share/doc/pdflib/grid.pdf X%%PORTDOCS%%share/doc/pdflib/readme_ebcdic.txt X%%PORTDOCS%%share/doc/pdflib/readme_mac.txt X%%PORTDOCS%%share/doc/pdflib/readme_unix.txt X%%PORTDOCS%%share/doc/pdflib/readme_win.txt X%%PORTDOCS%%@dirrm share/doc/pdflib END-of-pdflib/pkg-plist exit --==========1373970887==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201222020.g0MKK2G89100>