2005-09-17 10:41:47 +00:00
|
|
|
# New ports collection makefile for: duel
|
|
|
|
# Date created: 10 Aug 2005
|
|
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= duel
|
|
|
|
PORTVERSION= 0.98
|
2012-02-18 10:18:33 +00:00
|
|
|
PORTREVISION= 6
|
2005-09-17 10:41:47 +00:00
|
|
|
CATEGORIES= games
|
2006-12-07 16:44:53 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= alepulver
|
2005-09-17 10:41:47 +00:00
|
|
|
DISTNAME= lin${PORTNAME}
|
|
|
|
|
2011-02-27 04:54:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-17 10:41:47 +00:00
|
|
|
COMMENT= An overhead, OpenGL space shooter
|
|
|
|
|
2008-07-11 17:55:23 +00:00
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
ftgl.2:${PORTSDIR}/graphics/ftgl
|
2005-09-17 10:41:47 +00:00
|
|
|
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-09-17 10:41:47 +00:00
|
|
|
USE_BZIP2= 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 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2005-09-17 10:41:47 +00:00
|
|
|
USE_SDL= sdl
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= `${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL
|
|
|
|
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
|
2007-03-27 23:54:37 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2005-09-17 10:41:47 +00:00
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME}-sh
|
|
|
|
|
|
|
|
post-patch:
|
2007-03-27 23:54:37 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
|
2005-09-17 10:41:47 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/libexec
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${CP} -R ${WRKSRC}/runDir/* ${DATADIR}
|
2007-03-27 23:54:37 +00:00
|
|
|
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
|
|
|
|
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} ${BINMODE}
|
2005-09-17 10:41:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|