2005-09-25 05:22:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2005/09/25 09:22:49 espie Exp $
|
2001-07-13 00:28:26 -04:00
|
|
|
|
|
|
|
COMMENT= "jump'n run game with unique video effects"
|
|
|
|
|
2003-01-21 16:59:50 -05:00
|
|
|
VERSION= 0.8.10
|
2001-07-13 00:28:26 -04:00
|
|
|
DVERSION= 0.8.6
|
|
|
|
DISTNAME= amphetamine-${VERSION}
|
2005-09-25 05:22:49 -04:00
|
|
|
PKGNAME= amph-${VERSION}p0
|
2001-07-13 00:28:26 -04:00
|
|
|
CATEGORIES= games x11
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-01-11 16:44:26 -05:00
|
|
|
HOMEPAGE= http://n.ethz.ch/student/loehrerl/amph/amph.html
|
2001-07-13 00:28:26 -04:00
|
|
|
|
2004-01-11 16:44:26 -05:00
|
|
|
MASTER_SITES= http://n.ethz.ch/student/loehrerl/amph/files/
|
2001-07-13 00:28:26 -04:00
|
|
|
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-28 17:41:14 -05:00
|
|
|
WANTLIB= X11 Xext Xpm Xt c m pthread stdc++ usbhid
|
2001-07-13 00:28:26 -04:00
|
|
|
|
|
|
|
DISTFILES= amphetamine-data-${DVERSION}${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
2001-12-28 17:11:58 -05:00
|
|
|
LIB_DEPENDS= SDL::devel/sdl
|
2001-07-13 00:28:26 -04:00
|
|
|
|
2001-11-15 01:14:06 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-07-13 00:28:26 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2001-07-25 13:23:50 -04:00
|
|
|
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}" PREFIX="${PREFIX}" X11BASE="${X11BASE}"
|
2001-07-13 00:28:26 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/amph ${PREFIX}/bin
|
2001-07-25 13:23:50 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amph
|
2001-07-13 00:28:26 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/amph
|
|
|
|
@cp -Rp ${WRKDIR}/amph/* ${PREFIX}/share/amph/
|
2005-09-25 05:22:49 -04:00
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/amph
|
2001-07-25 13:23:50 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/amph
|
2001-07-13 00:28:26 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|