Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 06:42:56 +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: r346110 - head/databases/rdb
Message-ID:  <201402260642.s1Q6guNA054860@svn.freebsd.org>

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

Log:
  Support staging

Modified:
  head/databases/rdb/Makefile

Modified: head/databases/rdb/Makefile
==============================================================================
--- head/databases/rdb/Makefile	Wed Feb 26 06:40:44 2014	(r346109)
+++ head/databases/rdb/Makefile	Wed Feb 26 06:42:56 2014	(r346110)
@@ -19,21 +19,19 @@ BINFILES=	column compute dataent etbl he
 
 DOCFILES=	RDB.pln.noM.gz RDB.ps.gz rdbi.doc
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-build:
 	cd ${WRKSRC}; \
 	${PERL} -pi -e 's|^\#\! /usr/bin/perl|\#\!${PERL}|g' ${BINFILES}
 
 do-install:
 .for binfile in ${BINFILES}
-	${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin
 .endfor
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in ${DOCFILES}
-	@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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