- Respect X11BASE
- Move to LOCALBASE - Use MANPREFIX PR: 106015 Submitted by: rafan Approved by: Gianmarco Giovannelli <gmarco at gufi.org> (maintainer)
This commit is contained in:
parent
198caae137
commit
7c09c2c461
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178563
2 changed files with 21 additions and 16 deletions
|
@ -7,27 +7,32 @@
|
|||
|
||||
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@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
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,^hiscoredir.*,hiscoredir=${DATADIR},' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
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>
|
||||
|
|
|
@ -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
|
||||
@dirrm lib/X11/xtet42
|
||||
%%DATADIR%%/.xtet42.hiscore.single
|
||||
%%DATADIR%%/.xtet42.hiscore
|
||||
%%DATADIR%%/.xtet42.unlock
|
||||
%%DATADIR%%/.xtet42.log
|
||||
@dirrm %%DATADIR%%
|
||||
|
|
Loading…
Reference in a new issue