2007-09-15 17:14:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2007/09/15 21:14:02 merdely Exp $
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2007-09-15 17:14:00 -04: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
|
2007-05-02 09:00:53 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
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
|
2007-05-02 09:00:53 -04:00
|
|
|
WANTLIB= c expat fontconfig freetype jpeg m png z
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2004-10-10 13:14:36 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2007-05-02 09:00:53 -04:00
|
|
|
LIB_DEPENDS= gd.>=18::graphics/gd \
|
2003-05-04 23:37:09 -04:00
|
|
|
pcre::devel/pcre \
|
2006-08-03 19:55:10 -04:00
|
|
|
adns.>=1::net/adns \
|
|
|
|
bz2.>=10::archivers/bzip2
|
2003-05-01 22:53:05 -04:00
|
|
|
|
2007-04-06 02:33:22 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-07-12 05:37:05 -04:00
|
|
|
USE_X11= Yes
|
2003-05-01 22:53:05 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/modlogan
|
|
|
|
CONFIGURE_ENV += LOCALBASE="${LOCALBASE}" \
|
2007-05-02 09:00:53 -04:00
|
|
|
CPPFLAGS="-I${X11BASE}/include" \
|
2005-10-12 01:40:31 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/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>
|