openbsd-ports/games/xscorch/Makefile
jasper ac4dfd6001 fix typo in COMMENT
from kili@ (who was ok with the import too)
2007-06-06 20:57:13 +00:00

40 lines
931 B
Makefile

# $OpenBSD: Makefile,v 1.2 2007/06/06 20:57:13 jasper Exp $
COMMENT= Scorched Earth-clone
DISTNAME= xscorch-0.2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= games
HOMEPAGE= http://www.xscorch.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xext Xi c glib gmodule iconv intl m
MASTER_SITES= ${HOMEPAGE}/releases/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
xscorch-0.2.0-64bit.patch.gz \
xscorch-0.2.0-stack-smash.patch.gz
LIB_DEPENDS= mikmod::audio/libmikmod \
gtk.>=1.2,gdk.>=1.2::x11/gtk+
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-x \
--with-gtk \
--without-gnome
post-extract:
cd ${WRKSRC} && patch < ${WRKDIR}/xscorch-0.2.0-64bit.patch
cd ${WRKSRC} && patch < ${WRKDIR}/xscorch-0.2.0-stack-smash.patch
find ${WRKDIST} -name \*.orig -print0 | xargs -0 rm
.include <bsd.port.mk>