aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/urbackup-client/Makefile36
1 files changed, 15 insertions, 21 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 8a11814bb14d..3a6729ea33a6 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -8,37 +8,31 @@ MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION}/
MAINTAINER= freebsd@coombscloud.com
COMMENT= Client component of the UrBackup backup system
-LICENSE= AGPLv3
+LICENSE= AGPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
-WRKSRC= ${WRKDIR}/${DISTNAME}.0
-
-OPTIONS_DEFINE= GUI
-GUI_DESC= GTK2 Tray Icon
-OPTIONS_SUB= yes
+LIB_DEPENDS= libcryptopp.so:security/cryptopp
-LIB_DEPENDS+= libcryptopp.so:security/cryptopp
-GUI_LIB_DEPENDS+= libwx_baseu-3.0.so:x11-toolkits/wxgtk30
+USES= gettext dos2unix localbase
+USE_RC_SUBR= urbackup_client
USERS= urbackup
GROUPS= urbackup
-USES= gettext dos2unix
-GNU_CONFIGURE= YES
-CPPFLAGS+= -I${PREFIX}/include
-LDFLAGS+= -L${PREFIX}/lib
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-clientupdate
-.include <bsd.port.options.mk>
+SUB_FILES= pkg-message urbackupclient.conf.sample-daemon
+
+WRKSRC= ${WRKDIR}/${DISTNAME}.0
-.if ${PORT_OPTIONS:MGUI}
-USE_WX= 3.0+
-CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG}
-.else
-CONFIGURE_ARGS+= --enable-headless
-.endif
+OPTIONS_DEFINE= GUI
+OPTIONS_SUB= yes
-USE_RC_SUBR= urbackup_client
-SUB_FILES= pkg-message urbackupclient.conf.sample-daemon
+GUI_DESC= GTK2 Tray Icon
+GUI_USE= WX=3.0+
+GUI_CONFIGURE_ON= --with-wx-config=${WX_CONFIG}
+GUI_CONFIGURE_OFF= --enable-headless
CONFFILES= mariadbdump.conf \
mariadbxtrabackup.conf \