mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
43 lines
995 B
Makefile
43 lines
995 B
Makefile
# New ports collection makefile for: netpanzer
|
|
# Date created: 29 May 2004
|
|
# Whom: Guido Falsi <mad@madpilot.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= data
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 6
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S/-//}
|
|
PKGNAMEPREFIX= netpanzer-
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME:S/$/-/}${PORTVERSION}
|
|
|
|
MAINTAINER= mad@madpilot.net
|
|
COMMENT= Data files for the netpanzer game
|
|
|
|
LIB_DEPENDS= physfs-1.0.1:${PORTSDIR}/devel/physfs
|
|
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-libphysfs=${LOCALBASE} \
|
|
--datadir=${PREFIX}/share
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
|
|
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
|
|
|
USE_BZIP2= yes
|
|
USE_SDL= sdl net mixer image
|
|
USE_GNOME= libxml2
|
|
USE_GCC= 3.4
|
|
|
|
DATADIR= share/${PKGNAMEPREFIX:S/-//}
|
|
|
|
do-build:
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
|
|
|
|
do-install:
|
|
@(cd ${INSTALL_WRKSRC} && jam ${INSTALL_TARGET})
|
|
|
|
.include <bsd.port.mk>
|