aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-05-25 12:13:40 +0800
committerdinoex <dinoex@FreeBSD.org>2012-05-25 12:13:40 +0800
commit0cef8c108acf730195461bf468d9f0655586c60e (patch)
treeab163b6897f9805e690f10a557d48069da12842c
parent0549bfeee8c44a04fe51c1ff19bcbccab748a12b (diff)
downloadfreebsd-ports-gnome-0cef8c108acf730195461bf468d9f0655586c60e.tar.gz
freebsd-ports-gnome-0cef8c108acf730195461bf468d9f0655586c60e.tar.zst
freebsd-ports-gnome-0cef8c108acf730195461bf468d9f0655586c60e.zip
- add pm_c_util.h to includes
Submitted by: Mikhail Teterin
-rw-r--r--graphics/netpbm/Makefile2
-rw-r--r--graphics/netpbm/files/patch-GNUmakefile8
-rw-r--r--graphics/netpbm/pkg-plist1
3 files changed, 8 insertions, 3 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 58ed36275a81..8b642412b05c 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netpbm
PORTVERSION= 10.35.84
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/netpbm/super_stable/${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -66,6 +67,7 @@ pre-build:
fi)
post-install:
+ @${INSTALL_DATA} ${WRKSRC}/lib/util/pm_c_util.h ${PREFIX}/include/
@${ECHO_MSG} "===> Installing man pages..."
@${REINPLACE_CMD} -e 's|doc/USERDOC|${DOCSDIR}/USERDOC|g' \
${WRKSRC}/doc/netpbm.1
diff --git a/graphics/netpbm/files/patch-GNUmakefile b/graphics/netpbm/files/patch-GNUmakefile
index 6601316b1dfa..10b9852f4ffb 100644
--- a/graphics/netpbm/files/patch-GNUmakefile
+++ b/graphics/netpbm/files/patch-GNUmakefile
@@ -1,11 +1,13 @@
--- GNUmakefile.orig 2008-09-27 03:37:09.000000000 +0200
-+++ GNUmakefile 2010-05-21 10:33:07.000000000 +0200
-@@ -361,7 +361,7 @@
++++ GNUmakefile 2012-05-25 06:01:31.000000000 +0200
+@@ -361,8 +361,8 @@
install.hdr: $(PKGDIR)/include
$(MAKE) -C lib -f $(SRCDIR)/lib/Makefile \
SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) install.hdr
- $(INSTALL) -c -m $(INSTALL_PERM_HDR) \
+- $(BUILDDIR)/pm_config.h $(PKGDIR)/include
+ ${BSD_INSTALL_DATA} \
- $(BUILDDIR)/pm_config.h $(PKGDIR)/include
++ $(BUILDDIR)/pm_config.h $(PKGDIR)/include/
ifeq ($(STATICLIB_TOO),y)
+ BUILD_STATIC = y
diff --git a/graphics/netpbm/pkg-plist b/graphics/netpbm/pkg-plist
index b38fbcdb734f..c17db85acce7 100644
--- a/graphics/netpbm/pkg-plist
+++ b/graphics/netpbm/pkg-plist
@@ -329,6 +329,7 @@ include/pbm.h
include/pbmfont.h
include/pgm.h
include/pm.h
+include/pm_c_util.h
include/pm_config.h
include/pm_gamma.h
include/pm_system.h