aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2014-06-27 12:47:26 +0000
committerMichael Landin <mich@FreeBSD.org>2014-06-27 12:47:26 +0000
commit7ea34d643b3e3594ea9e9a0e101139e5ac24e10b (patch)
tree1f6bb3aa36f93dbca94149f279c2c184b1362ad2 /net-mgmt
parentc9ec2cba51f093e2ad04c3d0c9311e35381d3b5b (diff)
downloadports-7ea34d643b3e3594ea9e9a0e101139e5ac24e10b.tar.gz
ports-7ea34d643b3e3594ea9e9a0e101139e5ac24e10b.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/remarp/Makefile11
-rw-r--r--net-mgmt/remarp/pkg-plist1
2 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/remarp/Makefile b/net-mgmt/remarp/Makefile
index aa9566949d86..cd08ee1eaf74 100644
--- a/net-mgmt/remarp/Makefile
+++ b/net-mgmt/remarp/Makefile
@@ -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)
diff --git a/net-mgmt/remarp/pkg-plist b/net-mgmt/remarp/pkg-plist
index ca539473cd5d..b4a69caad407 100644
--- a/net-mgmt/remarp/pkg-plist
+++ b/net-mgmt/remarp/pkg-plist
@@ -3,3 +3,4 @@ etc/remarp.conf.sample
%%SITE_PERL%%/remarp/config.pm
%%SITE_PERL%%/remarp/configure.pm
@dirrm %%SITE_PERL%%/remarp
+@unexec rmdir /var/spool/remarp || true