Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 13:49:58 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335178 - head/devel/cvsd
Message-ID:  <201311291349.rATDnwv2056850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Nov 29 13:49:57 2013
New Revision: 335178
URL: http://svnweb.freebsd.org/changeset/ports/335178

Log:
  devel/cvsd: allow staging
  
  PR:		ports/184337
  Submitted by:	maintainer

Added:
  head/devel/cvsd/pkg-plist   (contents, props changed)
Modified:
  head/devel/cvsd/Makefile

Modified: head/devel/cvsd/Makefile
==============================================================================
--- head/devel/cvsd/Makefile	Fri Nov 29 13:48:04 2013	(r335177)
+++ head/devel/cvsd/Makefile	Fri Nov 29 13:49:57 2013	(r335178)
@@ -10,48 +10,40 @@ MASTER_SITES=	http://arthurdejong.org/cv
 MAINTAINER=	rum1cro@yandex.ru
 COMMENT=	CVS pserver daemon
 
+LICENSE=	GPLv2
+
 EXTRA_PATCHES=	${FILESDIR}/extra-cvsd-buildroot.in
 
+USE_RC_SUBR=	cvsd
 USES=		perl5
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libwrap
 MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
 		AUTOHEADER="${TRUE}"
 
-MAN5=		cvsd.conf.5
-MAN8=		cvsd.8 cvsd-buginfo.8 cvsd-buildroot.8 cvsd-passwd.8
+OPTIONS_DEFINE=	DOCS
+
 PORTDOCS=	FAQ NEWS README
-PLIST_FILES=	etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \
-		sbin/cvsd-buildroot sbin/cvsd-passwd
-PLIST_DIRSTRY=	etc/cvsd
-USE_RC_SUBR=	cvsd
 
-OPTIONS_DEFINE=	DOCS
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
 .if ${OSVERSION} > 1000000
-BUILD_DEPENDS=	cvs:${PORTSDIR}/devel/cvs
-RUN_DEPENDS=	cvs:${PORTSDIR}/devel/cvs
+BUILD_DEPENDS+=	cvs:${PORTSDIR}/devel/cvs
+RUN_DEPENDS+=	cvs:${PORTSDIR}/devel/cvs
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd
+	${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${STAGEDIR}${PREFIX}/sbin/cvsd
 .for f in cvsd-buginfo cvsd-buildroot cvsd-passwd
-	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/sbin
-.endfor
-	@${MKDIR} ${PREFIX}/etc/cvsd
-	${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
-.for FILE in ${MAN5}
-	${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN5PREFIX}/man/man5
-.endfor
-.for FILE in ${MAN8}
-	${INSTALL_MAN} ${WRKSRC}/${FILE} ${MAN8PREFIX}/man/man8
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/sbin
 .endfor
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsd
+	${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${STAGEDIR}${PREFIX}/etc/cvsd/cvsd.conf.sample
+	${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Added: head/devel/cvsd/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/cvsd/pkg-plist	Fri Nov 29 13:49:57 2013	(r335178)
@@ -0,0 +1,11 @@
+etc/cvsd/cvsd.conf.sample
+man/man5/cvsd.conf.5.gz
+man/man8/cvsd-buginfo.8.gz
+man/man8/cvsd-buildroot.8.gz
+man/man8/cvsd-passwd.8.gz
+man/man8/cvsd.8.gz
+sbin/cvsd
+sbin/cvsd-buginfo
+sbin/cvsd-buildroot
+sbin/cvsd-passwd
+@dirrmtry etc/cvsd



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