- Fix LICENSE

- Move local state to /var/games/tuxtype
- Fix stage by plain user
This commit is contained in:
Dmitry Marakasov 2014-12-03 13:36:55 +00:00
parent 0511a923c0
commit 72395c650d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373816
3 changed files with 21 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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%%