blob: 7745fbf24a3bb6553ffb07721f079df569ab852f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: adonthell
# Date created: Sat May 10 15:26:09 CEST 2003
# Whom: Miguel Mendez <flynn@energyhq.es.eu.org>
#
# $FreeBSD$
#
PORTNAME= adonthell
PORTVERSION= 0.3.3
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/src
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
wastesedge-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= flynn@energyhq.es.eu.org
COMMENT= A free role playing game
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
USE_SDL= mixer sdl
USE_PYTHON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-py-debug
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
post-install:
cd ${WRKDIR}/wastesedge-${PORTVERSION} && \
${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \
--with-adonthell-binary=${PREFIX}/bin/${PORTNAME} \
${CONFIGURE_TARGET}
cd ${WRKDIR}/wastesedge-${PORTVERSION} && ${GMAKE}
cd ${WRKDIR}/wastesedge-${PORTVERSION} && ${GMAKE} install
.include <bsd.port.post.mk>
|