Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 12:41:41 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344197 - head/devel/orc
Message-ID:  <201402141241.s1ECffVY029437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Feb 14 12:41:41 2014
New Revision: 344197
URL: http://svnweb.freebsd.org/changeset/ports/344197
QAT: https://qat.redports.org/buildarchive/r344197/

Log:
  - Stage support
  
  With help from:	antoine
  Approved by:	kwm

Modified:
  head/devel/orc/Makefile

Modified: head/devel/orc/Makefile
==============================================================================
--- head/devel/orc/Makefile	Fri Feb 14 12:01:12 2014	(r344196)
+++ head/devel/orc/Makefile	Fri Feb 14 12:41:41 2014	(r344197)
@@ -27,19 +27,14 @@ EXAMPLES_EXEC=	example1 example2 example
 OPTIONS_DEFINE=	DOCS EXAMPLES
 DOCS_DESC=	Include gtk-doc documentation
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
 SUBDIRS+=	doc
-.else
-NOPORTDOCS=	yes
 .endif
 
 .if ${PORT_OPTIONS:MEXAMPLES}
 SUBDIRS+=	examples
-.else
-NOPORTEXAMPLES=	yes
 .endif
 
 MAKE_ARGS+=	SUBDIRS="${SUBDIRS}"
@@ -51,14 +46,12 @@ post-patch:
 		${WRKSRC}/configure 
 
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for FILE in ${EXAMPLES_DATA}
-	@${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR}/${FILE}
+	@${INSTALL_DATA} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
 .endfor
 .for FILE in ${EXAMPLES_EXEC}
-	@${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${EXAMPLESDIR}/${FILE}
+	@${INSTALL_SCRIPT} ${WRKSRC}/examples/${FILE} ${STAGEDIR}${EXAMPLESDIR}/${FILE}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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