aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-10-06 19:30:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-10-06 19:30:09 +0000
commitea204d50b567c959d98f08a16b36be03ebaa4e85 (patch)
tree72b6213ee35c0e9de59dda82cb4000c929e3bd2f
parent62c2d21fa3b5f1dc4361260a3a5d303cc30c4ab5 (diff)
downloadports-ea204d50b567c959d98f08a16b36be03ebaa4e85.tar.gz
ports-ea204d50b567c959d98f08a16b36be03ebaa4e85.zip
Notes
-rw-r--r--print/Makefile1
-rw-r--r--print/libmspub/Makefile5
-rw-r--r--print/libmspub/pkg-plist4
-rw-r--r--print/libmspub01/Makefile28
-rw-r--r--print/libmspub01/distinfo2
-rw-r--r--print/libmspub01/pkg-descr4
-rw-r--r--print/libmspub01/pkg-plist8
7 files changed, 47 insertions, 5 deletions
diff --git a/print/Makefile b/print/Makefile
index 14af75b8218f..619173921dba 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -112,6 +112,7 @@
SUBDIR += libharu
SUBDIR += libijs
SUBDIR += libmspub
+ SUBDIR += libmspub01
SUBDIR += libotf
SUBDIR += libpaper
SUBDIR += libppd
diff --git a/print/libmspub/Makefile b/print/libmspub/Makefile
index f248607b966a..0035d875218b 100644
--- a/print/libmspub/Makefile
+++ b/print/libmspub/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libmspub
PORTVERSION= 0.0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print graphics devel
MASTER_SITES= http://dev-www.libreoffice.org/src/
@@ -26,4 +26,7 @@ CONFIGURE_ARGS= --disable-werror --without-docs
CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
CPPFLAGS+= -I${LOCALBASE}/include
+post-stage:
+ @${RM} -f ${STAGEDIR}${PREFIX}/bin/pub*
+
.include <bsd.port.mk>
diff --git a/print/libmspub/pkg-plist b/print/libmspub/pkg-plist
index cde13d56dd19..25978732df0e 100644
--- a/print/libmspub/pkg-plist
+++ b/print/libmspub/pkg-plist
@@ -1,5 +1,3 @@
-bin/pub2raw
-bin/pub2xhtml
include/libmspub-0.0/libmspub/MSPUBDocument.h
include/libmspub-0.0/libmspub/MSPUBStringVector.h
include/libmspub-0.0/libmspub/libmspub.h
@@ -7,5 +5,3 @@ lib/libmspub-0.0.so
lib/libmspub-0.0.so.0
lib/libmspub-0.0.so.0.0.6
libdata/pkgconfig/libmspub-0.0.pc
-@dirrm include/libmspub-0.0/libmspub
-@dirrm include/libmspub-0.0
diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile
new file mode 100644
index 000000000000..a76de788bf92
--- /dev/null
+++ b/print/libmspub01/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= libmspub
+PORTVERSION= 0.1.0
+CATEGORIES= print graphics devel
+MASTER_SITES= http://dev-www.libreoffice.org/src/
+PKGNAMESUFFIX= 01
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Library and tools for parsing Microsoft Publisher file format
+
+LICENSE= LGPL21 MPL GPLv2
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \
+ librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USES= libtool pathfix pkgconfig tar:xz
+INSTALL_TARGET= install-strip
+
+CONFIGURE_ARGS= --disable-werror --without-docs
+CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
+CPPFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.mk>
diff --git a/print/libmspub01/distinfo b/print/libmspub01/distinfo
new file mode 100644
index 000000000000..4aa3c2431d73
--- /dev/null
+++ b/print/libmspub01/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libmspub-0.1.0.tar.xz) = ae6cd49d3595e37c83e12e60b1da8134372b71fbc08511b20daf52455d701f0d
+SIZE (libmspub-0.1.0.tar.xz) = 339632
diff --git a/print/libmspub01/pkg-descr b/print/libmspub01/pkg-descr
new file mode 100644
index 000000000000..64c9a0c71933
--- /dev/null
+++ b/print/libmspub01/pkg-descr
@@ -0,0 +1,4 @@
+Libmspub is library providing ability to interpret and import Microsoft
+Publisher content into various applications.
+
+WWW: http://www.freedesktop.org/wiki/Software/libmspub/
diff --git a/print/libmspub01/pkg-plist b/print/libmspub01/pkg-plist
new file mode 100644
index 000000000000..22e71e1a504f
--- /dev/null
+++ b/print/libmspub01/pkg-plist
@@ -0,0 +1,8 @@
+bin/pub2raw
+bin/pub2xhtml
+include/libmspub-0.1/libmspub/MSPUBDocument.h
+include/libmspub-0.1/libmspub/libmspub.h
+lib/libmspub-0.1.so
+lib/libmspub-0.1.so.1
+lib/libmspub-0.1.so.1.0.0
+libdata/pkgconfig/libmspub-0.1.pc