Add new port graphics/libpgf (prerequisite for digikam update):

The Progressive Graphics File (PGF) is an efficient image file format that is
based on a fast, discrete wavelet transform with progressive coding features.
PGF can be used for lossless and lossy compression.

WWW: http://www.libpgf.org

Submitted by:	Jason E. Hale <bsdkaffee at gmail.com> via area51 commit
This commit is contained in:
Max Brazhnikov
2012-07-30 20:19:18 +00:00
parent de8e4b4d20
commit 3b283a57f4
6 changed files with 76 additions and 0 deletions

View File

@@ -496,6 +496,7 @@
SUBDIR += libpano12
SUBDIR += libpano13
SUBDIR += libpcd
SUBDIR += libpgf
SUBDIR += libprojectm
SUBDIR += libpuzzle
SUBDIR += libqglviewer

32
graphics/libpgf/Makefile Normal file
View File

@@ -0,0 +1,32 @@
# New ports collection makefile for: libpgf
# Date Created: 2012-06-04
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libpgf
PORTVERSION= 6.12.24
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-latest/ \
SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Progressive Graphics Format (PGF) library
LICENSE= LGPL21
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
USE_LDCONFIG= yes
LIBTOOLIZE_ARGS=--copy --force
AUTOMAKE_ARGS= --add-missing --copy
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
WRKSRC= ${WRKDIR}/${PORTNAME}
pre-configure:
@cd ${WRKSRC}; ${TOUCH} NEWS AUTHORS
.include <bsd.port.mk>

2
graphics/libpgf/distinfo Normal file
View File

@@ -0,0 +1,2 @@
SHA256 (libpgf-6.12.24-src.tar.gz) = cac10171df721accccee347990f7385f62932b2c456519bb8b87c4cd6974f973
SIZE (libpgf-6.12.24-src.tar.gz) = 1219261

View File

@@ -0,0 +1,26 @@
--- ./Makefile.am.orig 2012-06-05 08:24:12.000000000 -0400
+++ ./Makefile.am 2012-06-05 08:26:55.000000000 -0400
@@ -1,9 +1,9 @@
SUBDIRS = src include
-if HAS_DOXYGEN
-SUBDIRS += doc
-endif
+#if HAS_DOXYGEN
+#SUBDIRS += doc
+#endif
PACKAGE = @PACKAGE@
VERSION = @VERSION@
@@ -20,8 +20,8 @@
RPMRELEASE=$(PACKAGE_RELEASE)
install-data-local:: $(PACKAGE).pc
- $(mkinstalldirs) $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(libdir)/pkgconfig/$(PACKAGE).pc
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/libdata/pkgconfig
+ $(INSTALL) -m 644 $(PACKAGE).pc $(DESTDIR)$(prefix)/libdata/pkgconfig/$(PACKAGE).pc
.PHONY: ChangeLog

View File

@@ -0,0 +1,5 @@
The Progressive Graphics File (PGF) is an efficient image file format that is
based on a fast, discrete wavelet transform with progressive coding features.
PGF can be used for lossless and lossy compression.
WWW: http://www.libpgf.org

10
graphics/libpgf/pkg-plist Normal file
View File

@@ -0,0 +1,10 @@
include/libpgf/PGFimage.h
include/libpgf/PGFplatform.h
include/libpgf/PGFstream.h
include/libpgf/PGFtypes.h
lib/libpgf.a
lib/libpgf.la
lib/libpgf.so
lib/libpgf.so.6
libdata/pkgconfig/libpgf.pc
@dirrm include/libpgf