aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2018-08-24 16:49:11 +0800
committerjhale <jhale@FreeBSD.org>2018-08-24 16:49:11 +0800
commitd072c119e761cd8a61674b456c5bc559adcdb458 (patch)
tree82bbff57465f17c0791117a768f3381a6f8aed6b /archivers
parent2683dac3f6f2fa6dd7c772e100a009f23655f0b0 (diff)
downloadfreebsd-ports-gnome-d072c119e761cd8a61674b456c5bc559adcdb458.tar.gz
freebsd-ports-gnome-d072c119e761cd8a61674b456c5bc559adcdb458.tar.zst
freebsd-ports-gnome-d072c119e761cd8a61674b456c5bc559adcdb458.zip
- Fix LICENSE
- Convert to options helpers - Convert CPPFLAGS/LDFLAGS to USES=localbase - Order Makefile for readability Approved by: portmgr (infrastructure blanket)
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 \