2005-02-25 17:53:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2005/02/25 22:53:16 alek Exp $
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2003-12-14 13:12:22 -05:00
|
|
|
COMMENT= "modular log analyzer"
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2005-02-24 18:20:09 -05:00
|
|
|
DISTNAME= modlogan-0.8.13
|
2005-02-25 17:53:16 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-12-14 13:12:22 -05:00
|
|
|
CATEGORIES= sysutils www
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2004-06-24 17:39:44 -04:00
|
|
|
HOMEPAGE= http://jan.kneschke.de/projects/modlogan/
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2004-06-24 17:39:44 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/
|
2003-12-14 13:12:22 -05:00
|
|
|
|
2004-07-04 19:40:05 -04:00
|
|
|
MAINTAINER= Michael Coulter <mjc@openbsd.org>
|
2003-05-01 22:53:05 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c jpeg m png ttf z
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2004-10-10 13:14:36 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2003-05-01 22:53:05 -04:00
|
|
|
LIB_DEPENDS= expat.3::textproc/expat \
|
|
|
|
gd.18::graphics/gd \
|
2003-05-04 23:37:09 -04:00
|
|
|
pcre::devel/pcre \
|
2004-08-17 19:28:46 -04:00
|
|
|
adns.1::net/adns \
|
|
|
|
bz2.10::archivers/bzip2
|
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"
|
2005-02-25 17:53:16 -05:00
|
|
|
MAKE_FLAGS= INTLLIBS="-L${LOCALBASE}/lib -lintl -liconv"
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2003-12-14 13:12:22 -05:00
|
|
|
NO_REGRESS= Yes
|
2003-05-01 22:53:05 -04:00
|
|
|
|
|
|
|
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>
|