1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/graphics/libvisual/Makefile
Tijl Coosemans 96392494fc - Convert to USES=libtool and INSTALL_TARGET=install-strip
- Remove old patch for gcc 2.x
2014-08-22 19:38:15 +00:00

35 lines
865 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# WARNING: when updating this port check if the ports that use libvisual
# can work with it. Backwards compatibility is known to be broken in the past.
PORTNAME= libvisual
PORTVERSION= 0.2.0
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Abstraction library that sits between apps and visual plugin
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -mmmx
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
-e 's|-O3|${CFLAGS}|g' \
${WRKSRC}/libvisual/Makefile.in
.include <bsd.port.post.mk>