svn commit: r356831 - head/mail/textmail
Pawel Pekala
pawel at FreeBSD.org
Fri Jun 6 18:54:40 UTC 2014
Author: pawel
Date: Fri Jun 6 18:54:40 2014
New Revision: 356831
URL: http://svnweb.freebsd.org/changeset/ports/356831
QAT: https://qat.redports.org/buildarchive/r356831/
Log:
- Add staging support
- Fix shebang, bump PORTREVISIOn
Modified:
head/mail/textmail/Makefile
Modified: head/mail/textmail/Makefile
==============================================================================
--- head/mail/textmail/Makefile Fri Jun 6 18:47:40 2014 (r356830)
+++ head/mail/textmail/Makefile Fri Jun 6 18:54:40 2014 (r356831)
@@ -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}/textpr
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>
More information about the svn-ports-all
mailing list