freebsd-ports/graphics/corona/Makefile
2004-06-04 17:29:38 +00:00

40 lines
877 B
Makefile

# New ports collection makefile for: corona
# Date created: 25 May 2004
# Whom: David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
PORTNAME= corona
PORTVERSION= 1.0.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dyeske@yahoo.com
COMMENT= A graphics library that supports most image formats
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif
GNU_CONFIGURE= yes
USE_GNOME= gnometarget lthack
USE_LIBTOOL_VER=13
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 500000
BROKEN= "Bad C++ code"
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="${LIBS} -L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall||' \
${WRKSRC}/configure
.include <bsd.port.post.mk>