svn commit: r344197 - head/devel/orc

Martin Wilke miwi at FreeBSD.org
Fri Feb 14 12:41:41 UTC 2014


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>


More information about the svn-ports-head mailing list