aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-05-23 18:50:31 +0800
committermiwi <miwi@FreeBSD.org>2014-05-23 18:50:31 +0800
commit817172d205d61fa651243f754d0b5e802abe8b58 (patch)
tree94bf6774f8878fec140bdfda6f47068970880693 /games
parent9b67b3c5141104ac2ff2165cdc0dfb9d6093c684 (diff)
downloadfreebsd-ports-gnome-817172d205d61fa651243f754d0b5e802abe8b58.tar.gz
freebsd-ports-gnome-817172d205d61fa651243f754d0b5e802abe8b58.tar.zst
freebsd-ports-gnome-817172d205d61fa651243f754d0b5e802abe8b58.zip
- Stage support
- Convert gmake to USES
Diffstat (limited to 'games')
-rw-r--r--games/foobillard/Makefile7
-rw-r--r--games/foobillard/pkg-plist1
2 files changed, 3 insertions, 5 deletions
diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile
index bd626aec5954..85836c5dd08b 100644
--- a/games/foobillard/Makefile
+++ b/games/foobillard/Makefile
@@ -17,12 +17,11 @@ OPTIONS_DEFINE= SDL NVIDIA_BUMPREF
SDL_DESC= SDL instead of glut
NVIDIA_BUMPREF_DESC= NVidia extensions
-NO_STAGE= yes
.include <bsd.port.options.mk>
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USE_GMAKE= yes
+USES= gmake
GNU_CONFIGURE= yes
USE_XORG= xaw ice
@@ -48,13 +47,11 @@ CONFIGURE_ARGS+= --enable-glut
CONFIGURE_ARGS+= --disable-nvidia
.endif
-MAN6= foobillard.6
-
post-patch:
@${REINPLACE_CMD} -e 's|%%FREETYPE_CONFIG%%|${FREETYPE_CONFIG}|g' \
${WRKSRC}/src/Makefile.in
post-install:
- @${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${MAN6PREFIX}/man/man6/foobillard.6
+ @${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${STAGEDIR}${PREFIX}/man/man6/foobillard.6
.include <bsd.port.mk>
diff --git a/games/foobillard/pkg-plist b/games/foobillard/pkg-plist
index e33d1911ee8b..9c8488ec6605 100644
--- a/games/foobillard/pkg-plist
+++ b/games/foobillard/pkg-plist
@@ -31,4 +31,5 @@ bin/foobillard
%%DATADIR%%/tabletex_fB_128x128.png
%%DATADIR%%/tabletex_fB_256x256.png
%%DATADIR%%/youregon.ttf
+man/man6/foobillard.6.gz
@dirrm %%DATADIR%%