Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 14:18:17 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359848 - head/sysutils/watchmen
Message-ID:  <201406301418.s5UEIHao020630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jun 30 14:18:17 2014
New Revision: 359848
URL: http://svnweb.freebsd.org/changeset/ports/359848
QAT: https://qat.redports.org/buildarchive/r359848/

Log:
  1: Stagify.
  2: use @sample, bump version.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/sysutils/watchmen/Makefile

Modified: head/sysutils/watchmen/Makefile
==============================================================================
--- head/sysutils/watchmen/Makefile	Mon Jun 30 14:13:28 2014	(r359847)
+++ head/sysutils/watchmen/Makefile	Mon Jun 30 14:18:17 2014	(r359848)
@@ -3,6 +3,7 @@
 
 PORTNAME=	watchmen
 PORTVERSION=	0.08
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GOOGLE_CODE
 
@@ -25,16 +26,14 @@ EMAIL_DESC=	report problems by email
 
 POD2MAN?=	pod2man
 
-MAN1=		${PORTNAME}.1
-PLIST_FILES=	\
-	bin/${PORTNAME}  \
-	etc/${PORTNAME}.conf.dist  \
-	%%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen/.packlist
+PLIST_FILES=	bin/${PORTNAME} \
+		"@sample etc/${PORTNAME}.conf.sample" \
+		%%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen/.packlist \
+		man/man1/${PORTNAME}.1.gz
 PLIST_DIRS=	%%SITE_PERL%%/%%PERL_ARCH%%/auto/App/watchmen \
 		%%SITE_PERL%%/%%PERL_ARCH%%/auto/App
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
 USE_MYSQL=	yes
@@ -51,6 +50,6 @@ RUN_DEPENDS+=	p5-MIME-Lite>=0:${PORTSDIR
 .endif
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${PREFIX}/etc
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.dist ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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