diff options
Diffstat (limited to 'archivers/urbackup-server/Makefile')
-rw-r--r-- | archivers/urbackup-server/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/archivers/urbackup-server/Makefile b/archivers/urbackup-server/Makefile index b26b55a4fec2..46a24306e923 100644 --- a/archivers/urbackup-server/Makefile +++ b/archivers/urbackup-server/Makefile @@ -1,6 +1,6 @@ PORTNAME= urbackup-server DISTVERSION= 2.5.33 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= https://hndl.urbackup.org/Server/${DISTVERSION}/ @@ -13,17 +13,21 @@ LICENSE_FILE= ${WRKSRC}/server-license.txt LIB_DEPENDS= libcryptopp.so:security/cryptopp \ libcurl.so:ftp/curl \ - liblmdb.so:databases/lmdb + liblmdb.so:databases/lmdb \ + libzstd.so:archivers/zstd -USES= autoreconf compiler:c++11-lang dos2unix fakeroot fuse \ - libtool lua:53 pkgconfig sqlite:3 -DOS2UNIX_GLOB= *.c *.cpp *.h *.am +USES= autoreconf compiler:c++11-lang dos2unix fakeroot fuse libtool \ + lua:53 localbase pkgconfig sqlite:3 +DOS2UNIX_GLOB= *.am *.c *.cpp *.h USE_CXXSTD= c++14 USE_RC_SUBR= urbackup_server GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua -LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --enable-packaging \ + --with-mountvhd \ + --without-embedded-lmdb \ + --without-embedded-lua \ + --without-embedded-sqlite3 .include <bsd.port.options.mk> @@ -52,10 +56,10 @@ post-patch: -e 's|auto_ptr|unique_ptr|g' {} + post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/urbackup \ + ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${WRKDIR}/urbackupsrv.conf.sample-daemon \ ${STAGEDIR}${PREFIX}/etc/urbackup/urbackupsrv.conf.sample - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/urbackupsrv.conf-newsyslog \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/urbackupsrv.conf |