blob: 9794605a179f401514c76419ef9f0426c4d7d513 (
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
47
|
# Created by: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$
PORTNAME= libvisual
PORTVERSION= 0.4.0
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugins/${PORTNAME}-plugins-${PORTVERSION}
PKGNAMESUFFIX= 04-plugins
DISTNAME= ${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${PORTVERSION}
MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Set of plugins for the libvisual framework
LIB_DEPENDS= libvisual-${MAJORMINOR}.so:graphics/libvisual04
USES= libtool pkgconfig
USE_GL= yes
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-alsa \
--disable-mplayer \
--disable-gstreamer-plugin \
--disable-gdkpixbuf-plugin \
--disable-gforce \
--disable-jess \
--prefix=${PREFIX}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
MAJORMINOR= ${PORTVERSION:C/.[0-9]+$//}
DATADIR= ${PREFIX}/share/${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${MAJORMINOR}
PLIST_SUB= PLUGINS_BASE_DIR=${LOCALBASE}/lib/${PORTNAME}-${MAJORMINOR}
post-patch:
# 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
.include <bsd.port.mk>
|