Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2012 07:38:12 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306781 - head/sysutils/p5-Sys-Gamin
Message-ID:  <201211010738.qA17cCFw041223@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: n_hibma (src committer)
Date: Thu Nov  1 07:38:12 2012
New Revision: 306781
URL: http://svn.freebsd.org/changeset/ports/306781

Log:
  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

Modified:
  head/sysutils/p5-Sys-Gamin/Makefile
  head/sysutils/p5-Sys-Gamin/pkg-plist

Modified: head/sysutils/p5-Sys-Gamin/Makefile
==============================================================================
--- head/sysutils/p5-Sys-Gamin/Makefile	Thu Nov  1 06:52:53 2012	(r306780)
+++ head/sysutils/p5-Sys-Gamin/Makefile	Thu Nov  1 07:38:12 2012	(r306781)
@@ -1,6 +1,6 @@
 # New ports collection makefile for:	p5-Sys-Gamin
 # Date created:		03 May 2007
-# Whom: 	Nick Hibma <n_hibma@freebsd.org>
+# Whom: 	Nick Hibma <n_hibma@FreeBSD.org>
 #
 # $FreeBSD$
 #
@@ -12,15 +12,20 @@ CATEGORIES=	sysutils perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	n_hibma@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Perl interface to Gamin (File Access Monitor implementation)
 
 PERL_CONFIGURE=	yes
 USE_FAM=	yes
-MAN1=	monitor.1
+MAN1=	gamin-monitor.1
 MAN3=	Sys::Gamin.3
 
 pre-configure:
-	${PERL} -pi -e 'm/LIBS =>/ && print " INC => \"-I${LOCALBASE}/include\",\n"' ${WRKSRC}/Makefile.PL
+	# 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>

Modified: head/sysutils/p5-Sys-Gamin/pkg-plist
==============================================================================
--- head/sysutils/p5-Sys-Gamin/pkg-plist	Thu Nov  1 06:52:53 2012	(r306780)
+++ head/sysutils/p5-Sys-Gamin/pkg-plist	Thu Nov  1 07:38:12 2012	(r306781)
@@ -1,4 +1,5 @@
-bin/monitor
+bin/gamin-monitor
+man/man1/gamin-monitor.1
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Gamin/.packlist
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Gamin/Gamin.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Gamin/Gamin.bs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211010738.qA17cCFw041223>