diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-07 02:54:40 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-07 02:54:40 +0800 |
commit | 9c78be6718464908d3962b4e7eb45f319b1f6031 (patch) | |
tree | 45d078f277e185178f7f082427b508ad34e67d1f /mail/textmail | |
parent | 2f37aa90dc7c693bf8628f67d25a42b1fa61f002 (diff) | |
download | freebsd-ports-gnome-9c78be6718464908d3962b4e7eb45f319b1f6031.tar.gz freebsd-ports-gnome-9c78be6718464908d3962b4e7eb45f319b1f6031.tar.zst freebsd-ports-gnome-9c78be6718464908d3962b4e7eb45f319b1f6031.zip |
- Add staging support
- Fix shebang, bump PORTREVISIOn
Diffstat (limited to 'mail/textmail')
-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> |