aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-05-13 17:18:51 +0800
committerkwm <kwm@FreeBSD.org>2013-05-13 17:18:51 +0800
commit97343060e503ecfb9673855ff4408ee683b9819b (patch)
treed2e5d701610dd9df375979871cbed8465c28acb0
parentadcae0517442b388ab1a52d5cbe2fdef001b5127 (diff)
downloadfreebsd-ports-gnome-97343060e503ecfb9673855ff4408ee683b9819b.tar.gz
freebsd-ports-gnome-97343060e503ecfb9673855ff4408ee683b9819b.tar.zst
freebsd-ports-gnome-97343060e503ecfb9673855ff4408ee683b9819b.zip
Enable building the shared library.
PR: ports/178546 Submitted by: myself Approved by: maintainer
-rw-r--r--mail/libpst/Makefile6
-rw-r--r--mail/libpst/pkg-plist13
2 files changed, 17 insertions, 2 deletions
diff --git a/mail/libpst/Makefile b/mail/libpst/Makefile
index 4fc727603265..1b89d11193fe 100644
--- a/mail/libpst/Makefile
+++ b/mail/libpst/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libpst
PORTVERSION= 0.6.58
+PORTREVISION= 1
CATEGORIES= mail converters
MASTER_SITES= http://www.five-ten-sg.com/libpst/packages/ \
http://fossies.org/unix/privat/
@@ -16,10 +17,11 @@ LIB_DEPENDS= gsf-1:${PORTSDIR}/devel/libgsf
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USES= iconv
+USES= iconv pathfix
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
-CONFIGURE_ARGS+= --disable-python
+CONFIGURE_ARGS+= --disable-python --enable-libpst-shared
+USE_LDCONFIG= yes
MAN1= lspst.1 pst2dii.1 pst2ldif.1 readpst.1
MAN5= outlook.pst.5
diff --git a/mail/libpst/pkg-plist b/mail/libpst/pkg-plist
index 78705ec2711c..db8d408f33d4 100644
--- a/mail/libpst/pkg-plist
+++ b/mail/libpst/pkg-plist
@@ -3,3 +3,16 @@ bin/nick2ldif
bin/pst2ldif
bin/readpst
%%PST2DII%%bin/pst2dii
+include/libpst-4/libpst/common.h
+include/libpst-4/libpst/libpst.h
+include/libpst-4/libpst/libstrfunc.h
+include/libpst-4/libpst/lzfu.h
+include/libpst-4/libpst/timeconv.h
+include/libpst-4/libpst/vbuf.h
+lib/libpst.a
+lib/libpst.la
+lib/libpst.so
+lib/libpst.so.5
+libdata/pkgconfig/libpst.pc
+@dirrm include/libpst-4/libpst
+@dirrm include/libpst-4