summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-06-27 00:08:30 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-06-27 00:08:30 +0800
commit7515f99280f80a19fe0c24848e32f517380a2c08 (patch)
tree19354e8ce6c3f98a7aef662fce2ebcc3f8104134
parenta15aa727a1f74283d0b26dd34d7344f8968e55bb (diff)
downloadmarcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar.gz
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar.bz2
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar.lz
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar.xz
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.tar.zst
marcuscom-ports-7515f99280f80a19fe0c24848e32f517380a2c08.zip
Add poppler-qt4
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9081 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/poppler-qt4/Makefile18
-rw-r--r--graphics/poppler-qt4/pkg-plist10
-rw-r--r--graphics/poppler/Makefile10
-rw-r--r--graphics/poppler/files/patch-qt4_Makefile.in11
-rw-r--r--graphics/poppler/files/patch-qt4_src_Makefile.in34
5 files changed, 81 insertions, 2 deletions
diff --git a/graphics/poppler-qt4/Makefile b/graphics/poppler-qt4/Makefile
new file mode 100644
index 000000000..34189dc62
--- /dev/null
+++ b/graphics/poppler-qt4/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: poppler-qt4
+# Date created: June 26, 2007
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTREVISION= 0
+PKGNAMESUFFIX= -qt4
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Qt4 bindings to poppler
+
+MASTERDIR= ${.CURDIR}/../../graphics/poppler
+SLAVEPORT= qt4
+PLIST= ${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/poppler-qt4/pkg-plist b/graphics/poppler-qt4/pkg-plist
new file mode 100644
index 000000000..e309bbb27
--- /dev/null
+++ b/graphics/poppler-qt4/pkg-plist
@@ -0,0 +1,10 @@
+include/poppler/qt4/poppler-annotation.h
+include/poppler/qt4/poppler-form.h
+include/poppler/qt4/poppler-link.h
+include/poppler/qt4/poppler-page-transition.h
+include/poppler/qt4/poppler-qt4.h
+lib/libpoppler-qt4.a
+lib/libpoppler-qt4.la
+lib/libpoppler-qt4.so
+lib/libpoppler-qt4.so.1
+@dirrm include/poppler/qt4
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile
index 1fb6f5ef5..a16c167e6 100644
--- a/graphics/poppler/Makefile
+++ b/graphics/poppler/Makefile
@@ -3,7 +3,7 @@
# Whom: marcus@FreeBSD.org
#
# $FreeBSD$
-# $MCom: ports/graphics/poppler/Makefile,v 1.32 2007/06/20 13:33:13 ahze Exp $
+# $MCom: ports/graphics/poppler/Makefile,v 1.33 2007/06/20 17:12:04 ahze Exp $
#
PORTNAME= poppler
@@ -46,7 +46,13 @@ CONFIGURE_ARGS+=--enable-poppler-qt
USE_QT_VER+= 3
BUILD_WRKSRC= ${WRKSRC}/qt
INSTALL_WRKSRC= ${WRKSRC}/qt
-# blah.. USE_QT_VER can't be defined after bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.kde.mk"
+.elif ${SLAVEPORT}=="qt4"
+CONFIGURE_ARGS+=--enable-poppler-qt4
+USE_QT_VER+= 4
+QT_COMPONENTS= gui corelib xml qtestlib
+BUILD_WRKSRC= ${WRKSRC}/qt4
+INSTALL_WRKSRC= ${WRKSRC}/qt4
.include "${PORTSDIR}/Mk/bsd.kde.mk"
.elif ${SLAVEPORT}=="utils"
CONFIGURE_ARGS+=--enable-utils
diff --git a/graphics/poppler/files/patch-qt4_Makefile.in b/graphics/poppler/files/patch-qt4_Makefile.in
new file mode 100644
index 000000000..13f33860c
--- /dev/null
+++ b/graphics/poppler/files/patch-qt4_Makefile.in
@@ -0,0 +1,11 @@
+--- qt4/Makefile.in.orig Tue Jun 26 10:47:02 2007
++++ qt4/Makefile.in Tue Jun 26 10:47:17 2007
+@@ -220,7 +220,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SUBDIRS = src tests
++SUBDIRS = src
+ all: all-recursive
+
+ .SUFFIXES:
diff --git a/graphics/poppler/files/patch-qt4_src_Makefile.in b/graphics/poppler/files/patch-qt4_src_Makefile.in
new file mode 100644
index 000000000..316d56611
--- /dev/null
+++ b/graphics/poppler/files/patch-qt4_src_Makefile.in
@@ -0,0 +1,34 @@
+--- qt4/src/Makefile.in.orig Tue Jun 26 10:39:41 2007
++++ qt4/src/Makefile.in Tue Jun 26 10:44:32 2007
+@@ -37,8 +37,8 @@
+ POST_UNINSTALL = :
+ build_triplet = @build@
+ host_triplet = @host@
+-@BUILD_SPLASH_OUTPUT_TRUE@am__append_1 = \
+-@BUILD_SPLASH_OUTPUT_TRUE@ $(top_builddir)/poppler/libpoppler-arthur.la
++@BUILD_SPLASH_OUTPUT_TRUE@am__append_1 =
++@BUILD_SPLASH_OUTPUT_TRUE@
+
+ subdir = qt4/src
+ DIST_COMMON = $(poppler_include_HEADERS) $(srcdir)/Makefile.am \
+@@ -64,9 +64,9 @@
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-@BUILD_SPLASH_OUTPUT_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/poppler/libpoppler-arthur.la
++@BUILD_SPLASH_OUTPUT_TRUE@am__DEPENDENCIES_2 =
+ libpoppler_qt4_la_DEPENDENCIES = \
+- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+ am_libpoppler_qt4_la_OBJECTS = poppler-document.lo poppler-page.lo \
+ poppler-fontinfo.lo poppler-embeddedfile.lo poppler-textbox.lo \
+@@ -295,7 +295,7 @@
+ poppler-link-extractor-private.h \
+ poppler-private.h
+
+-libpoppler_qt4_la_LIBADD = $(top_builddir)/poppler/libpoppler.la \
++libpoppler_qt4_la_LIBADD = -lpoppler -lm \
+ $(FONTCONFIG_LIBS) $(POPPLER_QT4_LIBS) $(am__append_1)
+ libpoppler_qt4_la_LDFLAGS = -version-info 1:0:0
+ all: all-am