summaryrefslogtreecommitdiff
path: root/games/xscorch/Makefile
blob: f4892a6318b2b4a61cbac5fdfb7a4baaaff7a83d (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
# New ports collection makefile for:	xscorch
# Date created:				19 Apr 2000
# Whom:					will
#
# $FreeBSD$
#

PORTNAME=	xscorch
PORTVERSION=	0.1.9
CATEGORIES=	games
MASTER_SITES=	http://chaos2.org/xscorch/

MAINTAINER=	will@FreeBSD.org

LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
		mikmod.2:${PORTSDIR}/audio/libmikmod
.if defined(WITH_GNOME)
LIB_DEPENDS+=	gnome.4:${PORTSDIR}/x11/gnomelibs
.endif

GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-gtk
.if defined(WITH_GNOME)
CONFIGURE_ARGS+=--with-gnome
.else
CONFIGURE_ARGS+=--without-gnome
.endif
CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}"
USE_GMAKE=	yes
CFLAGS+=	-g

MAN6=		xscorch.6

.include <bsd.port.mk>