aboutsummaryrefslogtreecommitdiff
path: root/graphics/libvisual04
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2011-03-23 21:34:44 +0000
committerAde Lovett <ade@FreeBSD.org>2011-03-23 21:34:44 +0000
commitabc3976ac8618c3d69f797ef3cfc0e81b3e95e6c (patch)
treec571a04d8b67536149569f767aae3c7c8a933cab /graphics/libvisual04
parent3cf6caf06cddf05450f09c31670cdf23e56cf173 (diff)
downloadports-abc3976ac8618c3d69f797ef3cfc0e81b3e95e6c.tar.gz
ports-abc3976ac8618c3d69f797ef3cfc0e81b3e95e6c.zip
Notes
Diffstat (limited to 'graphics/libvisual04')
-rw-r--r--graphics/libvisual04/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/libvisual04/Makefile b/graphics/libvisual04/Makefile
index 99c04046c8b0..2760c967d4f6 100644
--- a/graphics/libvisual04/Makefile
+++ b/graphics/libvisual04/Makefile
@@ -7,12 +7,12 @@
PORTNAME= libvisual
PORTVERSION= 0.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 04
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= utisoft@gmail.com
COMMENT= Abstraction library that sits between apps and visual plugin
USE_AUTOTOOLS= libtool
@@ -23,12 +23,18 @@ CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
-PLIST_SUB= VER=-0.4
+VER= -0.4
+PLIST_SUB= VER=${VER}
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g;s|-O3|${CFLAGS}|g' \
${WRKSRC}/libvisual/Makefile.in
@${REINPLACE_CMD} -e 's|sys/sched.h||g' -e '/test.*==/s|==|=|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|$$<|$${.ALLSRC}|g'
+ @${FIND} ${WRKSRC} -name "*.h" | ${XARGS} ${REINPLACE_CMD} \
+ -e 's#include <libvisual/#include <libvisual${VER}/libvisual/#'
+ @${MKDIR} -p ${WRKSRC}/${PORTNAME}/${PORTNAME}${VER}
+ @${LN} -s ${WRKSRC}/${PORTNAME} \
+ ${WRKSRC}/${PORTNAME}/${PORTNAME}${VER}/${PORTNAME}
.include <bsd.port.mk>