summaryrefslogtreecommitdiff
path: root/audio/soundtracker/Makefile
blob: 1c21963526adbb80d558ff79b683233588fa007e (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
38
39
40
41
# New ports collection makefile for:   soundtracker
# Date created:        28 November 1999
# Whom:                kzentner
#
# $FreeBSD$
#

PORTNAME=	soundtracker
PORTVERSION=	0.3.10
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.soundtracker.org/pub/soundtracker/v0.3/

MAINTAINER=	kzentner@u.washington.edu

LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

.if defined(USE_GNOME)
LIB_DEPENDS+=	gnome.3:${PORTSIDR}/x11/gnomelibs
.endif

GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
GNU_CONFIGURE=	YES

CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"

USE_X_PREFIX=   yes

.if defined(USE_GNOME)
CONFIGURE_ARGS+=	--enable-gnome
PLIST=			${PKGDIR}/PLIST.gnome
.else
CONFIGURE_ARGS+=	--disable-gnome
.endif

CONFIGURE_ENV+=		CPPFLAGS="-I${LOCALBASE}/include" \
			LIBS="-L${LOCALBASE}/lib"

post-install:
	@strip ${PREFIX}/bin/soundtracker

.include <bsd.port.mk>