diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-14 20:51:43 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-14 20:51:43 +0000 |
commit | 279dae4f7981d46841a6675c20e683f532c28b2f (patch) | |
tree | 4dd0b944a08f3e60f9054745253ac505232d9ff6 /games/xmines | |
parent | 9b2aa8fa5ee2141911f9b323ab164d75cdb9f0b1 (diff) |
Notes
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%% |