1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-20 15:28:09 +00:00
parent 60a9f93d5f
commit 22d4814024
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348701

View File

@ -14,15 +14,13 @@ RUN_DEPENDS= ${LOCALBASE}/bin/p4:${PORTSDIR}/devel/p4
USE_RUBY= yes
NO_BUILD= yes
NO_STAGE= yes
PLIST_FILES= bin/p4delta man/man1/p4delta.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|^#!/usr/bin/ruby|#!${RUBY}|' ${WRKSRC}/p4delta
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/p4delta.1 ${PREFIX}/man/man1/
MAN1= p4delta.1
PLIST_FILES= bin/p4delta
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/p4delta.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>