openbsd-ports/sysutils/modlogan/Makefile
margarida 577b7f7425 Update modlogan to version 0.8.10
--
From MAINTAINER: Michael Coulter <mjc@bitz.ca>
2003-12-14 18:12:22 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2003/12/14 18:12:22 margarida Exp $
COMMENT= "modular log analyzer"
DISTNAME= modlogan-0.8.10
CATEGORIES= sysutils www
HOMEPAGE= http://www.modlogan.org/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modlogan/}
MAINTAINER= Michael Coulter <mjc@bitz.ca>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= expat.3::textproc/expat \
gd.18::graphics/gd \
pcre::devel/pcre \
adns.1::net/adns
# work around optimizer bug in gcc 2.95
.if ${MACHINE_ARCH} == "sparc64"
PATCH_LIST= patch-* gcc-*
.endif
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>