aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-03 21:36:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-03 21:36:55 +0800
commit81e7ab13aa16ae25fb8ec4834473181c2788cdd6 (patch)
treec0152efa014ec13ffa5ebc65daa059731243e180
parent0f8263941016848033c814e549b4d82bb9f1e8d1 (diff)
downloadfreebsd-ports-gnome-81e7ab13aa16ae25fb8ec4834473181c2788cdd6.tar.gz
freebsd-ports-gnome-81e7ab13aa16ae25fb8ec4834473181c2788cdd6.tar.zst
freebsd-ports-gnome-81e7ab13aa16ae25fb8ec4834473181c2788cdd6.zip
- Fix LICENSE
- Move local state to /var/games/tuxtype - Fix stage by plain user
-rw-r--r--games/tuxtype/Makefile4
-rw-r--r--games/tuxtype/files/patch-Makefile.in15
-rw-r--r--games/tuxtype/pkg-plist5
3 files changed, 21 insertions, 3 deletions
diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile
index 13e9190437f0..d1ebcdd36b00 100644
--- a/games/tuxtype/Makefile
+++ b/games/tuxtype/Makefile
@@ -13,7 +13,8 @@ DISTFILES= ${PORTNAME}_w_fonts-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER= ports@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
diff --git a/games/tuxtype/files/patch-Makefile.in b/games/tuxtype/files/patch-Makefile.in
new file mode 100644
index 000000000000..3d55a33e12c7
--- /dev/null
+++ b/games/tuxtype/files/patch-Makefile.in
@@ -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
diff --git a/games/tuxtype/pkg-plist b/games/tuxtype/pkg-plist
index 705fa825c9e2..143c33dfee05 100644
--- a/games/tuxtype/pkg-plist
+++ b/games/tuxtype/pkg-plist
@@ -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
-@dir var/tuxtype/words
+@dir(,games,775) /var/games/tuxtype/words
+@dir(,games,775) /var/games/tuxtype
@dir %%ETCDIR%%
3be4278cddcebfa5e1962245e49b3b21'>Bump PORTREVISION on everything that depends on devel/apr1 due to thetijl2014-06-121-1/+1 * Add CPE information.des2014-06-051-1/+4 * - /USE_AUTOTOOLS=libtool/USES=libtool/ohauer2014-05-311-2/+2 * - fix build against security/openssl on FreeBSD-10ohauer2014-04-111-6/+8 * - fix build on FreeBSD-10+ with OpenSSL from portsohauer2014-04-091-1/+10 * - revert r350271ohauer2014-04-061-0/+12 * - remove comment from patchohauer2014-04-061-12/+0 * - update to version 2.2.27ohauer2014-03-273-4/+18 * ports in cat www where MAINTAINER=portsohauer2014-03-171-2/+1 * Fix properties on pkg-plistbapt2014-01-221-1/+0 * - update to 2.2.26ohauer2013-11-256-56/+33 * - do not silence directory creationohauer2013-11-061-3/+3 * - backport upstream commit r1528718 into mod_dav [1].ohauer2013-11-063-1/+55 * - support stagingohauer2013-10-287-164/+156 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - convert to the new perl5 frameworkaz2013-09-141-2/+1 * Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default forbsam2013-09-081-1/+1 * - Remove MAKE_JOBS_SAFE variableak2013-08-151-1/+0 * - update to apache-2.2.25ohauer2013-07-114-33/+6 * - add fix for CVE-2013-1862ohauer2013-07-063-24/+90 * - Convert USE_ICONV=yes to USES=iconvmva2013-04-281-1/+1 * - prepare for apache24ohauer2013-03-271-3/+3 * - disable new ab SSL extensions until a better way is found.ohauer2013-03-061-0/+12 * - update to version 2.2.24ohauer2013-03-037-2346/+12 * Various spelling correctionscrees2013-02-091-1/+1 * - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: www)gahr2013-02-071-2/+1 * Useache2013-01-022-1/+12 * Update PCRE to 8.32mm2012-12-111-1/+1 * Fix a typo.hrs2012-11-192-2/+2 * Fix rc.d script to support systems before and after ${name}_fib is introducedhrs2012-11-192-6/+9 * - update apache22 to version 2.22.23ohauer2012-11-036-32/+11 * - notice the users that old WITH/WITHOUT parameters are obsolete.ohauer2012-09-101-0/+18 * - add a note about devel/apr1 and apache22 updatesohauer2012-09-091-1/+1 * - fix build on IPv4 only systemsohauer2012-09-051-2/+4 * - Simplify options with the removal of the last APR only related parameter [1]ohauer2012-09-055-27/+28 * devel/apr1 [1]ohauer2012-09-028-238/+530 * - rewite apache portohauer2012-08-235-500/+429 * - rewrite bsd.apache.mk (prepare for options NG support)ohauer2012-08-143-43/+37 * Document Apache 2.2.x insecure handling of LD_LIBRARY_PATH.wxs2012-08-022-4/+13 * apache22ohauer2012-07-233-118/+126 * - cleanup conflicts (remove no longer existent ports)ohauer2012-07-09