aboutsummaryrefslogtreecommitdiff
path: root/graphics/projectm-libvisual
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2013-12-30 14:30:07 +0000
committerChris Rees <crees@FreeBSD.org>2013-12-30 14:30:07 +0000
commit78a89fb7bef9683f807252e84bebd76af01de7bd (patch)
treeef15acda5b935025287ea394893e0a578ccdf97d /graphics/projectm-libvisual
parent0e10847841335c4eeaca6fc53d9b518182c200eb (diff)
downloadports-78a89fb7bef9683f807252e84bebd76af01de7bd.tar.gz
ports-78a89fb7bef9683f807252e84bebd76af01de7bd.zip
Notes
Diffstat (limited to 'graphics/projectm-libvisual')
-rw-r--r--graphics/projectm-libvisual/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/projectm-libvisual/Makefile b/graphics/projectm-libvisual/Makefile
index ab9f4a018a66..edb044087a4b 100644
--- a/graphics/projectm-libvisual/Makefile
+++ b/graphics/projectm-libvisual/Makefile
@@ -1,4 +1,3 @@
-# Created by: utisoft@gmail.com
# $FreeBSD$
PORTNAME= projectM-libvisual
@@ -12,21 +11,19 @@ COMMENT= Allows projectM to be used with libvisual
LICENSE= GPLv2
-LIB_DEPENDS= projectM:${PORTSDIR}/graphics/libprojectm \
- visual-${LIBVISUAL_VER}:${PORTSDIR}/graphics/libvisual${LIBVISUAL_VER:S/.//} \
- SDL:${PORTSDIR}/devel/sdl12
+LIB_DEPENDS= libprojectM.so:${PORTSDIR}/graphics/libprojectm \
+ libvisual-${LIBVISUAL_VER}.so:${PORTSDIR}/graphics/libvisual${LIBVISUAL_VER:S/.//} \
+ libSDL.so:${PORTSDIR}/devel/sdl12
USES= cmake pkgconfig
CMAKE_ARGS+= -DLIBVISUAL_LIBRARIES=visual-${LIBVISUAL_VER}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-USE_LDCONFIG= yes
LIBVISUAL_VER= 0.4
PLIST_FILES= lib/libvisual-${LIBVISUAL_VER}/actor/libprojectM_libvisual.so
PLIST_DIRS= lib/libvisual-${LIBVISUAL_VER}/actor \
lib/libvisual-${LIBVISUAL_VER}
-NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC} -name "*.[hc]*" | ${XARGS} ${REINPLACE_CMD} \
-e 's#<libvisual#<libvisual-${LIBVISUAL_VER}/libvisual#g'