summaryrefslogtreecommitdiff
path: root/graphics/libpgf/patches
diff options
context:
space:
mode:
authorwiz <wiz>2014-07-22 17:36:49 +0000
committerwiz <wiz>2014-07-22 17:36:49 +0000
commitab8280bec9eb25b07fc327431b3f3af2b0bfd43c (patch)
tree299a678eee220b31ac4d3c9a6045b78bf472c00e /graphics/libpgf/patches
parent3399e5460d3b74c7a78f834848032d09825a3771 (diff)
downloadpkgsrc-ab8280bec9eb25b07fc327431b3f3af2b0bfd43c.tar.gz
Import libpgf-6.14.12 as graphics/libpgf, packaged for wip by Niclas
Rosenvik. LibPGF is a library for encoding and decoding the progressive graphics file (PGF) format. PGF is is based on discrete, fast wavelet transform with progressive coding features and has both lossy and lossless compression.
Diffstat (limited to 'graphics/libpgf/patches')
-rw-r--r--graphics/libpgf/patches/patch-configure.ac19
-rw-r--r--graphics/libpgf/patches/patch-doc_Makefile.am19
2 files changed, 38 insertions, 0 deletions
diff --git a/graphics/libpgf/patches/patch-configure.ac b/graphics/libpgf/patches/patch-configure.ac
new file mode 100644
index 00000000000..e4d4e1bf020
--- /dev/null
+++ b/graphics/libpgf/patches/patch-configure.ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure.ac,v 1.1 2014/07/22 17:36:49 wiz Exp $
+
+* add --enable-doc option
+https://sourceforge.net/p/libpgf/patches/8/
+
+--- configure.ac.orig 2014-06-18 08:16:27.000000000 +0000
++++ configure.ac
+@@ -30,8 +30,11 @@ AC_CONFIG_HEADERS( config.h )
+ AC_PROG_CXX
+
+ dnl Check for doxygen support
++AC_ARG_ENABLE([doc],[AS_HELP_STRING([--enable-doc],[build docs])])
++if test $enable_doc; then
+ AC_PATH_PROG([DOXYGEN], [doxygen])
+ AC_PATH_PROG([DOT], [dot])
++fi
+ AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN && $DOT)
+
+ # Generate output
diff --git a/graphics/libpgf/patches/patch-doc_Makefile.am b/graphics/libpgf/patches/patch-doc_Makefile.am
new file mode 100644
index 00000000000..fa32f1066a9
--- /dev/null
+++ b/graphics/libpgf/patches/patch-doc_Makefile.am
@@ -0,0 +1,19 @@
+$NetBSD: patch-doc_Makefile.am,v 1.1 2014/07/22 17:36:49 wiz Exp $
+
+* install manpages in mandir
+https://sourceforge.net/p/libpgf/patches/9/
+
+* do not install _usr_...3 manpage files
+https://sourceforge.net/p/libpgf/patches/10/
+
+--- doc/Makefile.am.orig 2013-10-25 11:24:17.000000000 +0000
++++ doc/Makefile.am
+@@ -11,6 +11,6 @@ html/index.html: Doxyfile
+
+ install-data-local: html/index.html
+ $(mkinstalldirs) $(DOC_DIR)/html
+- $(mkinstalldirs) $(DESTDIR)$(datadir)/man/man3
++ $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
+ -(cd html && for f in *.html *.png; do $(INSTALL) -m 644 "$$f" "$(DOC_DIR)/html/$$f"; done)
+- -(cd man/man3; for f in *.3; do $(INSTALL) -m 644 "$$f" "$(DESTDIR)$(datadir)/man/man3/$$f"; done)
++ -(cd man/man3; for f in [!_]*.3; do $(INSTALL) -m 644 "$$f" "$(DESTDIR)$(mandir)/man3/$$f"; done)