mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Remove Perl core modules
- Add LICENSE - Add NO_ARCH - Fix indent - Bump PORTREVISION for dependency change
This commit is contained in:
parent
46cabb6a2d
commit
5def19467a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444807
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= reoback
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Release%203
|
||||
EXTRACT_SUFX= _r3.tar.gz
|
||||
@ -11,23 +11,25 @@ EXTRACT_SUFX= _r3.tar.gz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Simple but flexible ftp/nfs backup script
|
||||
|
||||
RUN_DEPENDS= p5-Net>=0:net/p5-Net
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/docs/LICENSE
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
USES= perl5
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/home/sforge/reoback/settings.conf,${PREFIX}/etc/reoback/settings.conf,g' ${WRKSRC}/run_reoback.sh
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/home/sforge/reoback/reoback.pl,${PREFIX}/bin/reoback.pl,g' ${WRKSRC}/run_reoback.sh
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,^#!/usr/bin/perl -W,#!${PERL} -w,g' reoback.pl
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/home/sforge/reoback/settings.conf,${PREFIX}/etc/reoback/settings.conf,g' ${WRKSRC}/run_reoback.sh
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/home/sforge/reoback/reoback.pl,${PREFIX}/bin/reoback.pl,g' ${WRKSRC}/run_reoback.sh
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,^#!/usr/bin/perl -W,#!${PERL} -w,g' reoback.pl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/reoback.pl ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/run_reoback.sh ${STAGEDIR}${PREFIX}/bin/
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/reoback
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/settings.conf ${STAGEDIR}${PREFIX}/etc/reoback/settings.conf.dist
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/files.conf ${STAGEDIR}${PREFIX}/etc/reoback/files.conf.dist
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/man/reoback.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/man/reoback.pl.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/reoback.pl ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/run_reoback.sh ${STAGEDIR}${PREFIX}/bin/
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/reoback
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/settings.conf ${STAGEDIR}${PREFIX}/etc/reoback/settings.conf.dist
|
||||
${INSTALL_DATA} ${WRKSRC}/conf/files.conf ${STAGEDIR}${PREFIX}/etc/reoback/files.conf.dist
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/man/reoback.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/man/reoback.pl.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user