diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2010-08-01 19:32:14 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2010-08-01 19:32:14 +0000 |
commit | 8cf19558898f4fc09b2e131459d330560a82e91b (patch) | |
tree | ab9a51de316f3067fe2ac271bf0006cb0244ee35 /www/sitecopy | |
parent | 6af93d50fca89210b9ca5d4824bc3aa76fe99e19 (diff) | |
download | ports-8cf19558898f4fc09b2e131459d330560a82e91b.tar.gz ports-8cf19558898f4fc09b2e131459d330560a82e91b.zip |
Notes
Diffstat (limited to 'www/sitecopy')
-rw-r--r-- | www/sitecopy/Makefile | 15 | ||||
-rw-r--r-- | www/sitecopy/pkg-plist | 16 |
2 files changed, 20 insertions, 11 deletions
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile index 08cc3899ef80..e3d36bd26bf0 100644 --- a/www/sitecopy/Makefile +++ b/www/sitecopy/Makefile @@ -14,18 +14,27 @@ MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \ MASTER_SITE_SUBDIR= distfiles MAINTAINER= olgeni@FreeBSD.org -COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up with local copy +COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29 GNU_CONFIGURE= yes CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lintl" + LIBS="${LIBS}" +LIBS= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-neon --with-libxml2 -USE_GETTEXT= yes USE_GNOME= libxml2 USE_GMAKE= yes +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +LIBS+= -lintl +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + .ifndef WITHOUT_SSL USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ssl diff --git a/www/sitecopy/pkg-plist b/www/sitecopy/pkg-plist index fb7437e86169..e8810cac29a6 100644 --- a/www/sitecopy/pkg-plist +++ b/www/sitecopy/pkg-plist @@ -3,14 +3,14 @@ bin/sitecopy %%DOCSDIR%%/README %%DOCSDIR%%/THANKS %%DOCSDIR%%/update.sh -share/locale/cs/LC_MESSAGES/sitecopy.mo -share/locale/de/LC_MESSAGES/sitecopy.mo -share/locale/fr/LC_MESSAGES/sitecopy.mo -share/locale/it/LC_MESSAGES/sitecopy.mo -share/locale/ja/LC_MESSAGES/sitecopy.mo -share/locale/nn/LC_MESSAGES/sitecopy.mo -share/locale/ru/LC_MESSAGES/sitecopy.mo -share/locale/tr/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/cs/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/de/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/fr/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/it/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/ja/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/nn/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/ru/LC_MESSAGES/sitecopy.mo +%%NLS%%share/locale/tr/LC_MESSAGES/sitecopy.mo %%DATADIR%%/changes.awk %%DATADIR%%/examplerc @dirrm %%DATADIR%% |