1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/awstats-devel/Makefile
Ying-Chieh Liao 37b5f455f2 upgrade to 5.3
pass maintainership to Chris Stuart <firewolf@lightningfire.net>

PR:		47202
Submitted by:	old maintainer
2003-01-22 07:14:04 +00:00

61 lines
2.6 KiB
Makefile

# New ports collection makefile for: awstats
# Date created: May 13, 2002
# Whom: Munish Chopra <mchopra@engmail.uwaterloo.ca>
#
# $FreeBSD$
#
PORTNAME= awstats
PORTVERSION= 5.3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= firewolf@lightningfire.net
NO_BUILD= yes
USE_PERL5_RUN= yes
do-install:
@${MKDIR} ${PREFIX}/www/cgi-bin/lang
@${MKDIR} ${PREFIX}/www/cgi-bin/lib
@${MKDIR} ${PREFIX}/www/cgi-bin/plugins
@${MKDIR} ${PREFIX}/www/cgi-bin/plugins/example
@${MKDIR} ${PREFIX}/www/icons/browser
@${MKDIR} ${PREFIX}/www/icons/clock
@${MKDIR} ${PREFIX}/www/icons/cpu
@${MKDIR} ${PREFIX}/www/icons/flags
@${MKDIR} ${PREFIX}/www/icons/os
@${MKDIR} ${PREFIX}/www/icons/other
${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_buildstaticpages.pl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_updateall.pl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/logresolvemerge.pl ${PREFIX}/bin/awstats_logresolvemerge.pl
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/cgi-bin
${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/cgi-bin
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/* ${PREFIX}/www/cgi-bin/lang
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lib/* ${PREFIX}/www/cgi-bin/lib
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/graph3d.pm ${PREFIX}/www/cgi-bin/plugins
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/hashfiles.pm ${PREFIX}/www/cgi-bin/plugins
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timehires.pm ${PREFIX}/www/cgi-bin/plugins
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timezone.pm ${PREFIX}/www/cgi-bin/plugins
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/example/* ${PREFIX}/www/cgi-bin/plugins/example
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/browser/* ${PREFIX}/www/icons/browser
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/clock/* ${PREFIX}/www/icons/clock
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/cpu/* ${PREFIX}/www/icons/cpu
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/flags/* ${PREFIX}/www/icons/flags
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/os/* ${PREFIX}/www/icons/os
${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/other/* ${PREFIX}/www/icons/other
@${ECHO_CMD} ""
@${ECHO_CMD} "* Rename ${PREFIX}/www/cgi-bin/awstats.model.conf to awstats.conf to set up AWStats"
@${ECHO_CMD} "* Documentation has been installed in ${PREFIX}/share/doc/awstats"
@${ECHO_CMD} ""
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/docs/images/* ${DOCSDIR}/images
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
.endif
.include <bsd.port.mk>