summaryrefslogtreecommitdiffstats
path: root/graphics/libvisual04/Makefile
blob: 3c2a22b1790dc5406f49c7562fd43e8baed10ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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
# can work with it. Backwards compatiblity is known to be broken in the past.

PORTNAME=	libvisual
PORTVERSION=	0.1.7
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	kwm@FreeBSD.org
COMMENT=	Abstraction library that sits between apps and visual plugin

USE_XLIBS=	yes
USE_GNOME=	gnomehack pkgconfig
USE_REINPLACE=	yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
		-e 's|-O3|${CFLAGS}|g' \
		${WRKSRC}/libvisual/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud