aboutsummaryrefslogtreecommitdiffstats
path: root/games/dopewars/Makefile
blob: b7acf8b14d58eb2e150710e32b98ced474e79154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    dopewars
# Date created:         16 May 1999
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   dopewars
PORTVERSION=    1.5.1
CATEGORIES= games
MASTER_SITES=   http://dopewars.sourceforge.net/ \
        http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/

MAINTAINER= petef@FreeBSD.org

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GTK=    yes
USE_X_PREFIX=   yes

CONFIGURE_ARGS= --enable-nls

.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

.include <bsd.port.mk>