aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2013-12-30 22:30:07 +0800
committercrees <crees@FreeBSD.org>2013-12-30 22:30:07 +0800
commit75854122e97f87c94691680af71bc14b354bc7e9 (patch)
treeef15acda5b935025287ea394893e0a578ccdf97d /graphics
parent2e3fbeb740c905ca516e6201a5552db9069dfe40 (diff)
downloadfreebsd-ports-gnome-75854122e97f87c94691680af71bc14b354bc7e9.tar.gz
freebsd-ports-gnome-75854122e97f87c94691680af71bc14b354bc7e9.tar.zst
freebsd-ports-gnome-75854122e97f87c94691680af71bc14b354bc7e9.zip
Final ports of mine staged
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libprojectm/Makefile14
-rw-r--r--graphics/projectm-libvisual/Makefile9
2 files changed, 6 insertions, 17 deletions
diff --git a/graphics/libprojectm/Makefile b/graphics/libprojectm/Makefile
index 51a5c4d8945f..5a8281c6327e 100644
--- a/graphics/libprojectm/Makefile
+++ b/graphics/libprojectm/Makefile
@@ -1,4 +1,3 @@
-# Created by: utisoft@gmail.com
# $FreeBSD$
PORTNAME= libprojectM
@@ -13,15 +12,14 @@ COMMENT= An awesome music visualiser
LICENSE= LGPL21
-LIB_DEPENDS= ftgl:${PORTSDIR}/graphics/ftgl \
- GLEW:${PORTSDIR}/graphics/glew \
- freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS= libftgl.so:${PORTSDIR}/graphics/ftgl \
+ libGLEW.so:${PORTSDIR}/graphics/glew \
+ libfreetype.so:${PORTSDIR}/print/freetype2
USES= cmake
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-NO_STAGE= yes
post-patch:
# Install config.inp.sample instead of overwriting user's file.
# Needs to be specific enough not to rename config.inp.in too!
@@ -35,10 +33,4 @@ post-patch:
@${REINPLACE_CMD} -e 's#^\(libdir=\).*#\1${PREFIX}/lib#' \
${WRKSRC}/${PORTNAME}.pc.in
-post-install:
- @if [ ! -f ${PREFIX}/share/projectM/config.inp ]; then \
- ${CP} -p ${PREFIX}/share/projectM/config.inp.sample \
- ${PREFIX}/share/projectM/config.inp ; \
- fi
-
.include <bsd.port.mk>
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'