diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-02 17:38:34 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-02 17:38:34 +0000 |
commit | 3b0beacc5dfdfb55bdf5ba50a2f94964f29c1367 (patch) | |
tree | 5afb43ebd68e236606b127deb057a87cb5fc0515 /games | |
parent | - Sort PYTHON_* knobs (diff) |
- Switch to USES=localbase
- Remove deprecated @dirrm's from pkg-plist
Notes
Notes:
svn path=/head/; revision=405081
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 |