41 lines
971 B
Makefile
41 lines
971 B
Makefile
# $OpenBSD: Makefile,v 1.20 2002/08/27 02:42:36 brad Exp $
|
|
|
|
COMMENT= "game where you deal drugs on the streets of NY"
|
|
|
|
DISTNAME= dopewars-1.5.7
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dopewars/}
|
|
|
|
HOMEPAGE= http://dopewars.sourceforge.net/
|
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES+= gettext
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= autoconf
|
|
CONFIGURE_ARGS+= --enable-nls \
|
|
--enable-strict \
|
|
--disable-esd \
|
|
--disable-glib2 \
|
|
--disable-gui-server \
|
|
--disable-plugins \
|
|
--disable-sdl \
|
|
--datadir="/var/games"
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dopewars
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example-cfg \
|
|
${PREFIX}/share/examples/dopewars/dopewars.cfg.sample
|
|
|
|
.include <bsd.port.mk>
|