c4096e6659
If we need to make an exception we can do it and properly document the reason but by default we should just use the default login class. rc.d uses daemon or the login class provided in login.conf.d so this has no impact there. discussed with sthen@, tb@ and robert@ praying that my grep/sed skills did not break anything and still believing in portbump :-)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
COMMENT = remote backup software system
|
|
|
|
DISTNAME = BackupPC-3.3.2
|
|
PKGNAME = ${DISTNAME:L}
|
|
REVISION = 2
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
HOMEPAGE = http://backuppc.sourceforge.net
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=backuppc/}
|
|
|
|
NO_BUILD = Yes
|
|
|
|
# XXX one of them needed as runtime dep... buildep to get them found by configure
|
|
BUILD_DEPENDS = archivers/gtar \
|
|
net/samba \
|
|
net/rsync \
|
|
devel/p5-File-RsyncP
|
|
|
|
RUN_DEPENDS = textproc/p5-XML-RSS \
|
|
devel/p5-File-RsyncP \
|
|
archivers/p5-Archive-Zip \
|
|
www/p5-libwww \
|
|
www/spawn-fcgi
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && perl ./configure.pl \
|
|
--html-dir ${TRUEPREFIX}/share/backuppc \
|
|
--html-dir-url /backuppc \
|
|
--cgi-dir ${TRUEPREFIX}/bin \
|
|
--data-dir /var/db/backuppc \
|
|
--log-dir /var/log/backuppc \
|
|
--config-dir ${SYSCONFDIR}/backuppc \
|
|
--install-dir ${TRUEPREFIX} \
|
|
--dest-dir ${WRKINST} \
|
|
--hostname example.com \
|
|
--uid-ignore \
|
|
--no-set-perms \
|
|
--batch \
|
|
-backuppc-user=_backuppc
|
|
# needed since we use --no-set-perms
|
|
chmod 555 ${PREFIX}/bin/*
|
|
# add extension for the sake of clarity
|
|
cd ${PREFIX}/bin/ && ln -sf BackupPC_Admin{,.fcgi}
|
|
${INSTALL_DATA} ${FILESDIR}/httpd-backuppc.conf ${PREFIX}/share/examples/backuppc/
|
|
|
|
.include <bsd.port.mk>
|