diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-05 10:13:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-05 10:13:53 +0800 |
commit | 367813e85a5150b9446599054eefaefb9cedb198 (patch) | |
tree | 80677717e83bca9e2f8629294afdda1145bff8e7 /games | |
parent | cee22ac1f3b5b4edd5b0556aadeb1d4b9ed98486 (diff) | |
download | freebsd-ports-gnome-367813e85a5150b9446599054eefaefb9cedb198.tar.gz freebsd-ports-gnome-367813e85a5150b9446599054eefaefb9cedb198.tar.zst freebsd-ports-gnome-367813e85a5150b9446599054eefaefb9cedb198.zip |
- Move scorefile into /var/games
- Modernize plist
Diffstat (limited to 'games')
-rw-r--r-- | games/xmines/Makefile | 2 | ||||
-rw-r--r-- | games/xmines/files/patch-Makefile | 6 | ||||
-rw-r--r-- | games/xmines/pkg-plist | 9 |
3 files changed, 6 insertions, 11 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile index 471794d6fcbb..34a40dfb18f5 100644 --- a/games/xmines/Makefile +++ b/games/xmines/Makefile @@ -3,7 +3,7 @@ PORTNAME= xmines PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SUNSITE/games/strategy DISTNAME= ${PORTNAME} diff --git a/games/xmines/files/patch-Makefile b/games/xmines/files/patch-Makefile index 2c8070b87e01..b973792feff8 100644 --- a/games/xmines/files/patch-Makefile +++ b/games/xmines/files/patch-Makefile @@ -15,7 +15,7 @@ +INCLUDE = ${LOCALBASE}/include +LIBRARY = ${LOCALBASE}/lib +BIN = ${PREFIX}/bin -+SCOREFILES = ${PREFIX}/share/xmines ++SCOREFILES = /var/games .c.o: $(CC) $(CFLAGS) -I $(INCLUDE) -c $< @@ -37,5 +37,5 @@ - install -g games -o games -m 0664 scores/scores $(SCOREFILES)/xbomb-scores - install -g games -o games -m 2755 xbombs $(BIN) + mkdir -p ${DESTDIR}$(SCOREFILES) -+ ${INSTALL} -m 0666 scores/scores ${DESTDIR}$(SCOREFILES)/scores -+ ${INSTALL} -s -m 0755 xmines ${DESTDIR}$(BIN) ++ ${BSD_INSTALL_DATA} scores/scores ${DESTDIR}$(SCOREFILES)/xmines-scores.sample ++ ${BSD_INSTALL_PROGRAM} xmines ${DESTDIR}$(BIN) diff --git a/games/xmines/pkg-plist b/games/xmines/pkg-plist index 855b8eddcf54..d37bb5f59a24 100644 --- a/games/xmines/pkg-plist +++ b/games/xmines/pkg-plist @@ -1,7 +1,2 @@ -@group games -@owner games -bin/xmines -%%DATADIR%%/scores -@owner -@group -@dirrm %%DATADIR%% +@(,games,2755) bin/xmines +@sample(,games,664) /var/games/xmines-scores.sample |