1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/sysutils/p5-Sys-Gamin/Makefile
Nick Hibma c8717f0b46 Rename monitor' to gamin-monitor' to prevent conflicts with LPRng and
dmucs, as noted by ketas' ports conflicts checker.
Also sign maintainership of this port over to ports.

PR:		168695
Submitted by:	n_hibma
Feature safe:	yes
2012-11-01 07:38:12 +00:00

32 lines
839 B
Makefile

# New ports collection makefile for: p5-Sys-Gamin
# Date created: 03 May 2007
# Whom: Nick Hibma <n_hibma@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Sys-Gamin
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl interface to Gamin (File Access Monitor implementation)
PERL_CONFIGURE= yes
USE_FAM= yes
MAN1= gamin-monitor.1
MAN3= Sys::Gamin.3
pre-configure:
# Pass in include in LOCALBASE
${PERL} -pi -e 'm/LIBS =>/ && print " INC => \"-I${LOCALBASE}/include\",\n"' ${WRKSRC}/Makefile.PL
# Rename a tool with a generic name (monitor)
${PERL} -pi -e 's/qw.monitor./qw(gamin-monitor)/' ${WRKSRC}/Makefile.PL
${PERL} -pi -e 's/^monitor$$/gamin-monitor/' ${WRKSRC}/MANIFEST
${MV} ${WRKSRC}/monitor ${WRKSRC}/gamin-monitor
.include <bsd.port.mk>