diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-24 19:53:55 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-24 19:53:55 +0000 |
commit | 9ab5a08463b99e6dec48b4b777f6390ea898a83b (patch) | |
tree | a49c516a2eaa5b24e7f519f94aaf3b3543f3d5fd /games/yahtzee | |
parent | ae8ba56e8d801fcc84250e7107334705a407f0f2 (diff) |
Notes
Diffstat (limited to 'games/yahtzee')
-rw-r--r-- | games/yahtzee/Makefile | 9 | ||||
-rw-r--r-- | games/yahtzee/files/patch-Makefile | 2 | ||||
-rw-r--r-- | games/yahtzee/pkg-plist | 11 |
3 files changed, 8 insertions, 14 deletions
diff --git a/games/yahtzee/Makefile b/games/yahtzee/Makefile index eb8be9d2f517..f0bb5694a2a7 100644 --- a/games/yahtzee/Makefile +++ b/games/yahtzee/Makefile @@ -3,10 +3,9 @@ PORTNAME= yahtzee PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= games/strategy +MASTER_SITES= SUNSITE/games/strategy DISTNAME= ${PORTNAME}-src MAINTAINER= ports@FreeBSD.org @@ -17,7 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yahtzee ${STAGEDIR}${PREFIX}/bin - @${MKDIR} -m 0755 ${STAGEDIR}${DATADIR} - ${TOUCH} ${STAGEDIR}${DATADIR}/yahtzee.sco + @${MKDIR} -m 0755 ${STAGEDIR}/var/games/yahtzee + ${TOUCH} ${STAGEDIR}/var/games/yahtzee/yahtzee.sco.sample .include <bsd.port.mk> diff --git a/games/yahtzee/files/patch-Makefile b/games/yahtzee/files/patch-Makefile index c2eb5261af80..514836de8226 100644 --- a/games/yahtzee/files/patch-Makefile +++ b/games/yahtzee/files/patch-Makefile @@ -2,7 +2,7 @@ +++ Makefile Wed Nov 8 04:48:42 2000 @@ -1,4 +1,4 @@ -CFLAGS = -+CFLAGS += -DHAS_RENAME -DSCOREDIR=\"$(PREFIX)/share/yahtzee\" ++CFLAGS += -DHAS_RENAME -DSCOREDIR=\"/var/games/yahtzee\" OBJ = computer.o main.o diff --git a/games/yahtzee/pkg-plist b/games/yahtzee/pkg-plist index 76c519fbc143..9defc1914d47 100644 --- a/games/yahtzee/pkg-plist +++ b/games/yahtzee/pkg-plist @@ -1,8 +1,3 @@ -@group games -@mode 2755 -bin/yahtzee -@mode 664 -%%DATADIR%%/yahtzee.sco -@group -@mode -@dirrm %%DATADIR%% +@(,games,2755) bin/yahtzee +@sample(,games,664) /var/games/yahtzee/yahtzee.sco.sample +@dir(,games,775) /var/games/yahtzee |