freebsd-ports/games/dopewars/Makefile

42 lines
929 B
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-05-15 22:54:22 +02:00
PORTVERSION= 1.5.6
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
USE_GMAKE= yes
2000-01-15 01:55:06 +01:00
GNU_CONFIGURE= yes
USE_GTK= yes
USE_X_PREFIX= yes
CONFIGURE_ARGS+= --enable-nls --enable-networking
.if defined(NOPORTDOCS)
MAKE_ENV+= NOPORTDOCS=yes
.endif
PLIST_SUB= DOPEWARS=${PKGNAME}
MAN6= dopewars.6
post-patch:
@${PERL} -pi -e 's!/pixmaps!/dopewars/pixmaps!' \
${WRKSRC}/src/Makefile.in
@${PERL} -pi -e 's!dopewars.sco!dopewars/dopewars.sco!g' \
${WRKSRC}/src/dopewars.c ${WRKSRC}/Makefile.in
2002-03-26 00:08:17 +01:00
@${PERL} -pi -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \
${WRKSRC}/src/gui_client/Makefile.in \
${WRKSRC}/src/curses_client/Makefile.in
.include <bsd.port.mk>