b9155596cc
- freetype2 will no longer ship freetype-config (which was a pkg-config wrapper) in the near future -- use pkg-config to gather the required flags. PR: 251512
35 lines
1,000 B
Makefile
35 lines
1,000 B
Makefile
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
PORTNAME= duel
|
|
PORTVERSION= 0.98
|
|
PORTREVISION= 11
|
|
CATEGORIES= games
|
|
MASTER_SITES= LOCAL/alepulver
|
|
DISTNAME= lin${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Overhead, OpenGL space shooter
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
libftgl.so:graphics/ftgl
|
|
|
|
USES= compiler:c++11-lang gl libtool pkgconfig sdl tar:bzip2
|
|
USE_GL= gl
|
|
USE_SDL= sdl
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= `${SDL_CONFIG} --cflags` `pkg-config freetype2 --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL
|
|
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= ${PORTNAME}-sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC}/runDir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|