svn commit: r387942 - head/sysutils/p5-Tail-Stat

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat May 30 12:34:02 UTC 2015


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
+ at dir(,,1777) /var/db/tstatd
+ at dir(,,1777) /var/run/tstatd


More information about the svn-ports-all mailing list