svn commit: r373816 - in head/games/tuxtype: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 3 13:36:57 UTC 2014
Author: amdmi3
Date: Wed Dec 3 13:36:55 2014
New Revision: 373816
URL: https://svnweb.freebsd.org/changeset/ports/373816
QAT: https://qat.redports.org/buildarchive/r373816/
Log:
- Fix LICENSE
- Move local state to /var/games/tuxtype
- Fix stage by plain user
Added:
head/games/tuxtype/files/patch-Makefile.in (contents, props changed)
Modified:
head/games/tuxtype/Makefile
head/games/tuxtype/pkg-plist
Modified: head/games/tuxtype/Makefile
==============================================================================
--- head/games/tuxtype/Makefile Wed Dec 3 13:36:40 2014 (r373815)
+++ head/games/tuxtype/Makefile Wed Dec 3 13:36:55 2014 (r373816)
@@ -13,7 +13,8 @@ DISTFILES= ${PORTNAME}_w_fonts-${PORTVER
MAINTAINER= ports at FreeBSD.org
COMMENT= Educational typing tutor starring Tux the Linux Penguin
-LICENSE= GPLv3 # (or later)
+LICENSE= GPLv2 # (or later)
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
@@ -23,6 +24,7 @@ USES= gmake iconv perl5 pkgconfig
USE_GNOME= libxml2
USE_SDL= image mixer net pango sdl
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=/var/games
CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \
T4K_COMMON_LIBS="${T4K_WRKSRC}/src/.libs/libt4k_common.a" \
ac_cv_lib_m_csin=yes
Added: head/games/tuxtype/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tuxtype/files/patch-Makefile.in Wed Dec 3 13:36:55 2014 (r373816)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2014-12-02 21:50:06.000000000 +0300
++++ Makefile.in 2014-12-02 21:52:09.000000000 +0300
+@@ -776,10 +776,9 @@
+ # Global configuration (e.g. /etc/tuxtype):
+ $(MKDIR_P) -m 755 $(DESTDIR)$(pkgsysconfdir)
+ # Global sites for game state data (e.g. /var/games/tuxtype):
+- $(MKDIR_P) -m 2755 $(DESTDIR)$(pkglocalstatedir)
+- $(MKDIR_P) -m 2755 $(DESTDIR)$(pkglocalstatedir)/words
++ $(MKDIR_P) $(DESTDIR)$(pkglocalstatedir)
++ $(MKDIR_P) $(DESTDIR)$(pkglocalstatedir)/words
+ # chown root:games $(DESTDIR)$(pkglocalstatedir)
+- chown root:games $(DESTDIR)$(pkglocalstatedir)/words
+
+ uninstall-hook:
+ rm -rf $(DESTDIR)$(pkglocalstatedir)/words
Modified: head/games/tuxtype/pkg-plist
==============================================================================
--- head/games/tuxtype/pkg-plist Wed Dec 3 13:36:40 2014 (r373815)
+++ head/games/tuxtype/pkg-plist Wed Dec 3 13:36:55 2014 (r373816)
@@ -1,4 +1,4 @@
-bin/tuxtype
+@(,games,2555) bin/tuxtype
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/OFL
@@ -795,5 +795,6 @@ bin/tuxtype
%%DATADIR%%/words/words1.txt
%%DATADIR%%/words/words2.txt
%%DATADIR%%/words/words3.txt
- at dir var/tuxtype/words
+ at dir(,games,775) /var/games/tuxtype/words
+ at dir(,games,775) /var/games/tuxtype
@dir %%ETCDIR%%
More information about the svn-ports-head
mailing list