From owner-svn-ports-head@FreeBSD.ORG Mon Jan 27 11:40:38 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 01C3D752; Mon, 27 Jan 2014 11:40:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E20891F46; Mon, 27 Jan 2014 11:40:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RBebT7076388; Mon, 27 Jan 2014 11:40:37 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0RBebNS076387; Mon, 27 Jan 2014 11:40:37 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401271140.s0RBebNS076387@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 Jan 2014 11:40:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341377 - head/devel/avra X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 11:40:38 -0000 Author: bapt Date: Mon Jan 27 11:40:37 2014 New Revision: 341377 URL: http://svnweb.freebsd.org/changeset/ports/341377 QAT: https://qat.redports.org/buildarchive/r341377/ Log: Support stage USE_GMAKE -> USES=gmake Use options framework Modified: head/devel/avra/Makefile Modified: head/devel/avra/Makefile ============================================================================== --- head/devel/avra/Makefile Mon Jan 27 11:38:19 2014 (r341376) +++ head/devel/avra/Makefile Mon Jan 27 11:40:37 2014 (r341377) @@ -12,10 +12,12 @@ COMMENT= Macro Assembler for Atmel AVR m LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual +OPTIONS_DEFINE= DOCS EXAMPLES + WRKSRC= ${WRKDIR}/${DISTNAME}/src +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes MAKEFILE= ${WRKSRC}/makefiles/Makefile.linux MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="" @@ -23,16 +25,11 @@ PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/avra -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/avra ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/avra ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/../examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include