openbsd-ports/sysutils/modlogan/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.19 2007/09/15 21:14:02 merdely Exp $
COMMENT= modular log analyzer
2005-02-24 18:20:09 -05:00
DISTNAME= modlogan-0.8.13
2007-05-02 09:00:53 -04:00
PKGNAME= ${DISTNAME}p4
CATEGORIES= sysutils www
2004-06-24 17:39:44 -04:00
HOMEPAGE= http://jan.kneschke.de/projects/modlogan/
2004-06-24 17:39:44 -04:00
MASTER_SITES= ${HOMEPAGE}/download/
2004-07-04 19:40:05 -04:00
MAINTAINER= Michael Coulter <mjc@openbsd.org>
# 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
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 \
pcre::devel/pcre \
2006-08-03 19:55:10 -04:00
adns.>=1::net/adns \
bz2.>=10::archivers/bzip2
2007-04-06 02:33:22 -04:00
USE_LIBTOOL= Yes
2007-07-12 05:37:05 -04:00
USE_X11= Yes
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"
MAKE_FLAGS= INTLLIBS="-L${LOCALBASE}/lib -lintl -liconv"
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>