1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/games/adonthell/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

57 lines
1.6 KiB
Makefile

# 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$
# $MCom: ports/games/adonthell/Makefile,v 1.1 2006/10/04 20:13:33 ahze Exp $
PORTNAME= adonthell
PORTVERSION= 0.3.4
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTFILES= ${PORTNAME}-src-${PORTVERSION}a${EXTRACT_SUFX} \
wastesedge-src-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A free role playing game
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \
freetype-config:${PORTSDIR}/print/freetype2
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
USE_SDL= mixer sdl
USE_PYTHON= -2.4
USE_GETTEXT= 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 \
PYPACKAGE=${PYTHON_CMD}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not build on sparc64
.endif
post-extract:
post-install:
cd ${WRKDIR}/wastesedge-${PORTVERSION} && \
${REINPLACE_CMD} -e 's/test $$adonthell_major_ver -eq 0 .*/true ;/' configure
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>