2005-10-16 04:06:43 +00:00
|
|
|
# New ports collection makefile for: Scourge
|
|
|
|
# Date created: 2005-10-08
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scourge
|
2007-02-01 20:14:04 +00:00
|
|
|
PORTVERSION= 0.17
|
2005-10-16 04:06:43 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2006-06-17 18:05:19 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2006-12-02 02:19:33 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/$/.src/}
|
2006-06-17 18:05:19 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2005-10-16 04:06:43 +00:00
|
|
|
|
2006-07-23 02:45:24 +00:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-10-16 04:06:43 +00:00
|
|
|
COMMENT= S.C.O.U.R.G.E. is a rogue-like game
|
|
|
|
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
2007-02-01 20:14:04 +00:00
|
|
|
#RUN_DEPENDS= ${DATADIR}/world/gui.txt:${PORTSDIR}/games/scourge-data
|
2005-10-16 04:06:43 +00:00
|
|
|
|
2007-02-01 20:14:04 +00:00
|
|
|
#BROKEN= Does not compile
|
2007-01-30 00:13:44 +00:00
|
|
|
|
2005-11-06 14:24:27 +00:00
|
|
|
USE_GL= yes
|
2005-10-16 04:06:43 +00:00
|
|
|
USE_SDL= sdl mixer net
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-03-18 14:17:27 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_LIBS}
|
2005-11-06 14:24:27 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
2006-12-01 14:15:53 +00:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2005-11-06 14:24:27 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2005-10-16 04:06:43 +00:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-data-dir=${DATADIR}
|
|
|
|
|
2006-09-15 16:20:12 +00:00
|
|
|
SUB_FILES= pkg-message
|
2006-06-17 18:05:19 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2006-09-15 16:20:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2006-06-17 18:05:19 +00:00
|
|
|
|
2007-02-01 20:14:04 +00:00
|
|
|
OPTIONS= DEBUG "Produce an executable with debugging symbols" off
|
2005-10-16 04:06:43 +00:00
|
|
|
|
2006-06-17 18:05:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-09-15 16:20:12 +00:00
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= Some dependencies do not compile on 4.x
|
|
|
|
.endif
|
|
|
|
|
2005-10-16 04:06:43 +00:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
|
|
.endif
|
|
|
|
|
2006-03-18 14:17:27 +00:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
2006-09-15 16:20:12 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-03-18 14:17:27 +00:00
|
|
|
|
2006-06-17 18:05:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|