Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 06:48:43 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346111 - head/devel/cons
Message-ID:  <201402260648.s1Q6mhPf055599@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 26 06:48:42 2014
New Revision: 346111
URL: http://svnweb.freebsd.org/changeset/ports/346111
QAT: https://qat.redports.org/buildarchive/r346111/

Log:
  Support staging

Modified:
  head/devel/cons/Makefile
  head/devel/cons/pkg-plist

Modified: head/devel/cons/Makefile
==============================================================================
--- head/devel/cons/Makefile	Wed Feb 26 06:42:56 2014	(r346110)
+++ head/devel/cons/Makefile	Wed Feb 26 06:48:42 2014	(r346111)
@@ -18,23 +18,18 @@ USES=		perl5
 NO_BUILD=	yes
 PLIST_SUB=	CONS_VER=${PORTVERSION}
 
-MANCOMPRESSED=	yes
-MAN1=		cons.1
 DOCS=		CHANGES COPYING COPYRIGHT INSTALL MANIFEST README RELEASE \
 		cons.html TODO
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/cons ${PREFIX}/bin/cons
-	${INSTALL_MAN} ${WRKSRC}/cons.1.gz ${PREFIX}/man/man1/cons.1.gz
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/cons ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/cons.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${DOCS}
-	${INSTALL} -c ${WRKSRC}/$f ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/cons/pkg-plist
==============================================================================
--- head/devel/cons/pkg-plist	Wed Feb 26 06:42:56 2014	(r346110)
+++ head/devel/cons/pkg-plist	Wed Feb 26 06:48:42 2014	(r346111)
@@ -1,4 +1,5 @@
 bin/cons
+man/man1/cons.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT



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