From 22d4fc31c542326bb5a915913f88f4ea8c533677 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 27 Dec 2024 10:58:17 +0100 Subject: [PATCH] www/sitecopy: Refactor - Remove GENTOO MASTER_SITES as it no longer provides flat layout - Pet portclippy - Convert to OPTIONSNG Approved by: portmgr (blanket) --- www/sitecopy/Makefile | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile index b44e65665556..18693972bd3e 100644 --- a/www/sitecopy/Makefile +++ b/www/sitecopy/Makefile @@ -2,8 +2,7 @@ PORTNAME= sitecopy PORTVERSION= 0.16.6 PORTREVISION= 9 CATEGORIES= www -MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \ - GENTOO +MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ MAINTAINER= sitecopy@oldach.net COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy @@ -16,24 +15,20 @@ LIB_DEPENDS= libneon.so:www/neon USES= gmake gnome localbase USE_GNOME= libxml2 + GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-neon --with-libxml2 OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls +NLS_LIBS= -lintl .include -.if ${PORT_OPTIONS:MNLS} -LIBS+= -lintl -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - .ifndef WITHOUT_SSL USES+= ssl CONFIGURE_ARGS+= --with-ssl