svn commit: r338117 - in head/graphics: libprojectm projectm-libvisual
Chris Rees
crees at FreeBSD.org
Mon Dec 30 14:30:08 UTC 2013
Author: crees
Date: Mon Dec 30 14:30:07 2013
New Revision: 338117
URL: http://svnweb.freebsd.org/changeset/ports/338117
Log:
Final ports of mine staged
Modified:
head/graphics/libprojectm/Makefile
head/graphics/projectm-libvisual/Makefile
Modified: head/graphics/libprojectm/Makefile
==============================================================================
--- head/graphics/libprojectm/Makefile Mon Dec 30 14:20:08 2013 (r338116)
+++ head/graphics/libprojectm/Makefile Mon Dec 30 14:30:07 2013 (r338117)
@@ -1,4 +1,3 @@
-# Created by: utisoft at 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>
Modified: head/graphics/projectm-libvisual/Makefile
==============================================================================
--- head/graphics/projectm-libvisual/Makefile Mon Dec 30 14:20:08 2013 (r338116)
+++ head/graphics/projectm-libvisual/Makefile Mon Dec 30 14:30:07 2013 (r338117)
@@ -1,4 +1,3 @@
-# Created by: utisoft at gmail.com
# $FreeBSD$
PORTNAME= projectM-libvisual
@@ -12,21 +11,19 @@ COMMENT= Allows projectM to be used with
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'
More information about the svn-ports-all
mailing list