1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Install the bundled documentation, sample configuration files, instructions,

flags, and parsing scripts. Add an NLS option. Add LICENSE.
This commit is contained in:
Adam Weinberger 2014-08-11 17:42:14 +00:00
parent 8c5b79937d
commit 36dbd96bef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364630
2 changed files with 56 additions and 41 deletions

View File

@ -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@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=${FONTDEFAULT} \
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
.if ${PORT_OPTIONS:MGEOIP}
LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP
CONFIGURE_ARGS+=--enable-geoip
.else
CONFIGURE_ARGS+=--disable-geoip
.endif
NLS_CONFIGURE_ENABLE= nls
PORTDOCS= *
PORTEXAMPLES= *
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>

View File

@ -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