1999-06-06 19:44:31 +02:00
|
|
|
# New ports collection makefile for: dopewars
|
|
|
|
# Date created: 16 May 1999
|
1999-08-14 11:49:09 +02:00
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
1999-06-06 19:44:31 +02:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-06-06 19:44:31 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:43:02 +02:00
|
|
|
PORTNAME= dopewars
|
2002-10-24 23:22:32 +02:00
|
|
|
PORTVERSION= 1.5.8
|
2003-03-04 22:44:27 +01:00
|
|
|
PORTREVISION= 1
|
1999-06-06 19:44:31 +02:00
|
|
|
CATEGORIES= games
|
2002-05-15 22:54:22 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2001-06-18 20:52:52 +02:00
|
|
|
http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
|
2002-05-15 22:54:22 +02:00
|
|
|
MASTER_SITE_SUBDIR= dopewars
|
|
|
|
|
2001-08-23 01:07:23 +02:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2003-03-04 22:44:27 +01:00
|
|
|
COMMENT= A UNIX rewrite of a game originally based on "Drug Wars"
|
1999-06-06 19:44:31 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2000-01-15 01:55:06 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-09-02 02:59:13 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2001-06-18 20:52:52 +02:00
|
|
|
USE_X_PREFIX= yes
|
2002-08-24 02:13:15 +02:00
|
|
|
USE_REINPLACE= yes
|
1999-06-06 19:44:31 +02:00
|
|
|
|
2003-03-04 22:44:27 +01:00
|
|
|
CONFIGURE_ARGS= --enable-networking --disable-plugins
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2001-01-29 01:22:10 +01:00
|
|
|
|
2001-08-03 05:19:25 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
MAKE_ENV+= NOPORTDOCS=yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN6= dopewars.6
|
|
|
|
|
|
|
|
post-patch:
|
2002-08-24 02:13:15 +02:00
|
|
|
@${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \
|
2001-08-03 05:19:25 +02:00
|
|
|
${WRKSRC}/src/Makefile.in
|
2002-08-24 02:13:15 +02:00
|
|
|
@${REINPLACE_CMD} -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
|
2001-08-03 05:19:25 +02:00
|
|
|
${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in
|
2002-08-24 02:13:15 +02:00
|
|
|
@${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \
|
2002-03-26 00:08:17 +01:00
|
|
|
${WRKSRC}/src/gui_client/Makefile.in \
|
|
|
|
${WRKSRC}/src/curses_client/Makefile.in
|
1999-06-06 19:44:31 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|