2004-06-12 16:11:49 +02:00
|
|
|
# New ports collection makefile for: netpanzer
|
|
|
|
# Date created: 29 May 2004
|
|
|
|
# Whom: Guido Falsi <mad@madpilot.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= netpanzer
|
2007-04-15 21:07:27 +02:00
|
|
|
PORTVERSION= 0.8.1
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 9
|
2004-06-12 16:11:49 +02:00
|
|
|
CATEGORIES= games
|
2011-10-01 23:50:16 +02:00
|
|
|
MASTER_SITES= BERLIOS
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
MAINTAINER= mad@madpilot.net
|
2005-03-13 12:33:54 +01:00
|
|
|
COMMENT= Real time, isometric view, tank multiplayer strategy game
|
2004-06-12 16:11:49 +02:00
|
|
|
|
2011-10-05 20:19:33 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2009-04-04 14:05:22 +02:00
|
|
|
LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs
|
2004-06-12 16:11:49 +02:00
|
|
|
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
|
2006-09-23 00:15:14 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/netpanzer/wads/netp.act:${PORTSDIR}/games/netpanzer-data
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-libphysfs=${LOCALBASE} --without-wx-config
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_SDL= sdl net mixer image ttf
|
|
|
|
USE_GNOME= libxml2
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@for ff in `${FIND} ${WRKDIR} -type f -name '*.[ch]pp' -exec ${GREP} -q stdint.h {} \; -print`; do \
|
|
|
|
${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' $${ff}; \
|
|
|
|
done
|
2005-03-13 12:33:54 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|##DOCSDIR##|${DOCSDIR}|" ${WRKSRC}/Jamconfig.in
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
post-configure:
|
2008-08-28 20:58:30 +02:00
|
|
|
${REINPLACE_CMD} -e '/InstallDoc/d' ${WRKSRC}/Jamfile
|
2005-03-13 12:33:54 +01:00
|
|
|
.endif
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
|
|
|
|
|
|
|
|
do-install:
|
2006-09-23 00:15:14 +02:00
|
|
|
@(cd ${INSTALL_WRKSRC} && jam ${INSTALL_TARGET})
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|