Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2014 18:00:39 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375179 - head/games/chanta
Message-ID:  <201412211800.sBLI0daQ063657@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec 21 18:00:38 2014
New Revision: 375179
URL: https://svnweb.freebsd.org/changeset/ports/375179
QAT: https://qat.redports.org/buildarchive/r375179/

Log:
  - Add LICENSE
  - Use upstream installation
  - Fix tab after WWW:
  - Drop @dirrm* from plist
  
  Approved by:	bapt

Modified:
  head/games/chanta/Makefile
  head/games/chanta/pkg-descr
  head/games/chanta/pkg-plist

Modified: head/games/chanta/Makefile
==============================================================================
--- head/games/chanta/Makefile	Sun Dec 21 18:00:31 2014	(r375178)
+++ head/games/chanta/Makefile	Sun Dec 21 18:00:38 2014	(r375179)
@@ -10,6 +10,9 @@ MASTER_SITES=	http://www.losersjuegos.co
 MAINTAINER=	acm@FreeBSD.org
 COMMENT=	Free 2D jump and run game
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		gmake
 USE_SDL=	sdl image mixer
 GNU_CONFIGURE=	yes
@@ -17,19 +20,11 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD}
 OPTIONS_DEFINE=	DOCS
 
-CHANTADIRS=	data ima
-
 post-configure:
 	@${REINPLACE_CMD} -e 's|-lSDL |`sdl-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
 	@${REINPLACE_CMD} -e 's|^CXXFLAGS|^CXXFLAGS?|g' ${WRKSRC}/src/${MAKEFILE}
 
-do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}
-	@cd ${WRKSRC}/src && \
-		${INSTALL_PROGRAM} chanta  ${STAGEDIR}${PREFIX}/bin && \
-			${FIND} ${CHANTADIRS} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
-				${FIND} -E ${CHANTADIRS} -type f -iregex ".*\.(png|dat)" \
-					-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
+post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC} && \
 		${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}

Modified: head/games/chanta/pkg-descr
==============================================================================
--- head/games/chanta/pkg-descr	Sun Dec 21 18:00:31 2014	(r375178)
+++ head/games/chanta/pkg-descr	Sun Dec 21 18:00:38 2014	(r375179)
@@ -1,4 +1,4 @@
 Chanta Claus is a free jump and run game, where you have to collect all money 
 for each level.
 
-WWW:	http://www.losersjuegos.com.ar
+WWW: http://www.losersjuegos.com.ar

Modified: head/games/chanta/pkg-plist
==============================================================================
--- head/games/chanta/pkg-plist	Sun Dec 21 18:00:31 2014	(r375178)
+++ head/games/chanta/pkg-plist	Sun Dec 21 18:00:38 2014	(r375179)
@@ -12,7 +12,3 @@ bin/chanta
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/README
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%/ima
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412211800.sBLI0daQ063657>