openbsd-ports/net/pfstat/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2011/06/23 22:50:28 naddy Exp $
COMMENT-main= packet filter statistics visualization
COMMENT-daemon= pfstat daemon
DISTNAME= pfstat-2.3
2006-05-24 11:15:40 -04:00
PKGNAME-main= ${DISTNAME}
PKGNAME-daemon= ${DISTNAME:S/-/d-/}
REVISION-main= 1
REVISION-daemon=3
CATEGORIES= net
MASTER_SITES= http://www.benzedrine.cx/
HOMEPAGE= http://www.benzedrine.cx/pfstat.html
MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
2006-05-24 11:15:40 -04:00
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-19 17:31:32 -05:00
BUILD_DEPENDS= graphics/gd
2006-05-24 11:15:40 -04:00
MODULES= converters/libiconv
2006-11-24 16:46:18 -05:00
MULTI_PACKAGES= -main -daemon
2010-11-19 17:31:32 -05:00
WANTLIB-main= ${MODLIBICONV_WANTLIB} c m z jpeg png gd>=20
LIB_DEPENDS-main= ${MODLIBICONV_LIB_DEPENDS} graphics/gd
2006-11-24 16:46:18 -05:00
WANTLIB-daemon= c
LIB_DEPENDS-daemon=
RUN_DEPENDS-daemon=
2006-05-24 11:15:40 -04:00
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
2006-05-24 11:15:40 -04:00
${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${PREFIX}/man/man8
2006-05-24 11:15:40 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pfstat
2010-04-08 15:31:31 -04:00
${INSTALL_DATA} ${WRKSRC}/pfstat.conf.example \
2006-05-24 11:15:40 -04:00
${PREFIX}/share/examples/pfstat/pfstat.conf
.include <bsd.port.mk>