diff options
author | pawel <pawel@FreeBSD.org> | 2016-01-03 01:38:34 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2016-01-03 01:38:34 +0800 |
commit | 5b12420b39a8bb9d82b5148613508717a62fe60d (patch) | |
tree | 5afb43ebd68e236606b127deb057a87cb5fc0515 /games | |
parent | 8c080ee2305752a82fd86de9916171452d6b0eb8 (diff) | |
download | freebsd-ports-gnome-5b12420b39a8bb9d82b5148613508717a62fe60d.tar.gz freebsd-ports-gnome-5b12420b39a8bb9d82b5148613508717a62fe60d.tar.zst freebsd-ports-gnome-5b12420b39a8bb9d82b5148613508717a62fe60d.zip |
- Switch to USES=localbase
- Remove deprecated @dirrm's from pkg-plist
Diffstat (limited to 'games')
-rw-r--r-- | games/nighthawk/Makefile | 7 | ||||
-rw-r--r-- | games/nighthawk/pkg-plist | 24 |
2 files changed, 4 insertions, 27 deletions
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile index d5ef4af16afb..bc16116f0e7a 100644 --- a/games/nighthawk/Makefile +++ b/games/nighthawk/Makefile @@ -12,15 +12,14 @@ COMMENT= X11 shoot-'em up which requires some lateral thinking WRKSRC= ${WRKDIR}/${PORTNAME} -USES= gmake tar:bzip2 +USES= gmake localbase tar:bzip2 USE_GL= glut MAKE_ARGS= CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \ LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}" CFLAGS+= -DINSTALL_DIR=\\\"\${DATADIR}\\\" \ - -DSCORES_FILE=\\\"/var/games/nighthawk.scores\\\" \ - -I${LOCALBASE}/include -LDFLAGS+= -lm -L${LOCALBASE}/lib -lX11 -lGL -lGLU -lglut + -DSCORES_FILE=\\\"/var/games/nighthawk.scores\\\" +LDFLAGS+= -lm -lX11 -lGL -lGLU -lglut post-patch: ${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ diff --git a/games/nighthawk/pkg-plist b/games/nighthawk/pkg-plist index 689be7f61f8d..c21bb523f46b 100644 --- a/games/nighthawk/pkg-plist +++ b/games/nighthawk/pkg-plist @@ -1,10 +1,4 @@ -@owner root -@group games -@mode 6755 -bin/nighthawk -@owner -@group -@mode +@(root,games,6755) bin/nighthawk man/man6/nighthawk.6.gz %%DATADIR%%/data/Anoyle/Bridge.f %%DATADIR%%/data/Anoyle/Bridge.m @@ -206,20 +200,4 @@ man/man6/nighthawk.6.gz %%DATADIR%%/data/xpm/standard/ship_complete.xpm %%DATADIR%%/data/xpm/standard/trans_terminated.xpm %%DATADIR%%/data/xpm/xpm.i -@dirrm %%DATADIR%%/data/xpm/standard -@dirrm %%DATADIR%%/data/xpm/font -@dirrm %%DATADIR%%/data/xpm -@dirrm %%DATADIR%%/data/music -@dirrm %%DATADIR%%/data/Zaxon -@dirrm %%DATADIR%%/data/Tobruk -@dirrm %%DATADIR%%/data/Seafarer -@dirrm %%DATADIR%%/data/Ophukus -@dirrm %%DATADIR%%/data/Mearkat -@dirrm %%DATADIR%%/data/Haldeck -@dirrm %%DATADIR%%/data/Friendship -@dirrm %%DATADIR%%/data/Esperence -@dirrm %%DATADIR%%/data/Discovery -@dirrm %%DATADIR%%/data/Anoyle -@dirrm %%DATADIR%%/data -@dirrm %%DATADIR%% @unexec if [ ! -s /var/games/nighthawk.scores ]; then rm -f /var/games/nighthawk.scores; fi |