diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2001-11-06 09:34:14 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2001-11-06 09:34:14 +0000 |
commit | 261b08302b4371d58ad27e2a605446b2e3e32a26 (patch) | |
tree | 2f21bc3339f79f1f91592f40973d463be3f0a460 /games/gtkballs/Makefile | |
parent | e3f7d44b3537e340113002f7b5b2a1c8f76bebf3 (diff) | |
download | ports-261b08302b4371d58ad27e2a605446b2e3e32a26.tar.gz ports-261b08302b4371d58ad27e2a605446b2e3e32a26.zip |
Notes
Diffstat (limited to 'games/gtkballs/Makefile')
-rw-r--r-- | games/gtkballs/Makefile | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile index 9d692b94e5e0..aa76b491ca91 100644 --- a/games/gtkballs/Makefile +++ b/games/gtkballs/Makefile @@ -6,30 +6,32 @@ # PORTNAME= gtkballs -PORTVERSION= 1.04 +PORTVERSION= 2.0.1 CATEGORIES= games -MASTER_SITES= http://gtkballs.antex.ru/dist/ \ - ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= games/strategy +MASTER_SITES= http://gtkballs.antex.ru/dist/ MAINTAINER= ports@FreeBSD.org USE_GTK= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=${DATADIR} -MAN6= gtkballs.6 +MAN6= gtkballs.6x -do-install: - ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/gtkballs ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/gtkballs.6 ${PREFIX}/man/man6 - @${MKDIR} ${PREFIX}/share/gtkballs - ${INSTALL_DATA} ${WRKSRC}/gtkballs-data/*.xpm ${PREFIX}/share/gtkballs - ${INSTALL_DATA} ${WRKSRC}/score ${PREFIX}/share/gtkballs/score - @${CHMOD} g+rw ${PREFIX}/share/gtkballs/score - @${CHOWN} root:games ${PREFIX}/share/gtkballs/score +post-patch: + @${PERL} -pi -e 's|^install-data-local|#install-data-local|g' \ + ${WRKSRC}/Makefile.in + +post-install: + ${CHMOD} 2755 ${PREFIX}/bin/gtkballs + ${CHOWN} root:games ${PREFIX}/bin/gtkballs + ${CHMOD} 0666 ${DATADIR}/gtkballs-scores + ${CHOWN} root:games ${DATADIR}/gtkballs-scores .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/gtkballs + @${MKDIR} ${DOCSDIR} .for file in README README.russian TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gtkballs + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif |