Date: Sat, 12 Aug 2006 17:21:35 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/101902: [PATCH] chinese/bg5pdf: Respect DESTDIR, portlint fix Message-ID: <20060812092135.E7C9B3B7@netnews.NCTU.edu.tw> Resent-Message-ID: <200608120930.k7C9UFbf093684@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101902 >Category: ports >Synopsis: [PATCH] chinese/bg5pdf: Respect DESTDIR, portlint fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 12 09:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Respect DESTDIR - portlint fix Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- bg5pdf-1.0.0_4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/Makefile /home/staff/gslin/work/ports/bg5pdf/Makefile --- /usr/ports/chinese/bg5pdf/Makefile Thu May 4 07:38:30 2006 +++ /home/staff/gslin/work/ports/bg5pdf/Makefile Sat Aug 12 17:20:48 2006 @@ -17,9 +17,9 @@ LIB_DEPENDS= pdf.7:${PORTSDIR}/print/pdflib +CFLAGS+= -fPIC USE_PYTHON= yes WRKSRC= ${WRKDIR}/${PORTNAME} -CFLAGS+= -fPIC post-patch: ${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \ @@ -27,8 +27,8 @@ do-install: @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${TARGETDIR}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${TARGETDIR}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/test.big5 ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${EXAMPLESDIR} diff -ruN --exclude=CVS /usr/ports/chinese/bg5pdf/pkg-plist /home/staff/gslin/work/ports/bg5pdf/pkg-plist --- /usr/ports/chinese/bg5pdf/pkg-plist Fri Jul 5 02:34:31 2002 +++ /home/staff/gslin/work/ports/bg5pdf/pkg-plist Sat Aug 12 17:20:26 2006 @@ -1,7 +1,8 @@ +@comment $FreeBSD$ +%%EXAMPLESDIR%%/genTest.py +%%EXAMPLESDIR%%/test.big5 +%%EXAMPLESDIR%%/test.big5.pdf +%%PYTHON_SITELIBDIR%%/bg5pdflib.so bin/bg5pdf bin/gbpdf -lib/%%PYTHON_VERSION%%/site-packages/bg5pdflib.so -share/examples/bg5pdf/test.big5 -share/examples/bg5pdf/test.big5.pdf -share/examples/bg5pdf/genTest.py -@dirrm share/examples/bg5pdf +@dirrm %%EXAMPLESDIR%% --- bg5pdf-1.0.0_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812092135.E7C9B3B7>