2013-09-02 00:50:06 +02:00
|
|
|
|
# Created by: Bj<42>rn K<>nig <bkoenig@alpha-tierchen.de>
|
2008-02-19 09:46:37 +01:00
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
|
|
PORTNAME= libvisual
|
|
|
|
|
PORTVERSION= 0.4.0
|
2014-09-18 23:00:30 +02:00
|
|
|
|
PORTREVISION= 4
|
2008-02-19 09:46:37 +01:00
|
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugins/${PORTNAME}-plugins-${PORTVERSION}
|
2008-02-19 09:46:37 +01:00
|
|
|
|
PKGNAMESUFFIX= 04-plugins
|
|
|
|
|
DISTNAME= ${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${PORTVERSION}
|
|
|
|
|
|
|
|
|
|
MAINTAINER= bkoenig@alpha-tierchen.de
|
|
|
|
|
COMMENT= Set of plugins for the libvisual framework
|
|
|
|
|
|
2014-06-19 17:48:40 +02:00
|
|
|
|
LIB_DEPENDS= libvisual-${MAJORMINOR}.so:${PORTSDIR}/graphics/libvisual04
|
2008-02-19 09:46:37 +01:00
|
|
|
|
|
2014-09-18 23:00:30 +02:00
|
|
|
|
USES= libtool pkgconfig
|
2008-02-19 09:46:37 +01:00
|
|
|
|
USE_GL= yes
|
2008-03-22 15:48:03 +01:00
|
|
|
|
USE_XORG= x11
|
2008-02-19 09:46:37 +01:00
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
CONFIGURE_ARGS= --disable-alsa \
|
|
|
|
|
--disable-mplayer \
|
|
|
|
|
--disable-gstreamer-plugin \
|
|
|
|
|
--disable-gdkpixbuf-plugin \
|
|
|
|
|
--disable-gforce \
|
|
|
|
|
--disable-jess \
|
|
|
|
|
--prefix=${PREFIX}
|
2011-09-24 00:26:39 +02:00
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-09-18 23:00:30 +02:00
|
|
|
|
INSTALL_TARGET= install-strip
|
2008-02-19 09:46:37 +01:00
|
|
|
|
|
|
|
|
|
MAJORMINOR= ${PORTVERSION:C/.[0-9]+$//}
|
|
|
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/share/${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${MAJORMINOR}
|
|
|
|
|
PLIST_SUB= PLUGINS_BASE_DIR=${LOCALBASE}/lib/${PORTNAME}-${MAJORMINOR} \
|
|
|
|
|
DATADIR_REL=${DATADIR_REL}
|
|
|
|
|
|
2014-09-18 23:00:30 +02:00
|
|
|
|
post-patch:
|
2008-02-19 09:46:37 +01:00
|
|
|
|
# link some plugins with libGLU because they need it
|
|
|
|
|
@${REINPLACE_CMD} -e 's,^\(LDFLAGS = \),\1-lGLU ,' \
|
|
|
|
|
${WRKSRC}/plugins/actor/lv_gltest/Makefile.in \
|
|
|
|
|
${WRKSRC}/plugins/actor/nastyfft/Makefile.in \
|
|
|
|
|
${WRKSRC}/plugins/actor/pseudotoad_flower/Makefile.in
|
|
|
|
|
# don't install message catalogs
|
|
|
|
|
@${REINPLACE_CMD} -e 's,^\(SUBDIRS = plugins\) po,\1,' \
|
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
2009-01-05 21:36:33 +01:00
|
|
|
|
.include <bsd.port.mk>
|