diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 18:54:40 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 18:54:40 +0000 |
commit | 58b9a5fa40cde4c64212c4d118277bec900acfd5 (patch) | |
tree | 45d078f277e185178f7f082427b508ad34e67d1f /mail | |
parent | b9153c0dc1fe0e631f9afb3e6cd6b57814900674 (diff) | |
download | ports-58b9a5fa40cde4c64212c4d118277bec900acfd5.tar.gz ports-58b9a5fa40cde4c64212c4d118277bec900acfd5.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/textmail/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/textmail/Makefile b/mail/textmail/Makefile index 43159831f174..07d04a6be84b 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> |