diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-10-27 02:01:06 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-10-27 02:01:06 +0800 |
commit | 7bcbf26eb3d91471d138e6460ada57771ccd64e9 (patch) | |
tree | 111b4901324726f703b89e736e7e9c7f0755bcad | |
parent | a9db1ce1e76d97d2cd6484fe5f3427d808c1f1fc (diff) | |
download | freebsd-ports-gnome-7bcbf26eb3d91471d138e6460ada57771ccd64e9.tar.gz freebsd-ports-gnome-7bcbf26eb3d91471d138e6460ada57771ccd64e9.tar.zst freebsd-ports-gnome-7bcbf26eb3d91471d138e6460ada57771ccd64e9.zip |
- Simplify plist
- Move savegames directory to /var/games
-rw-r--r-- | games/enygma/Makefile | 1 | ||||
-rw-r--r-- | games/enygma/pkg-plist | 15 |
2 files changed, 3 insertions, 13 deletions
diff --git a/games/enygma/Makefile b/games/enygma/Makefile index 82097a91fb24..272ee6c73189 100644 --- a/games/enygma/Makefile +++ b/games/enygma/Makefile @@ -15,5 +15,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=/var/games .include <bsd.port.mk> diff --git a/games/enygma/pkg-plist b/games/enygma/pkg-plist index 7da708e88db6..1f7a7986932e 100644 --- a/games/enygma/pkg-plist +++ b/games/enygma/pkg-plist @@ -1,8 +1,4 @@ -@mode 2755 -@group games -bin/enygma -@group -@mode +@(,games,2755) bin/enygma %%DATADIR%%/original.set %%DATADIR%%/original01.level %%DATADIR%%/original02.level @@ -16,11 +12,4 @@ bin/enygma %%DATADIR%%/original10.level %%DATADIR%%/original11.level %%DATADIR%%/original12.level -@dirrm %%DATADIR%% -@mode 2770 -@group games -@exec install -d -g games -m 2770 %D/var/enygma -@dirrm var/enygma -@group -@mode -@dirrmtry var +@dir(,games,775) /var/games/enygma |