2003-08-22 19:07:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2003/08/22 23:07:48 naddy Exp $
|
2003-05-01 22:53:05 -04:00
|
|
|
|
|
|
|
COMMENT= "modular log analyzer"
|
|
|
|
|
|
|
|
DISTNAME= modlogan-0.8.7
|
|
|
|
CATEGORIES= sysutils www
|
|
|
|
|
|
|
|
HOMEPAGE= http://jan.kneschke.de/projects/modlogan
|
|
|
|
|
|
|
|
MAINTAINER= Michael Coulter <mjc@bitz.ca>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://jan.kneschke.de/projects/modlogan/download/
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat.3::textproc/expat \
|
|
|
|
gd.18::graphics/gd \
|
2003-05-04 23:37:09 -04:00
|
|
|
pcre::devel/pcre \
|
|
|
|
adns.1::net/adns
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2003-08-22 19:07:48 -04:00
|
|
|
# work around optimizer bug in gcc 2.95
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
PATCH_LIST= patch-* gcc-*
|
|
|
|
.endif
|
|
|
|
|
2003-05-01 22:53:05 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/modlogan
|
|
|
|
CONFIGURE_ENV += LOCALBASE="${LOCALBASE}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
NO_REGRESS= YES
|
|
|
|
|
|
|
|
EXAMPLES= doc/*.conf doc/*-dist
|
|
|
|
DOCS= doc/*.txt
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/modlogan
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/modlogan
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} \
|
|
|
|
${PREFIX}/share/examples/modlogan
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} \
|
|
|
|
${PREFIX}/share/doc/modlogan
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|