openbsd-ports/www/analog/Makefile

64 lines
2.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2001/07/03 02:24:13 form Exp $
2001-03-29 04:52:20 -05:00
COMMENT= "extremely fast program for analysing WWW logfiles"
DISTNAME= analog-5.02
CATEGORIES= www
MASTER_SITES= http://www.statslab.cam.ac.uk/~sret1/analog/ \
1999-02-24 01:07:26 -05:00
http://www.magma.ca/~brendanr/analog/ \
http://brendanr.simplenet.com/analog/ \
http://analog.gsp.com/ \
http://redmoon.reverse.net/analog/ \
1999-02-24 01:07:26 -05:00
http://www.rge.com/pub/infosystems/statistics/analog/ \
http://blip.cetlink.net/analog/ \
http://analog.technomancer.com/ \
http://analog.wizard.net/ \
ftp://ftp.netcasting.net/pub/packages/analog/ \
http://www.analog.cx/
#HOMEPAGE= http://www.analog.cx/
HOMEPAGE= http://www.statslab.cam.ac.uk/~sret1/analog/
2000-06-15 23:32:24 -04:00
2000-10-09 02:50:25 -04:00
MAINTAINER= Oleg Safiullin <form@openbsd.org>
2000-03-20 06:04:48 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-05-31 14:48:37 -04:00
ANALOGDIR= ${PREFIX}/share/analog
CONFIGFILE= ${SYSCONFDIR}/analog.cfg
DOCDIR= ${PREFIX}/share/doc/analog
HTTPDIR= /var/www
1999-07-05 15:35:57 -04:00
IMAGEDIR= /analog-images
2000-06-15 23:32:24 -04:00
CFLAGS+= -DANALOGDIR=\"${ANALOGDIR}/\" \
-DDEFAULTCONFIGFILE=\"${CONFIGFILE}\" \
-DHTTPDIR=\"${HTTPDIR}/\" \
-DIMAGEDIR=\"${IMAGEDIR}/\" \
2001-05-20 01:56:36 -04:00
-DLANGDIR=\"${ANALOGDIR}/lang/\" \
2000-06-15 23:32:24 -04:00
-DANALOG=\"${PREFIX}/bin/analog\"
2000-05-31 14:48:37 -04:00
ALL_TARGET= analog
1999-12-13 12:26:55 -05:00
post-patch:
@mv ${WRKSRC}/anlgform.pl ${WRKSRC}/anlgform.pl.src
@sed -e "s,@PREFIX@,${PREFIX},g" < ${WRKSRC}/anlgform.pl.src \
1999-12-13 12:26:55 -05:00
> ${WRKSRC}/anlgform.pl
do-install:
2000-05-31 14:48:37 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/analog
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/analog
${INSTALL_DATA_DIR} ${ANALOGDIR}/lang
${INSTALL_DATA_DIR} ${ANALOGDIR}/images
2001-05-20 01:56:36 -04:00
${INSTALL_PROGRAM} ${WRKBUILD}/analog ${PREFIX}/bin
2000-05-31 14:48:37 -04:00
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/analog
2001-05-20 01:56:36 -04:00
${INSTALL_DATA} ${WRKSRC}/examples/*.cfg \
${PREFIX}/share/examples/analog
1999-07-05 15:35:57 -04:00
${INSTALL_DATA} ${WRKSRC}/images/* ${ANALOGDIR}/images
${INSTALL_DATA} ${WRKSRC}/lang/* ${ANALOGDIR}/lang
1999-07-05 15:35:57 -04:00
${INSTALL_DATA} ${WRKSRC}/anlgform.html ${ANALOGDIR}
1999-12-13 12:26:55 -05:00
${INSTALL_DATA} ${WRKSRC}/anlgform.pl ${ANALOGDIR}
1999-07-05 15:35:57 -04:00
.include <bsd.port.mk>