summaryrefslogtreecommitdiffstats
path: root/graphics/xmms-goom/Makefile
blob: 5be6a6ae80312301cbe9487462ec77dead5b73f8 (plain)
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
42
43
44
45
46
# New ports collection makefile for:	xmms-goom
# Date created:				20 Jan 2002
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	goom
PORTVERSION=	1.8.1
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	goom
PKGNAMEPREFIX=	xmms-
DISTNAME=	xmms-goom_${PORTVERSION:S/.p/pre/}-2
EXTRACT_SUFX=	.tgz

MAINTAINER=	dyeske@yahoo.com
COMMENT=	A cool XMMS visualization

BUILD_DEPENDS=	xmms-config:${PORTSDIR}/multimedia/xmms \
		nasm:${PORTSDIR}/devel/nasm
RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms

PLIST_FILES=	lib/xmms/Visualization/libgoom.so
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	gdkpixbuf
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=		"Does not compile on !i386"
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g; \
		s|-lgtk|`${GTK_CONFIG} --libs`|g; \
		s|-O9||' \
		${BUILD_WRKSRC}/src/Makefile.in

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud