aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2014-03-19 23:53:04 +0800
committerale <ale@FreeBSD.org>2014-03-19 23:53:04 +0800
commit3d8fd4edd67f241a224e4cd059e27e0810a3a785 (patch)
tree8581c058c291665b9d0e05ec347879792cc0fd92 /print
parente9e6e81f08d573a3fd65d221d35a9dbe6b776c16 (diff)
downloadfreebsd-ports-gnome-3d8fd4edd67f241a224e4cd059e27e0810a3a785.tar.gz
freebsd-ports-gnome-3d8fd4edd67f241a224e4cd059e27e0810a3a785.tar.zst
freebsd-ports-gnome-3d8fd4edd67f241a224e4cd059e27e0810a3a785.zip
Fix installation of perl binding.
Diffstat (limited to 'print')
-rw-r--r--print/pdflib-perl/Makefile1
-rw-r--r--print/pdflib/Makefile2
-rw-r--r--print/pdflib/files/patch-bind_pdflib_perl_Makefile10
-rw-r--r--print/pdflib/pkg-plist2
4 files changed, 12 insertions, 3 deletions
diff --git a/print/pdflib-perl/Makefile b/print/pdflib-perl/Makefile
index 5f9b1898547b..bcebd6d08ec0 100644
--- a/print/pdflib-perl/Makefile
+++ b/print/pdflib-perl/Makefile
@@ -9,5 +9,4 @@ MASTERDIR= ${.CURDIR}/../pdflib
OPTIONS_DEFAULT=PERL
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/print/pdflib/Makefile b/print/pdflib/Makefile
index 94c7d064b6cc..d5ac89501a5f 100644
--- a/print/pdflib/Makefile
+++ b/print/pdflib/Makefile
@@ -11,7 +11,7 @@ DISTNAME= PDFlib-Lite-${PORTVERSION}p3
MAINTAINER= ale@FreeBSD.org
COMMENT= A C library for dynamically generating PDF
-RESTRICTED= many odd restrictions on usage and distribution
+RESTRICTED= Many odd restrictions on usage and distribution
OPTIONS_DEFINE= PERL JAVA
PERL_DESC= Build perl bindings
diff --git a/print/pdflib/files/patch-bind_pdflib_perl_Makefile b/print/pdflib/files/patch-bind_pdflib_perl_Makefile
new file mode 100644
index 000000000000..25197c733bdc
--- /dev/null
+++ b/print/pdflib/files/patch-bind_pdflib_perl_Makefile
@@ -0,0 +1,10 @@
+--- bind/pdflib/perl/Makefile.orig 2014-03-19 15:48:26.586002710 +0000
++++ bind/pdflib/perl/Makefile 2014-03-19 15:48:50.137000807 +0000
+@@ -55,6 +55,7 @@
+ ../../../progs/pdi/pdfcheck -i ../java/starter.ref -o -
+
+ install:: $(LIBNAME)
++ $(MKDIR) -p $(LANG_LIBDIR)
+ $(LIBTOOL) --mode=install \
+ $(INSTALL_DATA) $(LIBNAME) $(LANG_LIBDIR)
+ $(INSTALL_DATA) pdflib_pl.pm $(LANG_LIBDIR)
diff --git a/print/pdflib/pkg-plist b/print/pdflib/pkg-plist
index d6fcabae97f0..324f851fc94e 100644
--- a/print/pdflib/pkg-plist
+++ b/print/pdflib/pkg-plist
@@ -6,9 +6,9 @@ lib/libpdf.a
lib/libpdf.la
lib/libpdf.so
lib/libpdf.so.6
-%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.pm
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.a
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.la
+%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.pm
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.so
%%PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/pdflib_pl.so.0
%%JAVA%%lib/libpdf_java.a