git: 22d4fc31c542 - main - www/sitecopy: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 10:38:14 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=22d4fc31c542326bb5a915913f88f4ea8c533677
commit 22d4fc31c542326bb5a915913f88f4ea8c533677
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-27 09:58:17 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-27 10:37:26 +0000
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,23 +15,19 @@ 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
-.include <bsd.port.options.mk>
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --disable-nls
+NLS_LIBS= -lintl
-.if ${PORT_OPTIONS:MNLS}
-LIBS+= -lintl
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
.ifndef WITHOUT_SSL
USES+= ssl