Date: Sat, 17 Oct 2009 21:38:27 -0300 (BRT) From: Sylvio Cesar <scjamorim@bsd.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/139712: [PATCH] astro/spacechart: Added pkg-plist into of Makefile. Message-ID: <20091018003827.92AA83F5FBB@fbsd.scjamorim.org> Resent-Message-ID: <200910180040.n9I0e020009935@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139712 >Category: ports >Synopsis: [PATCH] astro/spacechart: Added pkg-plist into of Makefile. >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: Sun Oct 18 00:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sylvio Cesar >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD fbsd.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Oct 10 21:33:17 BRT 2009 >Description: - Added pkg-plist to Makefile - Added PLIST_FILES to Makefile Removed file(s): - pkg-plist Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- spacechart-0.9.4_8.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/astro/spacechart/Makefile,v retrieving revision 1.22 diff -u -u -r1.22 Makefile --- Makefile 31 Jul 2009 13:48:46 -0000 1.22 +++ Makefile 18 Oct 2009 00:35:22 -0000 @@ -19,10 +19,19 @@ USE_GNOME= gnomelibs CONFIGURE_ARGS= --without-included-gettext --datadir=${PREFIX}/share +PORTDOCS= README coordinates.txt + +PLIST_FILES= bin/spacechart \ + etc/sample-spacechartrc \ + etc/spacechartrc \ + share/locale/es/LC_MESSAGES/spacechart.mo \ + share/spacechart/gliese.dat + # trick it into using ports installed gettext post-patch: @${REINPLACE_CMD} -e 's|\(INTLLIBS =\).*$$|\1-I${LOCALBASE}/lib -lintl|' \ ${WRKSRC}/src/Makefile.in + ${CP} ${WRKSRC}/doc/coordinates.txt ${WRKSRC} pre-build: @${RM} -Rf ${WRKSRC}/intl @@ -31,8 +40,9 @@ @${INSTALL_DATA} ${WRKSRC}/doc/sample-spacechartrc ${PREFIX}/etc .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/coordinates.txt \ - ${WRKSRC}/README ${DOCSDIR} +.for docs in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 21 Oct 2003 11:17:08 -0000 1.4 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,9 +0,0 @@ -bin/spacechart -etc/sample-spacechartrc -etc/spacechartrc -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/coordinates.txt -share/locale/es/LC_MESSAGES/spacechart.mo -share/spacechart/gliese.dat -@dirrm share/spacechart -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- spacechart-0.9.4_8.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?20091018003827.92AA83F5FBB>