mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add staging support
- Fix shebang, bump PORTREVISIOn
This commit is contained in:
parent
b9153c0dc1
commit
58b9a5fa40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356831
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user