freebsd-ports/graphics/libvisual04-plugins/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

49 lines
1.5 KiB
Makefile

# Created by: Björn König <bkoenig@alpha-tierchen.de>
PORTNAME= libvisual
PORTVERSION= 0.4.0
PORTREVISION= 6
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
BROKEN_FreeBSD_13= ld: error: duplicate symbol: _oink_table_cos
BROKEN_FreeBSD_14= ld: error: duplicate symbol: _oink_table_cos
LIB_DEPENDS= libvisual-${MAJORMINOR}.so:graphics/libvisual04
USES= gl libtool pkgconfig xorg
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>