ports/106015: [PATCH] games/xtet42: Respect X11BASE, move to LOCALBASE
Rong-En Fan
rafan at FreeBSD.org
Wed Nov 29 14:00:34 UTC 2006
>Number: 106015
>Category: ports
>Synopsis: [PATCH] games/xtet42: Respect X11BASE, move to LOCALBASE
>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 Nov 29 14:00:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Rong-En Fan
>Release: FreeBSD 6.2-PRERELEASE amd64
>Organization:
NTU CSIE
>Environment:
>Description:
- Respect X11BASE by using GNU_CONFIGURE, which will set correct
X11 path for configure.
- Move to LOCALBASE
- Install stuffs into DATADIR
- Use MANPREFIX
Port maintainer (gmarco at gufi.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- xtet42-2.21_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/games/xtet42/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile 3 Nov 2006 22:23:51 -0000 1.10
+++ Makefile 29 Nov 2006 13:56:40 -0000
@@ -7,27 +7,28 @@
PORTNAME= xtet42
PORTVERSION= 2.21
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/
+MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/
MAINTAINER= gmarco at gufi.org
COMMENT= A one or two player t*tris game
-USE_X_PREFIX= yes
-HAS_CONFIGURE= yes
+USE_XLIB= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-setgid=games
MAN6= xtet42.6
do-install:
- ${MKDIR} ${PREFIX}/lib/X11/xtet42
- @${CHOWN} root:games ${PREFIX}/lib/X11/xtet42
- @${CHMOD} 775 ${PREFIX}/lib/X11/xtet42
+ ${MKDIR} ${DATADIR}
+ @${CHOWN} root:games ${DATADIR}
+ @${CHMOD} 775 ${DATADIR}
${INSTALL} -c -m 2755 -g games ${WRKSRC}/xtet42 ${PREFIX}/bin
- ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore
- ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore.single ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore.single
- ${INSTALL} -c -m 664 -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.unlock
- ${INSTALL} -c -m 664 -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.log
- ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${PREFIX}/man/man6
+ ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore ${DATADIR}/.xtet42.hiscore
+ ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore.single ${DATADIR}/.xtet42.hiscore.single
+ ${INSTALL} -c -m 664 -g games /dev/null ${DATADIR}/.xtet42.unlock
+ ${INSTALL} -c -m 664 -g games /dev/null ${DATADIR}/.xtet42.log
+ ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${MANPREFIX}/man/man6
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /big/freebsd-cvsup/ncvs/ports/games/xtet42/pkg-plist,v
retrieving revision 1.1.1.1
diff -u -u -r1.1.1.1 pkg-plist
--- pkg-plist 19 Apr 1999 04:21:27 -0000 1.1.1.1
+++ pkg-plist 29 Nov 2006 13:56:40 -0000
@@ -1,6 +1,6 @@
bin/xtet42
-lib/X11/xtet42/.xtet42.hiscore.single
-lib/X11/xtet42/.xtet42.hiscore
-lib/X11/xtet42/.xtet42.unlock
-lib/X11/xtet42/.xtet42.log
- at dirrm lib/X11/xtet42
+%%DATADIR%%/.xtet42.hiscore.single
+%%DATADIR%%/.xtet42.hiscore
+%%DATADIR%%/.xtet42.unlock
+%%DATADIR%%/.xtet42.log
+ at dirrm %%DATADIR%%
--- xtet42-2.21_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list