Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 14:28:30 +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: r339241 - head/converters/ta2as
Message-ID:  <201401091428.s09ESUwm069406@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 14:28:30 2014
New Revision: 339241
URL: http://svnweb.freebsd.org/changeset/ports/339241

Log:
  Support stage

Modified:
  head/converters/ta2as/Makefile

Modified: head/converters/ta2as/Makefile
==============================================================================
--- head/converters/ta2as/Makefile	Thu Jan  9 14:23:58 2014	(r339240)
+++ head/converters/ta2as/Makefile	Thu Jan  9 14:28:30 2014	(r339241)
@@ -6,6 +6,7 @@ PORTVERSION=	0.8.2
 CATEGORIES=	converters devel
 MASTER_SITES=	GOOGLE_CODE
 DISTNAME=	${PORTNAME}_v${PORTVERSION:S/./_/g}_src
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	TASM to AT&T asm syntax converter (GNU AS)
@@ -14,14 +15,9 @@ OPTIONS_DEFINE=	DOCS
 
 NO_WRKSUBDIR=	yes
 
-USE_ZIP=	yes
-
 PORTDOCS=	*
 PLIST_FILES=	bin/${PORTNAME}
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-extract:
 	@${CP} -f ${FILESDIR}/strtolower.c ${WRKSRC}
 
@@ -34,10 +30,8 @@ do-build:
 		-o ${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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