freebsd-ports/graphics/xmms-goom/Makefile
2007-07-05 23:39:06 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: xmms-goom
# Date created: 20 Jan 2002
# Whom: David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#
PORTNAME= goom
PORTVERSION= 1.8.1
PORTREVISION= 3
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@gmail.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
GNU_CONFIGURE= yes
USE_LDCONFIG= 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
@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
.include <bsd.port.post.mk>