2004-11-30 22:52:52 +01:00
|
|
|
# New ports collection makefile for: libvisual
|
|
|
|
# Date created: 23 oktober 2004
|
|
|
|
# Whom: Koop Mast <kwm@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $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
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 1
|
2004-11-30 22:52:52 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
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
|
|
|
|
|
|
|
|
USE_XLIBS= yes
|
|
|
|
USE_GNOME= gnomehack pkgconfig
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-03-20 20:35:32 +01:00
|
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2006-08-15 01:06:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-11-30 22:52:52 +01:00
|
|
|
|
2005-03-20 20:35:32 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
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
|
|
|
|
|
2005-03-20 20:35:32 +01:00
|
|
|
.include <bsd.port.post.mk>
|