1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add corona 1.0.2,

Corona is an image input/output library that can read, write,
and manipulate image files in just a few lines of code. It can
write PNG and TGA files, and read PNG, JPEG, PCX, BMP, TGA, and
GIF. Corona was designed to be easy to use, and exports a
straightforward C++ API. With just a few lines of C++, you can
add image loading to your application.

PR:		ports/67433
Submitted by:	David Yeske <dyeske@yahoo.com>
This commit is contained in:
Kirill Ponomarev 2004-06-01 13:13:15 +00:00
parent 3e1814216f
commit 3c0bf3b7c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110604
5 changed files with 60 additions and 0 deletions

View File

@ -35,6 +35,7 @@
SUBDIR += cinepaint
SUBDIR += claraocr
SUBDIR += compupic
SUBDIR += corona
SUBDIR += cqcam
SUBDIR += crw
SUBDIR += cthumb

40
graphics/corona/Makefile Normal file
View File

@ -0,0 +1,40 @@
# 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= yes
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>

2
graphics/corona/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (corona-1.0.2.tar.gz) = 29d1a7f1e2c85a83e9620496c62740ce
SIZE (corona-1.0.2.tar.gz) = 233675

11
graphics/corona/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Corona is an image input/output library that can read, write, and
manipulate image files in just a few lines of code. It can write
PNG and TGA files, and read PNG, JPEG, PCX, BMP, TGA, and GIF.
Corona was designed to be easy to use, and exports a straightforward
C++ API. With just a few lines of C++, you can add image loading
to your application.
WWW: http://corona.sourceforge.net/
- David
dyeske@yahoo.com

View File

@ -0,0 +1,6 @@
bin/corconvert
bin/corona-config
include/corona.h
lib/libcorona-1.0.2.so
lib/libcorona.a
lib/libcorona.so