svn commit: r364630 - head/www/awffull
Adam Weinberger
adamw at FreeBSD.org
Mon Aug 11 17:42:15 UTC 2014
Author: adamw
Date: Mon Aug 11 17:42:14 2014
New Revision: 364630
URL: http://svnweb.freebsd.org/changeset/ports/364630
QAT: https://qat.redports.org/buildarchive/r364630/
Log:
Install the bundled documentation, sample configuration files, instructions,
flags, and parsing scripts. Add an NLS option. Add LICENSE.
Modified:
head/www/awffull/Makefile
head/www/awffull/pkg-plist
Modified: head/www/awffull/Makefile
==============================================================================
--- head/www/awffull/Makefile Mon Aug 11 17:36:52 2014 (r364629)
+++ head/www/awffull/Makefile Mon Aug 11 17:42:14 2014 (r364630)
@@ -3,13 +3,15 @@
PORTNAME= awffull
PORTVERSION= 3.10.2
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES?= www
MASTER_SITES= http://www.stedee.id.au/files/
MAINTAINER?= chad at wickdev.com
COMMENT= AWFFull is a webserver log analysis tool forked from Webalizer
+LICENSE= GPLv3
+
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
libpng15.so:${PORTSDIR}/graphics/png \
@@ -21,7 +23,8 @@ CONFLICTS?= ja-awffull-[0-9]*
FONTDEFAULT?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/VeraBd.ttf
FONTLABEL?= ${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
-OPTIONS_DEFINE= GEOIP
+OPTIONS_DEFINE= GEOIP DOCS EXAMPLES NLS
+OPTIONS_SUB= yes
USES= gettext iconv
@@ -33,13 +36,25 @@ CONFIGURE_ARGS+=--with-font-default=${FO
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
+GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
+GEOIP_CONFIGURE_ENABLE= geoip
+
+NLS_CONFIGURE_ENABLE= nls
+
+PORTDOCS= *
+PORTEXAMPLES= *
-.if ${PORT_OPTIONS:MGEOIP}
-LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP
-CONFIGURE_ARGS+=--enable-geoip
-.else
-CONFIGURE_ARGS+=--disable-geoip
-.endif
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} \
+ COPYING ChangeLog DNS.README PERFORMANCE_TIPS.txt \
+ README* TODO country-codes.txt \
+ ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample* ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/flags
+ ${INSTALL_DATA} ${WRKSRC}/flags/README ${WRKSRC}/flags/*.png \
+ ${STAGEDIR}${EXAMPLESDIR}/flags
.include <bsd.port.mk>
Modified: head/www/awffull/pkg-plist
==============================================================================
--- head/www/awffull/pkg-plist Mon Aug 11 17:36:52 2014 (r364629)
+++ head/www/awffull/pkg-plist Mon Aug 11 17:42:14 2014 (r364630)
@@ -1,35 +1,35 @@
bin/awffull
man/man1/awffull.1.gz
man/man5/awffull.conf.5.gz
-share/locale/ca/LC_MESSAGES/awffull.mo
-share/locale/cs/LC_MESSAGES/awffull.mo
-share/locale/da/LC_MESSAGES/awffull.mo
-share/locale/de/LC_MESSAGES/awffull.mo
-share/locale/el/LC_MESSAGES/awffull.mo
-share/locale/es/LC_MESSAGES/awffull.mo
-share/locale/et/LC_MESSAGES/awffull.mo
-share/locale/fi/LC_MESSAGES/awffull.mo
-share/locale/fr/LC_MESSAGES/awffull.mo
-share/locale/gl/LC_MESSAGES/awffull.mo
-share/locale/hr/LC_MESSAGES/awffull.mo
-share/locale/hu/LC_MESSAGES/awffull.mo
-share/locale/id/LC_MESSAGES/awffull.mo
-share/locale/is/LC_MESSAGES/awffull.mo
-share/locale/it/LC_MESSAGES/awffull.mo
-share/locale/ja/LC_MESSAGES/awffull.mo
-share/locale/ko/LC_MESSAGES/awffull.mo
-share/locale/lv/LC_MESSAGES/awffull.mo
-share/locale/ml/LC_MESSAGES/awffull.mo
-share/locale/nl/LC_MESSAGES/awffull.mo
-share/locale/no/LC_MESSAGES/awffull.mo
-share/locale/pl/LC_MESSAGES/awffull.mo
-share/locale/pt/LC_MESSAGES/awffull.mo
-share/locale/pt_BR/LC_MESSAGES/awffull.mo
-share/locale/ro/LC_MESSAGES/awffull.mo
-share/locale/ru/LC_MESSAGES/awffull.mo
-share/locale/sl/LC_MESSAGES/awffull.mo
-share/locale/sr/LC_MESSAGES/awffull.mo
-share/locale/sv/LC_MESSAGES/awffull.mo
-share/locale/tr/LC_MESSAGES/awffull.mo
-share/locale/uk/LC_MESSAGES/awffull.mo
-share/locale/zh/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/da/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/de/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/el/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/es/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/et/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/id/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/is/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/it/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ml/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/no/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/awffull.mo
+%%NLS%%share/locale/zh/LC_MESSAGES/awffull.mo
More information about the svn-ports-all
mailing list