Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2017 15:29:09 +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: r435346 - head/sysutils/watchmen
Message-ID:  <201703031529.v23FT9ni037424@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Mar  3 15:29:09 2017
New Revision: 435346
URL: https://svnweb.freebsd.org/changeset/ports/435346

Log:
  - Update to 0.09
  - Switch to new GitHub home
  - Add NO_ARCH
  - Switch to options helpers
  - Cleanup unused statements
  
  Submitted by:	maintainer, via jabber

Modified:
  head/sysutils/watchmen/Makefile
  head/sysutils/watchmen/distinfo

Modified: head/sysutils/watchmen/Makefile
==============================================================================
--- head/sysutils/watchmen/Makefile	Fri Mar  3 15:07:51 2017	(r435345)
+++ head/sysutils/watchmen/Makefile	Fri Mar  3 15:29:09 2017	(r435346)
@@ -2,51 +2,37 @@
 # $FreeBSD$
 
 PORTNAME=	watchmen
-PORTVERSION=	0.08
-PORTREVISION=	2
+PORTVERSION=	0.09
 CATEGORIES=	sysutils
-MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	proler@gmail.com
 COMMENT=	Watch and restart daemons
 
-LICENSE=	GPLv3
-
-BROKEN=		Unfetchable (google code has gone away)
+LICENSE=	GPLv3+
 
 RUN_DEPENDS=	p5-libwww>=6.04:www/p5-libwww \
 		p5-URI>=0:net/p5-URI
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	proller
+
 USES=		perl5 shebangfix
 USE_PERL5=	configure
 SHEBANG_FILES=	watchmen
-
-OPTIONS_DEFINE=	MYSQL PGSQL EMAIL
-MYSQL_DESC=	Want test mysql queries
-PGSQL_DESC=	Want test postgresql queries
-EMAIL_DESC=	report problems by email
-
-POD2MAN?=	pod2man
+NO_ARCH=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \
 		"@sample etc/${PORTNAME}.conf.sample" \
 		${SITE_MAN1}/${PORTNAME}.1.gz
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL=	yes
-RUN_DEPENDS+=	p5-DBD-mysql>=0:databases/p5-DBD-mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USES+=		pgsql
-RUN_DEPENDS+=	p5-DBD-Pg>=2.19.2:databases/p5-DBD-Pg
-.endif
-
-.if ${PORT_OPTIONS:MEMAIL}
-RUN_DEPENDS+=	p5-MIME-Lite>=0:mail/p5-MIME-Lite
-.endif
+OPTIONS_DEFINE=	MYSQL PGSQL EMAIL
+MYSQL_DESC=	Enable test mysql queries
+PGSQL_DESC=	Enable test postgresql queries
+EMAIL_DESC=	Report problems by email
+
+MYSQL_RUN_DEPENDS=	p5-DBD-mysql>=0:databases/p5-DBD-mysql
+PGSQL_RUN_DEPENDS=	p5-DBD-Pg>=2.19.2:databases/p5-DBD-Pg
+EMAIL_RUN_DEPENDS=	p5-MIME-Lite>=0:mail/p5-MIME-Lite
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample

Modified: head/sysutils/watchmen/distinfo
==============================================================================
--- head/sysutils/watchmen/distinfo	Fri Mar  3 15:07:51 2017	(r435345)
+++ head/sysutils/watchmen/distinfo	Fri Mar  3 15:29:09 2017	(r435346)
@@ -1,2 +1,3 @@
-SHA256 (watchmen-0.08.tar.gz) = 3e31f9ac2b32a2326896737032c9b38a21bf3b7554a962746f6bfe0f8e051cbb
-SIZE (watchmen-0.08.tar.gz) = 18578
+TIMESTAMP = 1488479957
+SHA256 (proller-watchmen-0.09_GH0.tar.gz) = 37892812b407dc32060eaeea13499f40b6d0d617b1e9cc1f720f754f27f79af2
+SIZE (proller-watchmen-0.09_GH0.tar.gz) = 16177



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