blob: 08b1c4734a486a358e023fb78700069c21772cb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: textmail
# Date created: 8 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= textmail
PORTVERSION= 20070803
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://raf.org/textmail/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Converts e-mail attachments to plain-text
RUN_DEPENDS= antiword:${PORTSDIR}/textproc/antiword \
catdoc:${PORTSDIR}/textproc/catdoc \
xls2csv:${PORTSDIR}/textproc/catdoc \
lynx:${PORTSDIR}/www/lynx \
pdftotext:${PORTSDIR}/graphics/xpdf
USE_PERL5= yes
PLIST_FILES= bin/${PORTNAME}
NO_WRKSUBDIR= yes
MAN1= ${PORTNAME}.1
do-build:
@cd ${WRKSRC}/&&pod2man ${PORTNAME}>${PORTNAME}.1
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>
|