diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile index b44e65665556..18693972bd3e 100644 --- a/www/sitecopy/Makefile +++ b/www/sitecopy/Makefile @@ -1,52 +1,47 @@ 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 WWW= https://www.manyfish.co.uk/sitecopy/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING 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 +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 .ifndef WITHOUT_SSL USES+= ssl CONFIGURE_ARGS+= --with-ssl .endif post-patch: @${REINPLACE_CMD} -e 's|;;|;|g' \ ${WRKSRC}/src/sitestore.c @${REINPLACE_CMD} -e 's|25 26 27 28|& 29 30 31 32|g' \ ${WRKSRC}/configure .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -e '/#define ksize_t /d' \ ${WRKSRC}/configure .endif .include