2007-09-15 16:38:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2007/09/15 20:38:20 merdely Exp $
|
2001-03-29 04:52:20 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= extremely fast program for analysing WWW logfiles
|
1998-08-11 05:14:46 -04:00
|
|
|
|
2005-10-12 01:42:31 -04:00
|
|
|
DISTNAME= analog-6.0
|
2007-05-30 18:33:11 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1998-08-11 05:14:46 -04:00
|
|
|
CATEGORIES= www
|
2002-10-28 20:30:41 -05:00
|
|
|
|
2001-08-12 23:44:39 -04:00
|
|
|
MASTER_SITES= http://www.analog.cx/ \
|
|
|
|
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/ \
|
2001-07-02 22:24:13 -04:00
|
|
|
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/ \
|
2001-08-12 23:44:39 -04:00
|
|
|
ftp://ftp.netcasting.net/pub/packages/analog/
|
1998-08-11 05:14:46 -04:00
|
|
|
|
2001-08-12 23:44:39 -04:00
|
|
|
HOMEPAGE= http://www.analog.cx/
|
2000-06-15 23:32:24 -04:00
|
|
|
|
2005-12-05 13:04:17 -05:00
|
|
|
# GPL
|
2000-03-20 06:04:48 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-07-05 10:28:40 -04:00
|
|
|
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= gd.>=18::graphics/gd \
|
|
|
|
pcre::devel/pcre
|
2005-10-24 01:08:11 -04:00
|
|
|
WANTLIB= c m jpeg png z
|
2005-10-12 01:42:31 -04:00
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2000-03-20 06:04:48 -05:00
|
|
|
|
2000-05-31 14:48:37 -04:00
|
|
|
ANALOGDIR= ${PREFIX}/share/analog
|
2001-02-26 22:46:23 -05:00
|
|
|
CONFIGFILE= ${SYSCONFDIR}/analog.cfg
|
1998-08-11 05:14:46 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/analog
|
|
|
|
HTTPDIR= /var/www
|
1999-07-05 15:35:57 -04:00
|
|
|
IMAGEDIR= /analog-images
|
1998-08-11 05:14:46 -04:00
|
|
|
|
2005-07-05 10:28:40 -04:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include \
|
|
|
|
-DANALOGDIR=\"${ANALOGDIR}/\" \
|
2000-06-15 23:32:24 -04:00
|
|
|
-DDEFAULTCONFIGFILE=\"${CONFIGFILE}\" \
|
|
|
|
-DHTTPDIR=\"${HTTPDIR}/\" \
|
|
|
|
-DIMAGEDIR=\"${IMAGEDIR}/\" \
|
2001-05-20 01:56:36 -04:00
|
|
|
-DLANGDIR=\"${ANALOGDIR}/lang/\" \
|
2005-05-26 17:37:07 -04:00
|
|
|
-DANALOG=\"${PREFIX}/bin/analog\" \
|
2005-07-05 10:28:40 -04:00
|
|
|
-DHAVE_GD -DHAVE_ZLIB -DHAVE_PCRE -DHAVE_ADDR_T
|
1998-08-11 05:14:46 -04:00
|
|
|
|
2000-05-31 14:48:37 -04:00
|
|
|
ALL_TARGET= analog
|
2005-07-05 10:28:40 -04:00
|
|
|
MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS}' \
|
2005-10-24 01:08:11 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lgd -lpng -ljpeg -lz -lpcre -liconv"
|
2000-05-31 14:48:37 -04:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2000-02-16 05:52:08 -05:00
|
|
|
@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
|
|
|
|
|
2002-10-28 20:30:41 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-08-11 05:14:46 -04:00
|
|
|
do-install:
|
2000-05-31 14:48:37 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/analog
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/analog
|
2005-10-12 01:42:31 -04:00
|
|
|
${INSTALL_DATA_DIR} ${ANALOGDIR}/lang ${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 \
|
2005-10-12 01:42:31 -04:00
|
|
|
${PREFIX}/share/examples/analog
|
1999-07-05 15:35:57 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/* ${ANALOGDIR}/images
|
1998-08-11 05:14:46 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lang/* ${ANALOGDIR}/lang
|
2005-10-12 01:42:31 -04:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} anlgform.html anlgform.pl \
|
|
|
|
${ANALOGDIR}
|
1999-07-05 15:35:57 -04:00
|
|
|
|
1998-08-11 05:14:46 -04:00
|
|
|
.include <bsd.port.mk>
|