mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- add support for staging
This commit is contained in:
parent
c9ec2cba51
commit
7ea34d643b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359515
@ -18,7 +18,6 @@ NO_BUILD= YES
|
|||||||
|
|
||||||
REMARP_SPOOL= /var/spool/remarp
|
REMARP_SPOOL= /var/spool/remarp
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
|
||||||
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/sbin/remarp.pl
|
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
|
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/lib/remarp/configure.pm
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/remarp
|
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/remarp
|
||||||
${MKDIR} ${REMARP_SPOOL}
|
${MKDIR} ${STAGEDIR}${REMARP_SPOOL}
|
||||||
${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${PREFIX}/etc/remarp.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${STAGEDIR}${PREFIX}/etc/remarp.conf.sample
|
||||||
${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${PREFIX}/${SITE_PERL_REL}/remarp
|
${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/remarp
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${PREFIX}/sbin/remarp
|
${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${STAGEDIR}${PREFIX}/sbin/remarp
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(BATCH)
|
.if !defined(BATCH)
|
||||||
|
@ -3,3 +3,4 @@ etc/remarp.conf.sample
|
|||||||
%%SITE_PERL%%/remarp/config.pm
|
%%SITE_PERL%%/remarp/config.pm
|
||||||
%%SITE_PERL%%/remarp/configure.pm
|
%%SITE_PERL%%/remarp/configure.pm
|
||||||
@dirrm %%SITE_PERL%%/remarp
|
@dirrm %%SITE_PERL%%/remarp
|
||||||
|
@unexec rmdir /var/spool/remarp || true
|
||||||
|
Loading…
Reference in New Issue
Block a user