Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 08:25:52 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340694 - head/devel/acme
Message-ID:  <201401220825.s0M8PqHj035783@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jan 22 08:25:52 2014
New Revision: 340694
URL: http://svnweb.freebsd.org/changeset/ports/340694
QAT: https://qat.redports.org/buildarchive/r340694/

Log:
  Support stage

Modified:
  head/devel/acme/Makefile

Modified: head/devel/acme/Makefile
==============================================================================
--- head/devel/acme/Makefile	Wed Jan 22 08:20:56 2014	(r340693)
+++ head/devel/acme/Makefile	Wed Jan 22 08:25:52 2014	(r340694)
@@ -34,29 +34,19 @@ PLIST_DIRSTRY=	%%DATADIR%%/6502 \
 		%%DATADIR%%/Own \
 		%%DATADIR%%
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/acme ${PREFIX}/bin
-
+	${INSTALL_PROGRAM} ${WRKSRC}/src/acme ${STAGEDIR}${PREFIX}/bin
 .for dir in 6502 65816 Own
-	@${MKDIR} ${DATADIR}/${dir}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/${dir}
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/6502/* ${DATADIR}/6502
-	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/65816/* ${DATADIR}/65816
-	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/Own/* ${DATADIR}/Own
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}/me
-	${INSTALL_DATA} ${WRKSRC}/examples/*.a ${EXAMPLESDIR}/
-	${INSTALL_DATA} ${WRKSRC}/examples/me/*.a ${EXAMPLESDIR}/me/
-.endif
+	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/6502/* ${STAGEDIR}${DATADIR}/6502
+	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/65816/* ${STAGEDIR}${DATADIR}/65816
+	${INSTALL_DATA} ${WRKSRC}/ACME_Lib/Own/* ${STAGEDIR}${DATADIR}/Own
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/me
+	${INSTALL_DATA} ${WRKSRC}/examples/*.a ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/examples/me/*.a ${STAGEDIR}${EXAMPLESDIR}/me/
 
 .include <bsd.port.mk>



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