svn commit: r331480 - head/emulators/x48

Alexey Dokuchaev danfe at FreeBSD.org
Thu Oct 24 12:00:18 UTC 2013


Author: danfe
Date: Thu Oct 24 12:00:17 2013
New Revision: 331480
URL: http://svnweb.freebsd.org/changeset/ports/331480

Log:
  Stagify the port.

Modified:
  head/emulators/x48/Makefile

Modified: head/emulators/x48/Makefile
==============================================================================
--- head/emulators/x48/Makefile	Thu Oct 24 11:45:48 2013	(r331479)
+++ head/emulators/x48/Makefile	Thu Oct 24 12:00:17 2013	(r331480)
@@ -32,9 +32,6 @@ PORTDOCS=	ChangeLog README
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-extract: .SILENT
 # Extract official HP ROM images for GX/SX
 	${CP} ${_DISTDIR}/gxrom-r.bz2 ${WRKSRC} && ${BZIP2_CMD} \
@@ -54,13 +51,11 @@ post-patch:
 
 do-install:
 .for p in x48 dump2rom checkrom mkcard
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${p} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${p} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/??rom-? ${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S+^+${WRKSRC}/+} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/??rom-? ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S+^+${WRKSRC}/+} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list