From 5def19467a92333ad7d2cb3c324c7a33b26be754 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 30 Jun 2017 22:15:03 +0000 Subject: [PATCH] Remove Perl core modules - Add LICENSE - Add NO_ARCH - Fix indent - Bump PORTREVISION for dependency change --- sysutils/reoback/Makefile | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/sysutils/reoback/Makefile b/sysutils/reoback/Makefile index 1edd43224ddf..7c20e004ab44 100644 --- a/sysutils/reoback/Makefile +++ b/sysutils/reoback/Makefile @@ -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