From owner-svn-ports-all@FreeBSD.ORG Mon Jun 17 15:18:22 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 470549BC; Mon, 17 Jun 2013 15:18:22 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1F92D1D59; Mon, 17 Jun 2013 15:18:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HFIMEj029527; Mon, 17 Jun 2013 15:18:22 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5HFIMdn029526; Mon, 17 Jun 2013 15:18:22 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201306171518.r5HFIMdn029526@svn.freebsd.org> From: Martin Wilke Date: Mon, 17 Jun 2013 15:18:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321128 - head/audio/specimen X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 15:18:22 -0000 Author: miwi Date: Mon Jun 17 15:18:21 2013 New Revision: 321128 URL: http://svnweb.freebsd.org/changeset/ports/321128 Log: - Support CFLAGS properly - Add DESKTOP_ENTRIES PR: 179588 Submitted by: Ports Fury Modified: head/audio/specimen/Makefile (contents, props changed) Modified: head/audio/specimen/Makefile ============================================================================== --- head/audio/specimen/Makefile Mon Jun 17 15:15:37 2013 (r321127) +++ head/audio/specimen/Makefile Mon Jun 17 15:18:21 2013 (r321128) @@ -1,32 +1,38 @@ -# New ports collection makefile for: specimen -# Date created: 2007-03-06 -# Whom: trasz -# +# Created by: trasz # $FreeBSD$ -# PORTNAME= specimen DISTVERSION= 0.5.2-rc3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://zhevny.com/specimen/files/ MAINTAINER= ports@FreeBSD.org COMMENT= MIDI controllable audio sampler -LIB_DEPENDS= phat.0:${PORTSDIR}/x11-toolkits/phat \ - jack.0:${PORTSDIR}/audio/jack \ - samplerate.1:${PORTSDIR}/audio/libsamplerate \ - sndfile.1:${PORTSDIR}/audio/libsndfile \ - lash.2:${PORTSDIR}/audio/lash -BUILD_DEPENDS= jackit>=0.109.2:${PORTSDIR}/audio/jack - # Between 0.109.0 and earlier versions there was an api change in JACK. # However, the library version number was not changed. The line above # is supposed to work around that. -GNU_CONFIGURE= yes +BUILD_DEPENDS= jackit>=0.109.2:${PORTSDIR}/audio/jack +LIB_DEPENDS= jack:${PORTSDIR}/audio/jack \ + lash:${PORTSDIR}/audio/lash \ + samplerate:${PORTSDIR}/audio/libsamplerate \ + sndfile:${PORTSDIR}/audio/libsndfile \ + phat:${PORTSDIR}/x11-toolkits/phat + +USE_GNOME= libgnomecanvas libxml2 USE_GMAKE= yes -USE_GNOME= libxml2 libgnomecanvas +GNU_CONFIGURE= yes + +DESKTOP_ENTRIES="Specimen" "" "${DATADIR}/pixmaps/specimen.png" \ + "${PORTNAME}" "" "" + +post-patch: + @${REINPLACE_CMD} -e \ + 's|-Werror|| ; \ + s|-O3|$$CFLAGS|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|-l\.\.|-I..|' ${WRKSRC}/src/gui/Makefile.in .include