diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-16 08:57:15 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-16 08:57:15 +0800 |
commit | 5a968e7468b134288f48198cb19c62ff9aa10081 (patch) | |
tree | 5333af4d3f38be8809bce251e732824eb0456414 /games/xscorch | |
parent | 5ae409327aba1968827401a063253f0a2bb2f902 (diff) | |
download | freebsd-ports-gnome-5a968e7468b134288f48198cb19c62ff9aa10081.tar.gz freebsd-ports-gnome-5a968e7468b134288f48198cb19c62ff9aa10081.tar.zst freebsd-ports-gnome-5a968e7468b134288f48198cb19c62ff9aa10081.zip |
- Convert USE_GMAKE to USES
- Convert .if to option helper
- Use %%DATADIR%% in pkg-plist
- Add stage support
Diffstat (limited to 'games/xscorch')
-rw-r--r-- | games/xscorch/Makefile | 17 | ||||
-rw-r--r-- | games/xscorch/pkg-plist | 25 |
2 files changed, 17 insertions, 25 deletions
diff --git a/games/xscorch/Makefile b/games/xscorch/Makefile index b225cbe38670..8e9c1d43555b 100644 --- a/games/xscorch/Makefile +++ b/games/xscorch/Makefile @@ -16,21 +16,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= MIKMOD OPTIONS_DEFAULT= MIKMOD -USES= perl5 +USES= gmake perl5 USE_GNOME= gtk20 -USE_GMAKE= yes GNU_CONFIGURE= yes -MAN6= xscorch.6 - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMIKMOD} -LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod -CONFIGURE_ARGS+=--with-libmikmod-prefix=${LOCALBASE} -.else -CONFIGURE_ARGS+=--disable-sound -.endif +MIKMOD_CONFIGURE_ON= --with-libmikmod-prefix=${LOCALBASE} +MIKMOD_CONFIGURE_OFF= --disable-sound +MMIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod .include <bsd.port.mk> diff --git a/games/xscorch/pkg-plist b/games/xscorch/pkg-plist index d8002a0b2b42..6210e641d297 100644 --- a/games/xscorch/pkg-plist +++ b/games/xscorch/pkg-plist @@ -1,14 +1,15 @@ bin/xscorch bin/xscorch-server -share/xscorch/accessories.def -share/xscorch/copying.txt -share/xscorch/images/xscorch-icon.xpm -share/xscorch/images/xscorch-logo.xpm -share/xscorch/profiles.def -share/xscorch/scorings.def -share/xscorch/sounds/README -share/xscorch/weapons.def -share/xscorch/xscorch.txt -@dirrm share/xscorch/sounds -@dirrm share/xscorch/images -@dirrm share/xscorch +man/man6/xscorch.6.gz +%%DATADIR%%/accessories.def +%%DATADIR%%/copying.txt +%%DATADIR%%/images/xscorch-icon.xpm +%%DATADIR%%/images/xscorch-logo.xpm +%%DATADIR%%/profiles.def +%%DATADIR%%/scorings.def +%%DATADIR%%/sounds/README +%%DATADIR%%/weapons.def +%%DATADIR%%/xscorch.txt +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/images +@dirrm %%DATADIR%% |