2013-09-20 17:36:33 +00:00
|
|
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
2005-09-17 10:41:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= duel
|
|
|
|
PORTVERSION= 0.98
|
2017-05-23 05:03:14 +00:00
|
|
|
PORTREVISION= 10
|
2005-09-17 10:41:47 +00:00
|
|
|
CATEGORIES= games
|
2014-05-27 18:34:05 +00:00
|
|
|
MASTER_SITES= LOCAL/alepulver
|
2005-09-17 10:41:47 +00:00
|
|
|
DISTNAME= lin${PORTNAME}
|
|
|
|
|
2011-02-27 04:54:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-01 03:49:06 +00:00
|
|
|
COMMENT= Overhead, OpenGL space shooter
|
2005-09-17 10:41:47 +00:00
|
|
|
|
2016-01-12 16:20:31 +00:00
|
|
|
LICENSE= GPLv2+
|
2014-12-04 09:24:00 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 14:00:51 +00:00
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
|
|
libftgl.so:graphics/ftgl
|
2005-09-17 10:41:47 +00:00
|
|
|
|
2014-05-27 18:34:05 +00:00
|
|
|
USES= tar:bzip2 libtool
|
- 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
|
|
|
|
|
|
|
|
do-install:
|
2013-11-01 03:49:06 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2016-11-02 22:45:14 +00:00
|
|
|
cd ${WRKSRC}/runDir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
2005-09-17 10:41:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|