Lines 1-12
Link Here
|
1 |
# New ports collection makefile for: BackupPC |
1 |
# Created by: Alexander Moisseev <moiseev@mezonplus.ru> |
2 |
# Date created: 19 Aug 2010 |
2 |
# $FreeBSD$ |
3 |
# Whom: Alexander Moisseev <moiseev@mezonplus.ru> |
|
|
4 |
# |
5 |
# $FreeBSD: ports/sysutils/backuppc/Makefile,v 1.9 2012/12/16 06:16:58 svnexp Exp $ |
6 |
# |
7 |
|
3 |
|
8 |
PORTNAME= backuppc |
4 |
PORTNAME= backuppc |
9 |
PORTVERSION= 3.2.1 |
5 |
PORTVERSION= 3.3.0 |
10 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
11 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION} |
8 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION} |
Lines 15-21
Link Here
|
15 |
MAINTAINER= moiseev@mezonplus.ru |
11 |
MAINTAINER= moiseev@mezonplus.ru |
16 |
COMMENT= System for backing PCs and laptops to a server |
12 |
COMMENT= System for backing PCs and laptops to a server |
17 |
|
13 |
|
18 |
RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww |
14 |
RUN_DEPENDS= p5-File-Listing>=0:${PORTSDIR}/sysutils/p5-File-Listing |
19 |
|
15 |
|
20 |
NO_BUILD= yes |
16 |
NO_BUILD= yes |
21 |
|
17 |
|
Lines 34-64
Link Here
|
34 |
|
30 |
|
35 |
MAN1= ${PORTNAME}.1 |
31 |
MAN1= ${PORTNAME}.1 |
36 |
|
32 |
|
37 |
OPTIONS= COMPRESS_ZLIB "Perl5 interface to zlib compression library" on \ |
33 |
OPTIONS_DEFINE= ARCHIVE_ZIP COMPRESS_ZLIB DOCS FILE_RSYNCP NMBLOOKUP \ |
38 |
ARCHIVE_ZIP "Perl module for Zip archive files" on \ |
34 |
RRDTOOL SMBCLIENT XML_RSS |
39 |
FILE_RSYNCP "Perl Rsync client" off \ |
35 |
OPTIONS_DEFAULT= ARCHIVE_ZIP COMPRESS_ZLIB |
40 |
SMBCLIENT "Samba client" off \ |
36 |
|
41 |
NMBLOOKUP "NetBIOS Name lookup tool" off \ |
37 |
ARCHIVE_ZIP_DESC= Perl module for Zip archive files |
42 |
XML_RSS "Perl extension to manage RSS files" off |
38 |
COMPRESS_ZLIB_DESC= Perl5 interface to zlib compression library |
|
|
39 |
FILE_RSYNCP_DESC= Perl Rsync client |
40 |
NMBLOOKUP_DESC= NetBIOS Name lookup tool |
41 |
RRDTOOL_DESC= Use RRDTool to generate pool statistic graphs |
42 |
SMBCLIENT_DESC= Samba client |
43 |
XML_RSS_DESC= Perl extension to manage RSS files |
43 |
|
44 |
|
44 |
.include <bsd.port.options.mk> |
45 |
.include <bsd.port.options.mk> |
45 |
|
46 |
|
46 |
.if defined(WITH_COMPRESS_ZLIB) |
47 |
.if ${PORT_OPTIONS:MARCHIVE_ZIP} |
47 |
RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress |
|
|
48 |
.endif |
49 |
.if defined(WITH_ARCHIVE_ZIP) |
50 |
RUN_DEPENDS+= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip |
48 |
RUN_DEPENDS+= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip |
51 |
.endif |
49 |
.endif |
52 |
.if defined(WITH_FILE_RSYNCP) |
50 |
.if ${PORT_OPTIONS:MCOMPRESS_ZLIB} |
53 |
RUN_DEPENDS+= p5-File-RsyncP>=0:${PORTSDIR}/net/p5-File-RsyncP |
51 |
RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress |
54 |
.endif |
52 |
.endif |
55 |
.if defined(WITH_SMBCLIENT) |
53 |
.if ${PORT_OPTIONS:MFILE_RSYNCP} |
56 |
RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba-smbclient |
54 |
RUN_DEPENDS+= p5-File-RsyncP>=0:${PORTSDIR}/net/p5-File-RsyncP |
57 |
.endif |
55 |
.endif |
58 |
.if defined(WITH_NMBLOOKUP) |
56 |
.if ${PORT_OPTIONS:MNMBLOOKUP} |
59 |
RUN_DEPENDS+= nmblookup:${PORTSDIR}/net/samba-nmblookup |
57 |
RUN_DEPENDS+= nmblookup:${PORTSDIR}/net/samba-nmblookup |
60 |
.endif |
58 |
.endif |
61 |
.if defined(WITH_XML_RSS) |
59 |
.if ${PORT_OPTIONS:MRRDTOOL} |
|
|
60 |
RUN_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool |
61 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bin-BackupPC \ |
62 |
${FILESDIR}/extra-patch-lib-BackupPC-CGI-GeneralInfo.pm |
63 |
.endif |
64 |
.if ${PORT_OPTIONS:MSMBCLIENT} |
65 |
RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba-smbclient |
66 |
.endif |
67 |
.if ${PORT_OPTIONS:MXML_RSS} |
62 |
RUN_DEPENDS+= p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS |
68 |
RUN_DEPENDS+= p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS |
63 |
.endif |
69 |
.endif |
64 |
|
70 |
|
Lines 108-114
Link Here
|
108 |
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=BackupPC --center=BackupPC" user guide" ${WRKSRC}/BackupPC.pod ${WRKSRC}/${PORTNAME}.1 |
114 |
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=BackupPC --center=BackupPC" user guide" ${WRKSRC}/BackupPC.pod ${WRKSRC}/${PORTNAME}.1 |
109 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 |
115 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 |
110 |
|
116 |
|
111 |
.if !defined(NOPORTDOCS) |
117 |
.if ${PORT_OPTIONS:MDOCS} |
112 |
${MKDIR} ${DOCSDIR} |
118 |
${MKDIR} ${DOCSDIR} |
113 |
@cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR} |
119 |
@cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR} |
114 |
.endif |
120 |
.endif |