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$
|
|
|
|
#
|
|
|
|
|
2006-09-16 03:11:12 +02:00
|
|
|
PORTNAME= data
|
2005-03-13 12:33:54 +01:00
|
|
|
PORTVERSION= 0.8
|
2008-03-13 15:28:35 +01:00
|
|
|
PORTREVISION= 6
|
2004-06-12 16:11:49 +02:00
|
|
|
CATEGORIES= games
|
2006-09-16 03:11:12 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
|
|
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S/-//}
|
|
|
|
PKGNAMEPREFIX= netpanzer-
|
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME:S/$/-/}${PORTVERSION}
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
MAINTAINER= mad@madpilot.net
|
|
|
|
COMMENT= Data files for the netpanzer game
|
|
|
|
|
2005-07-24 15:02:43 +02:00
|
|
|
LIB_DEPENDS= physfs-1.0.1:${PORTSDIR}/devel/physfs
|
2004-06-12 16:11:49 +02:00
|
|
|
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
|
|
|
|
|
2006-09-16 03:11:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-libphysfs=${LOCALBASE} \
|
|
|
|
--datadir=${PREFIX}/share
|
2004-06-12 16:11:49 +02:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
|
|
|
|
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_SDL= sdl net mixer image
|
|
|
|
USE_GNOME= libxml2
|
2004-09-30 07:32:00 +02:00
|
|
|
USE_GCC= 3.4
|
2004-06-12 16:11:49 +02:00
|
|
|
|
2006-09-16 03:11:12 +02:00
|
|
|
DATADIR= share/${PKGNAMEPREFIX:S/-//}
|
|
|
|
|
2004-06-12 16:11:49 +02:00
|
|
|
do-build:
|
|
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
|
|
|
|
|
|
|
|
do-install:
|
2006-09-16 03:11:12 +02:00
|
|
|
@(cd ${INSTALL_WRKSRC} && jam ${INSTALL_TARGET})
|
2004-06-12 16:11:49 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|