freebsd-ports/games/dopewars/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# 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-08-25 08:06:33 +02:00
# $FreeBSD$
#
2000-04-14 08:43:02 +02:00
PORTNAME= dopewars
2002-10-24 23:22:32 +02:00
PORTVERSION= 1.5.8
PORTREVISION= 1
CATEGORIES= games
2002-05-15 22:54:22 +02:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
2002-05-15 22:54:22 +02:00
MASTER_SITE_SUBDIR= dopewars
MAINTAINER= petef@FreeBSD.org
COMMENT= A UNIX rewrite of a game originally based on "Drug Wars"
USE_GMAKE= yes
2000-01-15 01:55:06 +01:00
GNU_CONFIGURE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
2002-08-24 02:13:15 +02:00
USE_REINPLACE= yes
CONFIGURE_ARGS= --enable-networking --disable-plugins
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.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!' \
${WRKSRC}/src/Makefile.in
2002-08-24 02:13:15 +02:00
@${REINPLACE_CMD} -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
${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
.include <bsd.port.mk>