svn commit: r377818 - in head/games/yahtzee: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Jan 24 19:53:57 UTC 2015
Author: amdmi3
Date: Sat Jan 24 19:53:55 2015
New Revision: 377818
URL: https://svnweb.freebsd.org/changeset/ports/377818
QAT: https://qat.redports.org/buildarchive/r377818/
Log:
- Move highscore to /var/games, use @sample
- Simplify MASTER_SITES
Modified:
head/games/yahtzee/Makefile
head/games/yahtzee/files/patch-Makefile
head/games/yahtzee/pkg-plist
Modified: head/games/yahtzee/Makefile
==============================================================================
--- head/games/yahtzee/Makefile Sat Jan 24 19:51:06 2015 (r377817)
+++ head/games/yahtzee/Makefile Sat Jan 24 19:53:55 2015 (r377818)
@@ -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 at 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>
Modified: head/games/yahtzee/files/patch-Makefile
==============================================================================
--- head/games/yahtzee/files/patch-Makefile Sat Jan 24 19:51:06 2015 (r377817)
+++ head/games/yahtzee/files/patch-Makefile Sat Jan 24 19:53:55 2015 (r377818)
@@ -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
Modified: head/games/yahtzee/pkg-plist
==============================================================================
--- head/games/yahtzee/pkg-plist Sat Jan 24 19:51:06 2015 (r377817)
+++ head/games/yahtzee/pkg-plist Sat Jan 24 19:53:55 2015 (r377818)
@@ -1,8 +1,3 @@
- at group games
- at mode 2755
-bin/yahtzee
- at mode 664
-%%DATADIR%%/yahtzee.sco
- at group
- at mode
- at dirrm %%DATADIR%%
+@(,games,2755) bin/yahtzee
+ at sample(,games,664) /var/games/yahtzee/yahtzee.sco.sample
+ at dir(,games,775) /var/games/yahtzee
More information about the svn-ports-head
mailing list