1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/libpst/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Nate Underwood <natey@natey.com>
# $FreeBSD$
PORTNAME= libpst
PORTVERSION= 0.6.72
CATEGORIES= mail converters
MASTER_SITES= http://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
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgsf-1.so:devel/libgsf
OPTIONS_DEFINE= DOCS PST2DII
OPTIONS_SUB= yes
PST2DII_DESC= Allow Summation Document Image Information output
CONFIGURE_ARGS= --disable-python --enable-libpst-shared
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= gmake iconv libtool pathfix pkgconfig
PORTDOCS= *
PST2DII_BUILD_DEPENDS= convert:graphics/ImageMagick6
PST2DII_CONFIGURE_OFF= --enable-dii=no
PST2DII_CONFIGURE_ON= --enable-dii=yes
PST2DII_LIB_DEPENDS= libgd.so:graphics/gd
PST2DII_RUN_DEPENDS= convert:graphics/ImageMagick6
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>