ports/139618: [PATCH] games/gturing: Added support to gettext, changed pkg-plist. Take maintainership.
Sylvio Cesar
scjamorim at bsd.com.br
Wed Oct 14 23:30:03 UTC 2009
>Number: 139618
>Category: ports
>Synopsis: [PATCH] games/gturing: Added support to gettext, changed pkg-plist. Take maintainership.
>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: Wed Oct 14 23:30:02 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 support to gettext
- Changed form how install the docs and examples
- Changed pkg-plist
- Take maintainership.
You can see the log in my tinderbox:
AMD64
http://www.scjamorim.org/Home/gturing-0.1.1_14-6amd64.log
http://www.scjamorim.org/Home/gturing-0.1.1_14-7amd64.log
http://www.scjamorim.org/Home/gturing-0.1.1_14-8amd64.log
http://www.scjamorim.org/Home/gturing-0.1.1_14-9amd64.log
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- gturing-0.1.1_14.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/gturing/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile 2 Aug 2009 19:33:50 -0000 1.27
+++ Makefile 14 Oct 2009 23:16:34 -0000
@@ -11,38 +11,34 @@
CATEGORIES= games gnome
MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/gturing/0.1/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= scjamorim at bsd.com.br
COMMENT= A simple turing machine simulator for GNOME 2
USE_GNOME= gnomeprefix gnomehack libgnomeui
USE_GMAKE= yes
+USE_GETTEXT= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
INSTALLS_OMF= yes
-DOCS= AUTHORS COPYING NEWS ChangeLog TODO README INSTALL
-
-EXAMPLEDIR= ${PREFIX}/share/examples/gturing
-
-EXAMPLES= 3ones2zeroes.tur add.tur bb3.tur dashnumbers.tur addbin.tur \
- bb5.tur dec2bin.tur dec2bin_shift.tur bb2.tur bin2dec.tur \
- bin2dec_shift.tur sort.tur subst.tur
+PORTDOCS= AUTHORS COPYING NEWS ChangeLog TODO README INSTALL
+PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
-
post-install:
- ${INSTALL} -d -o root -g wheel -m 0755 ${EXAMPLEDIR}
-.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/tapes/${f} ${EXAMPLEDIR}
-.endfor
.if !defined(NOPORTDOCS)
- ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tapes/* ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/games/gturing/pkg-plist,v
retrieving revision 1.6
diff -u -u -r1.6 pkg-plist
--- pkg-plist 24 Oct 2007 23:35:46 -0000 1.6
+++ pkg-plist 14 Oct 2009 23:16:34 -0000
@@ -1,24 +1,4 @@
bin/gturing
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%EXAMPLESDIR%%/3ones2zeroes.tur
-%%EXAMPLESDIR%%/add.tur
-%%EXAMPLESDIR%%/addbin.tur
-%%EXAMPLESDIR%%/bb2.tur
-%%EXAMPLESDIR%%/bb3.tur
-%%EXAMPLESDIR%%/bb5.tur
-%%EXAMPLESDIR%%/bin2dec.tur
-%%EXAMPLESDIR%%/bin2dec_shift.tur
-%%EXAMPLESDIR%%/dashnumbers.tur
-%%EXAMPLESDIR%%/dec2bin.tur
-%%EXAMPLESDIR%%/dec2bin_shift.tur
-%%EXAMPLESDIR%%/sort.tur
-%%EXAMPLESDIR%%/subst.tur
share/applications/gturing.desktop
share/gnome/help/gturing/C/figures/mainwin.png
share/gnome/help/gturing/C/gturing.xml
@@ -65,6 +45,4 @@
@dirrm share/gnome/help/gturing/C/figures
@dirrm share/gnome/help/gturing/C
@dirrm share/gnome/help/gturing
- at dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry share/applications
--- gturing-0.1.1_14.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list