From owner-svn-ports-head@FreeBSD.ORG Sun Jul 6 15:40:21 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 65A56699; Sun, 6 Jul 2014 15:40:21 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 394742B9C; Sun, 6 Jul 2014 15:40:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s66FeLZT061055; Sun, 6 Jul 2014 15:40:21 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s66FeKIv061053; Sun, 6 Jul 2014 15:40:20 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201407061540.s66FeKIv061053@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 6 Jul 2014 15:40:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360927 - head/sysutils/afbinit 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.18 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: Sun, 06 Jul 2014 15:40:21 -0000 Author: bapt Date: Sun Jul 6 15:40:20 2014 New Revision: 360927 URL: http://svnweb.freebsd.org/changeset/ports/360927 QAT: https://qat.redports.org/buildarchive/r360927/ Log: Support stage Modified: head/sysutils/afbinit/Makefile head/sysutils/afbinit/pkg-plist Modified: head/sysutils/afbinit/Makefile ============================================================================== --- head/sysutils/afbinit/Makefile Sun Jul 6 15:32:47 2014 (r360926) +++ head/sysutils/afbinit/Makefile Sun Jul 6 15:40:20 2014 (r360927) @@ -21,14 +21,13 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= marius@FreeBSD.org COMMENT= Sun AFB aka Sun Elite 3D microcode firmware loader +OPTIONS_DEFINE= DOCS + ONLY_FOR_ARCHS= sparc64 USE_RC_SUBR= afbinit WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig PKGMESSAGE= ${WRKDIR}/pkg-message -MAN8= afbinit.8 - -NO_STAGE= yes post-patch: .for i in afbinit.c debian/afbinit.8 @${REINPLACE_CMD} -E -e 's|\/usr\/lib|${DATADIR}|g; \ @@ -43,16 +42,11 @@ do-build: @cd ${WRKSRC} && ${CC} ${CFLAGS} -o afbinit afbinit.c do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${PREFIX}/sbin - @${INSTALL_MAN} ${WRKSRC}/debian/afbinit.8 ${PREFIX}/man/man8 - @${INSTALL} -d ${DATADIR} - @${INSTALL_DATA} ${WRKDIR}/afb-ucode/afb.ucode ${DATADIR} -.if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR} - @${INSTALL_DATA} ${WRKDIR}/afb-ucode/README ${DOCSDIR} -.endif - -post-install: - @${CAT} ${WRKDIR}/pkg-message + @${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${STAGEDIR}${PREFIX}/sbin + @${INSTALL_MAN} ${WRKSRC}/debian/afbinit.8 ${STAGEDIR}${PREFIX}/man/man8 + @${INSTALL} -d ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKDIR}/afb-ucode/afb.ucode ${STAGEDIR}${DATADIR} + @${INSTALL} -d ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKDIR}/afb-ucode/README ${STAGEDIR}${DOCSDIR} .include Modified: head/sysutils/afbinit/pkg-plist ============================================================================== --- head/sysutils/afbinit/pkg-plist Sun Jul 6 15:32:47 2014 (r360926) +++ head/sysutils/afbinit/pkg-plist Sun Jul 6 15:40:20 2014 (r360927) @@ -1,4 +1,5 @@ sbin/afbinit +man/man8/afbinit.8.gz %%DATADIR%%/afb.ucode @dirrm %%DATADIR%% %%PORTDOCS%%%%DOCSDIR%%/README