diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-15 04:51:43 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-15 04:51:43 +0800 |
commit | e030ed1d2d0d2d74a7f20e5d01e1864f66e79e9c (patch) | |
tree | 4dd0b944a08f3e60f9054745253ac505232d9ff6 /games/xmines | |
parent | 7b9935e46b2f1dee0fad7abd79549bc2ac8e67cf (diff) | |
download | freebsd-ports-gnome-e030ed1d2d0d2d74a7f20e5d01e1864f66e79e9c.tar.gz freebsd-ports-gnome-e030ed1d2d0d2d74a7f20e5d01e1864f66e79e9c.tar.zst freebsd-ports-gnome-e030ed1d2d0d2d74a7f20e5d01e1864f66e79e9c.zip |
- Add stage support
- Add DOCS option
Diffstat (limited to 'games/xmines')
-rw-r--r-- | games/xmines/Makefile | 9 | ||||
-rw-r--r-- | games/xmines/files/patch-aa | 6 | ||||
-rw-r--r-- | games/xmines/pkg-plist | 4 |
3 files changed, 10 insertions, 9 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile index 657488ed94a8..0b1bcf10df75 100644 --- a/games/xmines/Makefile +++ b/games/xmines/Makefile @@ -17,13 +17,10 @@ CFLAGS+= -Wno-error=return-type PORTDOCS= README -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/xmines/files/patch-aa b/games/xmines/files/patch-aa index d1543859aee3..2c8070b87e01 100644 --- a/games/xmines/files/patch-aa +++ b/games/xmines/files/patch-aa @@ -36,6 +36,6 @@ install: - install -g games -o games -m 0664 scores/scores $(SCOREFILES)/xbomb-scores - install -g games -o games -m 2755 xbombs $(BIN) -+ mkdir -p $(SCOREFILES) -+ ${INSTALL} -g games -o games -m 0666 scores/scores $(SCOREFILES)/scores -+ ${INSTALL} -s -g games -o games -m 0755 xmines $(BIN) ++ mkdir -p ${DESTDIR}$(SCOREFILES) ++ ${INSTALL} -m 0666 scores/scores ${DESTDIR}$(SCOREFILES)/scores ++ ${INSTALL} -s -m 0755 xmines ${DESTDIR}$(BIN) diff --git a/games/xmines/pkg-plist b/games/xmines/pkg-plist index 2dfe45e6866e..855b8eddcf54 100644 --- a/games/xmines/pkg-plist +++ b/games/xmines/pkg-plist @@ -1,3 +1,7 @@ +@group games +@owner games bin/xmines %%DATADIR%%/scores +@owner +@group @dirrm %%DATADIR%% |