From 7bcbf26eb3d91471d138e6460ada57771ccd64e9 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Sun, 26 Oct 2014 18:01:06 +0000 Subject: - Simplify plist - Move savegames directory to /var/games --- games/enygma/Makefile | 1 + 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 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 -- cgit