Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 23:42:35 +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: r340948 - head/devel/z80asm
Message-ID:  <201401242342.s0ONgZMr095566@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 24 23:42:35 2014
New Revision: 340948
URL: http://svnweb.freebsd.org/changeset/ports/340948
QAT: https://qat.redports.org/buildarchive/r340948/

Log:
  Support stage

Modified:
  head/devel/z80asm/Makefile
  head/devel/z80asm/pkg-plist

Modified: head/devel/z80asm/Makefile
==============================================================================
--- head/devel/z80asm/Makefile	Fri Jan 24 23:37:10 2014	(r340947)
+++ head/devel/z80asm/Makefile	Fri Jan 24 23:42:35 2014	(r340948)
@@ -10,27 +10,24 @@ MASTER_SITES=	http://nongnu.mirror.ironi
 MAINTAINER=	sigma.zx@gmail.com
 COMMENT=	Assembler for the Z80 microprocessor
 
-USE_GMAKE=	yes
-MAN1=		z80asm.1
+OPTIONS_DEFINE=	EXAMPLES
+
+USES=		gmake
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's#/bin/bash#/bin/sh#' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/z80asm.1 ${PREFIX}/man/man1
-	${INSTALL_PROGRAM} ${WRKSRC}/z80asm ${PREFIX}/bin
-
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/hello.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/macro.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/seek.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx-bios.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2+-bios.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-bios.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-subrom.asm ${EXAMPLESDIR}
-	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msxturbor-bios.asm ${EXAMPLESDIR}
-.endif
+	${INSTALL_MAN} ${WRKSRC}/z80asm.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/z80asm ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/hello.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/macro.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/examples/seek.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx-bios.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2+-bios.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-bios.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msx2-subrom.asm ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} -m 444 ${WRKSRC}/headers/msxturbor-bios.asm ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/z80asm/pkg-plist
==============================================================================
--- head/devel/z80asm/pkg-plist	Fri Jan 24 23:37:10 2014	(r340947)
+++ head/devel/z80asm/pkg-plist	Fri Jan 24 23:42:35 2014	(r340948)
@@ -1,4 +1,5 @@
 bin/z80asm
+man/man1/z80asm.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello.asm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/macro.asm
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/msx-bios.asm



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