aboutsummaryrefslogblamecommitdiffstats
path: root/sysutils/rsyncbackup/Makefile
blob: 5bcd87039e48d315a5e165a82da494a84220f232 (plain) (tree)
1
2
3
4
5
6
7
8
9
                         
           
                           
                   
                        
                                                                         
 
                                       
                                              
                      
 
                               


                                                                         
                            
                   
                   

                           
                    
 

                                                                        
                                 
                                                          
       
                   
                                                                        
                      
# Created by: Daniel Bond
# $FreeBSD$

PORTNAME=   rsyncbackup
PORTVERSION=    1.1
CATEGORIES= sysutils
MASTER_SITES=   http://BSDforge.com/projects/source/sysutils/rsyncbackup/

MAINTAINER= portmaster@bsdforge.com
COMMENT=    Rsync frontend written in Perl

LICENSE=    GPLv2+

RUN_DEPENDS=    rsync:net/rsync

CONFIGSRC=  ${WRKSRC}/config
CONFIGFILES=    backupset.conf config.conf destinations.conf sources.conf

USES=       perl5 tar:xz
NO_BUILD=   yes
NO_ARCH=    yes

SUB_FILES=  pkg-message

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${ETCDIR}
.for configfile in ${CONFIGFILES}
    ${INSTALL_DATA} ${CONFIGSRC}/${configfile} \
        ${STAGEDIR}${ETCDIR}/${configfile}.example
.endfor

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>