freebsd-ports/games/amphetamine/Makefile

34 lines
735 B
Makefile

# New ports collection makefile for: amphetamine
# Date created: 6 March 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= amphetamine
PORTVERSION= 0.8.8
CATEGORIES= games
MASTER_SITES= http://www.dataway.ch/~lukasl/amph/files/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX}
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl
DATAVERSION= 0.8.6
SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
USE_X_PREFIX= yes
USE_XPM= yes
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
post-install:
@(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \
| (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -)
.include <bsd.port.mk>