svn commit: r359515 - head/net-mgmt/remarp
Michael Landin Hostbaek
mich at FreeBSD.org
Fri Jun 27 12:47:27 UTC 2014
Author: mich
Date: Fri Jun 27 12:47:26 2014
New Revision: 359515
URL: http://svnweb.freebsd.org/changeset/ports/359515
QAT: https://qat.redports.org/buildarchive/r359515/
Log:
- add support for staging
Modified:
head/net-mgmt/remarp/Makefile
head/net-mgmt/remarp/pkg-plist
Modified: head/net-mgmt/remarp/Makefile
==============================================================================
--- head/net-mgmt/remarp/Makefile Fri Jun 27 12:40:36 2014 (r359514)
+++ head/net-mgmt/remarp/Makefile Fri Jun 27 12:47:26 2014 (r359515)
@@ -18,7 +18,6 @@ NO_BUILD= YES
REMARP_SPOOL= /var/spool/remarp
-NO_STAGE= yes
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/sbin/remarp.pl
@@ -28,11 +27,11 @@ pre-patch:
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/lib/remarp/configure.pm
do-install:
- ${MKDIR} ${PREFIX}/${SITE_PERL_REL}/remarp
- ${MKDIR} ${REMARP_SPOOL}
- ${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${PREFIX}/etc/remarp.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${PREFIX}/${SITE_PERL_REL}/remarp
- ${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${PREFIX}/sbin/remarp
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/remarp
+ ${MKDIR} ${STAGEDIR}${REMARP_SPOOL}
+ ${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${STAGEDIR}${PREFIX}/etc/remarp.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/remarp
+ ${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${STAGEDIR}${PREFIX}/sbin/remarp
post-install:
.if !defined(BATCH)
Modified: head/net-mgmt/remarp/pkg-plist
==============================================================================
--- head/net-mgmt/remarp/pkg-plist Fri Jun 27 12:40:36 2014 (r359514)
+++ head/net-mgmt/remarp/pkg-plist Fri Jun 27 12:47:26 2014 (r359515)
@@ -3,3 +3,4 @@ etc/remarp.conf.sample
%%SITE_PERL%%/remarp/config.pm
%%SITE_PERL%%/remarp/configure.pm
@dirrm %%SITE_PERL%%/remarp
+ at unexec rmdir /var/spool/remarp || true
More information about the svn-ports-all
mailing list