2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Charlie & <root@HellFire.BSD.org.pe>
|
2006-06-06 21:02:56 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= chanta
|
|
|
|
PORTVERSION= 0.15
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 12
|
2006-06-06 21:02:56 +02:00
|
|
|
CATEGORIES= games
|
2009-02-15 02:17:07 +01:00
|
|
|
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/chanta/descargas/
|
2006-06-06 21:02:56 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2006-06-06 21:02:56 +02:00
|
|
|
COMMENT= Free 2D jump and run game
|
|
|
|
|
2014-12-21 19:00:38 +01:00
|
|
|
LICENSE= GPLv2 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2014-05-29 16:35:01 +02:00
|
|
|
USES= gmake
|
2006-06-06 21:02:56 +02:00
|
|
|
USE_SDL= sdl image mixer
|
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
2014-07-14 12:02:27 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-06-06 21:02:56 +02:00
|
|
|
|
|
|
|
post-configure:
|
2006-09-20 13:21:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lSDL |`sdl-config --libs` |g' ${WRKSRC}/src/${MAKEFILE}
|
2006-06-06 21:02:56 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^CXXFLAGS|^CXXFLAGS?|g' ${WRKSRC}/src/${MAKEFILE}
|
|
|
|
|
2014-12-21 19:00:38 +01:00
|
|
|
post-install:
|
2014-07-14 12:02:27 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-06-06 21:02:56 +02:00
|
|
|
@cd ${WRKSRC} && \
|
2014-07-14 12:02:27 +02:00
|
|
|
${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
|
2006-06-06 21:02:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|