openbsd-ports/net/pfstat/Makefile
merdely 241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2007/09/15 22:36:58 merdely Exp $
COMMENT-main= packet filter statistics visualization
COMMENT-daemon= pfstat daemon
DISTNAME= pfstat-2.3
PKGNAME-main= ${DISTNAME}p0
PKGNAME-daemon= ${DISTNAME:S/-/d-/}
CATEGORIES= net
MASTER_SITES= http://www.benzedrine.cx/
HOMEPAGE= http://www.benzedrine.cx/pfstat.html
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ::graphics/gd
MODULES= converters/libiconv
MULTI_PACKAGES= -main -daemon
WANTLIB-main= c m z jpeg png
LIB_DEPENDS-main= gd.>=20::graphics/gd \
${MODLIBICONV_LIB_DEPENDS}
WANTLIB-daemon= c
LIB_DEPENDS-daemon=
RUN_DEPENDS-daemon=
pre-configure:
@perl -pi -e "s,/etc,${SYSCONFDIR}," ${WRKSRC}/pfstat.c \
${WRKSRC}/pfstat.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pfstat
$(INSTALL_DATA) ${WRKSRC}/pfstat.conf.example \
${PREFIX}/share/examples/pfstat/pfstat.conf
.include <bsd.port.mk>