openbsd-ports/net/p5-flowd/Makefile

31 lines
647 B
Makefile

# $OpenBSD: Makefile,v 1.6 2009/02/05 05:32:11 djm Exp $
SHARED_ONLY= Yes
COMMENT= Perl API to flowd binary logfiles
DISTNAME= flowd-0.9.1
PKGNAME= p5-${DISTNAME}
CATEGORIES= net devel
HOMEPAGE= http://www.mindrot.org/flowd.html
MAINTAINER= Damien Miller <djm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www2.mindrot.org/files/flowd/
WRKSRC= ${WRKDIR}/${DISTNAME}/Flowd-perl
BUILD_DEPENDS= ::net/flowd
CONFIGURE_STYLE= perl
post-patch:
perl -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>