2013-04-23 12:47:02 +02:00
|
|
|
# Created by: Koop Mast <kwm@FreeBSD.org>
|
2004-11-30 22:52:52 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
# WARNING: when updating this port check if the ports that use libvisual
|
2007-07-02 20:07:36 +02:00
|
|
|
# can work with it. Backwards compatibility is known to be broken in the past.
|
2004-11-30 22:52:52 +01:00
|
|
|
|
|
|
|
PORTNAME= libvisual
|
2005-03-20 20:35:32 +01:00
|
|
|
PORTVERSION= 0.2.0
|
2008-06-23 01:05:42 +02:00
|
|
|
PORTREVISION= 3
|
2004-11-30 22:52:52 +01:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2004-11-30 22:52:52 +01:00
|
|
|
|
2006-04-15 01:25:09 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-11-30 22:52:52 +01:00
|
|
|
COMMENT= Abstraction library that sits between apps and visual plugin
|
|
|
|
|
2013-04-23 12:47:02 +02:00
|
|
|
USES= pathfix pkgconfig
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
2008-04-16 01:05:37 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
|
|
|
CFLAGS+= -mmmx
|
|
|
|
.endif
|
2004-11-30 22:52:52 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
|
|
|
|
-e 's|-O3|${CFLAGS}|g' \
|
|
|
|
${WRKSRC}/libvisual/Makefile.in
|
|
|
|
|
2008-04-16 01:05:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|