mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
PORTNAME= libpst
|
|
PORTVERSION= 0.6.76
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail converters
|
|
MASTER_SITES= https://www.five-ten-sg.com/libpst/packages/ \
|
|
https://fossies.org/unix/privat/ \
|
|
LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Tool for converting Outlook .pst files to mbox and other formats
|
|
WWW= https://www.five-ten-sg.com/libpst/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgsf-1.so:devel/libgsf
|
|
|
|
USES= gmake iconv libtool pathfix pkgconfig
|
|
|
|
CONFIGURE_ARGS= --disable-python --enable-libpst-shared
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS PST2DII
|
|
OPTIONS_SUB= yes
|
|
PST2DII_DESC= Allow Summation Document Image Information output
|
|
|
|
PST2DII_CONFIGURE_ENABLE= dii
|
|
PST2DII_LIB_DEPENDS= libgd.so:graphics/gd
|
|
PST2DII_USES= localbase magick:build,run
|
|
|
|
post-patch:
|
|
@${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g'
|
|
@${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in
|
|
@${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|