aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-20 23:28:09 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-20 23:28:09 +0800
commit2d48b02521ef6f4b507f226800f50bd847170f2c (patch)
tree9e3c38b0b86bc0f77861bfcf0f48ad262703fb3b /devel
parentea3ad52d722f497fbdcd99bf326303aa732d786c (diff)
downloadfreebsd-ports-gnome-2d48b02521ef6f4b507f226800f50bd847170f2c.tar.gz
freebsd-ports-gnome-2d48b02521ef6f4b507f226800f50bd847170f2c.tar.zst
freebsd-ports-gnome-2d48b02521ef6f4b507f226800f50bd847170f2c.zip
Support staging
Diffstat (limited to 'devel')
-rw-r--r--devel/p4delta/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/p4delta/Makefile b/devel/p4delta/Makefile
index 599407b12c2e..6a3d96679e64 100644
--- a/devel/p4delta/Makefile
+++ b/devel/p4delta/Makefile
@@ -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>