From owner-svn-ports-head@FreeBSD.ORG Sun Apr 27 20:50:28 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE670BB9; Sun, 27 Apr 2014 20:50:28 +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 CB63D1DEA; Sun, 27 Apr 2014 20:50:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3RKoSDS038723; Sun, 27 Apr 2014 20:50:28 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3RKoSuF038722; Sun, 27 Apr 2014 20:50:28 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201404272050.s3RKoSuF038722@svn.freebsd.org> From: Pawel Pekala Date: Sun, 27 Apr 2014 20:50:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352461 - head/graphics/linplasma 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: Sun, 27 Apr 2014 20:50:28 -0000 Author: pawel Date: Sun Apr 27 20:50:28 2014 New Revision: 352461 URL: http://svnweb.freebsd.org/changeset/ports/352461 QAT: https://qat.redports.org/buildarchive/r352461/ Log: - Add staging support - Convert to new LIB_DEPENDS format, options framework Modified: head/graphics/linplasma/Makefile Modified: head/graphics/linplasma/Makefile ============================================================================== --- head/graphics/linplasma/Makefile Sun Apr 27 20:34:08 2014 (r352460) +++ head/graphics/linplasma/Makefile Sun Apr 27 20:50:28 2014 (r352461) @@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR= apps/graphics/hacks/ MAINTAINER= ports@FreeBSD.org COMMENT= Sinus plasma, an SVGAlib demo -LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib +LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib ONLY_FOR_ARCHS= i386 @@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/linplasma PORTDOCS= README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e "s:PI:M_PI:" ${WRKSRC}/linplasma.c @${REINPLACE_CMD} -e \ @@ -28,11 +29,9 @@ post-patch: ${WRKSRC}/linplasma.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${PREFIX}/bin - ${CHMOD} +s ${PREFIX}/bin/linplasma -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${STAGEDIR}${PREFIX}/bin + ${CHMOD} +s ${STAGEDIR}${PREFIX}/bin/linplasma + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include