3ca3ffe455
Release 0.82.0: core: * Fix not being able to open some files. Issue #832 * Fix crashes in malformed files * Fix memory leak on broken files * Minor performance improvements * Minor code improvements glib: * Add poppler_document_new_from_bytes * PopplerAttachment: Silence deprecation warnings for ctime/mtime build system: * pdf-inspector: Support builddir != srcdir * Install Cairo* headers if Cairo has been found Thanks to adridg@ for fixing all the fallout. Exp-run by: antoine PR: 241532 Approved by: gnome (kwm, implicit)
35 lines
928 B
Makefile
35 lines
928 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= textmail
|
|
PORTVERSION= 20070803
|
|
PORTREVISION= 9
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://raf.org/textmail/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Converts e-mail attachments to plain-text
|
|
|
|
RUN_DEPENDS= antiword:textproc/antiword \
|
|
catdoc:textproc/catdoc \
|
|
xls2csv:textproc/catdoc \
|
|
lynx:www/lynx \
|
|
pdftotext:graphics/poppler-utils
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
NO_WRKSUBDIR= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '3s|^|\${.newline}$$ENV{'PATH'} = "${LOCALBASE}/libexec/xpdf:$$ENV{'PATH'}";\${.newline}|' ${WRKSRC}/${PORTNAME}
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}/&&pod2man ${PORTNAME}>${PORTNAME}.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|