www/sitecopy: Refactor

- Remove GENTOO MASTER_SITES as it no longer provides flat layout
- Pet portclippy
- Convert to OPTIONSNG

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-12-27 10:58:17 +01:00
parent 9eb5fbb98b
commit 22d4fc31c5
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91

View file

@ -2,8 +2,7 @@ PORTNAME= sitecopy
PORTVERSION= 0.16.6 PORTVERSION= 0.16.6
PORTREVISION= 9 PORTREVISION= 9
CATEGORIES= www CATEGORIES= www
MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \ MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/
GENTOO
MAINTAINER= sitecopy@oldach.net MAINTAINER= sitecopy@oldach.net
COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy 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 USES= gmake gnome localbase
USE_GNOME= libxml2 USE_GNOME= libxml2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --with-neon --with-libxml2 CONFIGURE_ARGS= --with-neon --with-libxml2
OPTIONS_DEFINE= NLS OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
NLS_LIBS= -lintl
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
LIBS+= -lintl
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.ifndef WITHOUT_SSL .ifndef WITHOUT_SSL
USES+= ssl USES+= ssl
CONFIGURE_ARGS+= --with-ssl CONFIGURE_ARGS+= --with-ssl