41 lines
874 B
Makefile
41 lines
874 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_AUTOTOOLS= libtool:13
|
|
USE_REINPLACE= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} <= 500000
|
|
USE_GCC= 3.4+
|
|
.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>
|