2013-05-31 16:40:56 +02:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2005-10-16 06:06:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scourge
|
2009-01-16 14:20:08 +01:00
|
|
|
PORTVERSION= 0.21.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 8
|
2005-10-16 06:06:43 +02:00
|
|
|
CATEGORIES= games
|
2007-10-05 08:47:01 +02:00
|
|
|
MASTER_SITES= SF
|
2006-12-02 03:19:33 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/.src/}
|
2006-06-17 20:05:19 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2005-10-16 06:06:43 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2013-05-31 16:40:56 +02:00
|
|
|
COMMENT= Rogue-like game
|
2005-10-16 06:06:43 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
2007-08-18 15:21:09 +02:00
|
|
|
RUN_DEPENDS= ${DATADIR}/config/scourge.cfg:${PORTSDIR}/games/scourge-data
|
2007-01-30 01:13:44 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:env automake:env
|
- 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
|
|
|
USE_GL= gl
|
2008-05-20 02:05:14 +02:00
|
|
|
USE_SDL= sdl image mixer net ttf
|
2005-10-16 06:06:43 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
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 ${PTHREAD_LIBS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-10-16 06:06:43 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-data-dir=${DATADIR}
|
|
|
|
|
2006-09-15 18:20:12 +02:00
|
|
|
SUB_FILES= pkg-message
|
2006-06-17 20:05:19 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2006-09-15 18:20:12 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2006-06-17 20:05:19 +02:00
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
OPTIONS_DEFINE= DEBUG
|
2005-10-16 06:06:43 +02:00
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2006-06-17 20:05:19 +02:00
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2005-10-16 06:06:43 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
|
|
.endif
|
|
|
|
|
2007-09-06 07:30:50 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|GLvoid|void|g' ${WRKSRC}/src/sdlhandler.cpp ${WRKSRC}/src/sdlhandler.h
|
|
|
|
|
2007-08-18 15:21:09 +02:00
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && ${AUTORECONF} -i
|
|
|
|
|
2006-03-18 15:17:27 +01:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
2006-09-15 18:20:12 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-03-18 15:17:27 +01:00
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
.include <bsd.port.mk>
|