Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2015 12:34:01 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387942 - head/sysutils/p5-Tail-Stat
Message-ID:  <201505301234.t4UCY1dv066691@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat May 30 12:34:01 2015
New Revision: 387942
URL: https://svnweb.freebsd.org/changeset/ports/387942

Log:
  - Add NO_ARCH
  - Modernize /var subdirectories handling
  
  Approved by:	portmgr blanket

Deleted:
  head/sysutils/p5-Tail-Stat/pkg-install
Modified:
  head/sysutils/p5-Tail-Stat/Makefile
  head/sysutils/p5-Tail-Stat/pkg-plist

Modified: head/sysutils/p5-Tail-Stat/Makefile
==============================================================================
--- head/sysutils/p5-Tail-Stat/Makefile	Sat May 30 12:33:02 2015	(r387941)
+++ head/sysutils/p5-Tail-Stat/Makefile	Sat May 30 12:34:01 2015	(r387942)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Tail-Stat
 PORTVERSION=	0.22
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:LONERR
@@ -27,8 +27,12 @@ TEST_DEPENDS=	p5-Test-TCP>=0:${PORTSDIR}
 
 USES=		perl5
 USE_PERL5=	configure
+NO_ARCH=	yes
 
 USE_RC_SUBR=	tstatd
 SUB_LIST+=	RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}
 
+post-install:
+	${MKDIR} ${STAGEDIR}/var/db/tstatd ${STAGEDIR}/var/run/tstatd
+
 .include <bsd.port.mk>

Modified: head/sysutils/p5-Tail-Stat/pkg-plist
==============================================================================
--- head/sysutils/p5-Tail-Stat/pkg-plist	Sat May 30 12:33:02 2015	(r387941)
+++ head/sysutils/p5-Tail-Stat/pkg-plist	Sat May 30 12:34:01 2015	(r387942)
@@ -16,3 +16,5 @@ man/man1/tstatd.1.gz
 %%SITE_PERL%%/Tail/Stat/Plugin/icecast.pm
 %%SITE_PERL%%/Tail/Stat/Plugin/nginx.pm
 %%SITE_PERL%%/Tail/Stat/Plugin/spamd.pm
+@dir(,,1777) /var/db/tstatd
+@dir(,,1777) /var/run/tstatd



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