freebsd-ports/games/dopewars/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: dopewars
# Date created: 16 May 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dopewars
PORTVERSION= 1.5.12
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= A UNIX rewrite of a game originally based on "Drug Wars"
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gtk12
CONFIGURE_ARGS= --enable-networking --disable-plugins --localstatedir=${DATADIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PORTDOCS= ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README TODO
MAN6= dopewars.6
post-patch:
@${REINPLACE_CMD} -e 's!/pixmaps!/dopewars/pixmaps!' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's!^CFLAGS =!CFLAGS = \@GLIB_CFLAGS\@!' \
${WRKSRC}/src/gui_client/Makefile.in \
${WRKSRC}/src/curses_client/Makefile.in
@${REINPLACE_CMD} -e 's!install-recursive!!g' ${WRKSRC}/doc/Makefile.in
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/help
@${INSTALL_DATA} ${WRKSRC}/doc/*html ${WRKSRC}/doc/example* ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/help/*html ${DOCSDIR}/help/
@${INSTALL_DATA} ${PORTDOCS:S.^.${WRKSRC}/.} ${DOCSDIR}/
@${INSTALL_MAN} ${WRKSRC}/doc/dopewars.6 ${MAN6PREFIX}/man/man6/
.endif
.include <bsd.port.mk>