diff options
author | mich <mich@FreeBSD.org> | 2014-06-27 20:47:26 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2014-06-27 20:47:26 +0800 |
commit | 33bd79cbf55939a624f4da4d03786fac54ea47c5 (patch) | |
tree | 1f6bb3aa36f93dbca94149f279c2c184b1362ad2 /net-mgmt | |
parent | 4ec327c45042af0af20380145ad7a4327f9df14f (diff) | |
download | freebsd-ports-graphics-33bd79cbf55939a624f4da4d03786fac54ea47c5.tar.gz freebsd-ports-graphics-33bd79cbf55939a624f4da4d03786fac54ea47c5.tar.zst freebsd-ports-graphics-33bd79cbf55939a624f4da4d03786fac54ea47c5.zip |
- add support for staging
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/remarp/Makefile | 11 | ||||
-rw-r--r-- | net-mgmt/remarp/pkg-plist | 1 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/remarp/Makefile b/net-mgmt/remarp/Makefile index aa9566949d8..cd08ee1eaf7 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 ca539473cd5..b4a69caad40 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 |