openbsd-ports/converters/pflogx/Makefile
2009-09-10 22:27:29 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2009/09/10 22:27:29 jasper Exp $
COMMENT= convert pf logs to XML
DISTNAME= pflogx_086
PKGNAME= pflogx-0.86p2
CATEGORIES= converters
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= http://akldev.free.fr/pflogx/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c expat m pcap stdc++
MASTER_SITES= ${HOMEPAGE}/releases/ \
http://www.phil.uu.nl/~lievisse/distfiles/
MAKE_FLAGS= WITH_EXPAT=1 \
EXPAT_INCLUDEDIR="${X11BASE}/include" \
EXPAT_LIBDIR="${X11BASE}/lib"
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/pflogx/
USE_X11= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/pflogx ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pflogx/
${INSTALL_DATA_DIR} ${PREFIX}/share/pflogx/{dtd,xsl}/
${INSTALL_DATA} ${WRKSRC}/{README,Changelog} ${PREFIX}/share/doc/pflogx/
${INSTALL_DATA} ${WRKSRC}/dtd/export.dtd ${PREFIX}/share/pflogx/dtd/
${INSTALL_DATA} ${WRKSRC}/xsl/* ${PREFIX}/share/pflogx/xsl/
.include <bsd.port.mk>