aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/textmail/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/textmail/Makefile b/mail/textmail/Makefile
index 43159831f17..07d04a6be84 100644
--- a/mail/textmail/Makefile
+++ b/mail/textmail/Makefile
@@ -3,7 +3,7 @@
PORTNAME= textmail
PORTVERSION= 20070803
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= http://raf.org/textmail/ CENKES
@@ -16,12 +16,11 @@ RUN_DEPENDS= antiword:${PORTSDIR}/textproc/antiword \
lynx:${PORTSDIR}/www/lynx \
pdftotext:${PORTSDIR}/graphics/poppler-utils
-USES= perl5
-PLIST_FILES= bin/${PORTNAME}
+USES= perl5 shebangfix
+SHEBANG_FILES= ${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
NO_WRKSUBDIR= yes
-MAN1= ${PORTNAME}.1
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '3s|^|\${.newline}$$ENV{'PATH'} = "${LOCALBASE}/libexec/xpdf:$$ENV{'PATH'}";\${.newline}|' ${WRKSRC}/${PORTNAME}
@@ -29,7 +28,7 @@ do-build:
@cd ${WRKSRC}/&&pod2man ${PORTNAME}>${PORTNAME}.1
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>