From owner-svn-ports-all@FreeBSD.ORG Thu Feb 27 09:20:04 2014 Return-Path: Delivered-To: svn-ports-all@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 BD439C0B; Thu, 27 Feb 2014 09:20:04 +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 A9B871FC3; Thu, 27 Feb 2014 09:20:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1R9K4ud050680; Thu, 27 Feb 2014 09:20:04 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1R9K4Q9050678; Thu, 27 Feb 2014 09:20:04 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201402270920.s1R9K4Q9050678@svn.freebsd.org> From: Martin Wilke Date: Thu, 27 Feb 2014 09:20:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346293 - in head/audio/asmixer: . files 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.17 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: Thu, 27 Feb 2014 09:20:04 -0000 Author: miwi Date: Thu Feb 27 09:20:04 2014 New Revision: 346293 URL: http://svnweb.freebsd.org/changeset/ports/346293 QAT: https://qat.redports.org/buildarchive/r346293/ Log: - Update MASTER_SITES - Add LICENSE - Stage support PR: 187063 Deleted: head/audio/asmixer/files/ Modified: head/audio/asmixer/Makefile Modified: head/audio/asmixer/Makefile ============================================================================== --- head/audio/asmixer/Makefile Thu Feb 27 09:18:00 2014 (r346292) +++ head/audio/asmixer/Makefile Thu Feb 27 09:20:04 2014 (r346293) @@ -3,28 +3,39 @@ PORTNAME= asmixer PORTVERSION= 0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio afterstep -MASTER_SITES= http://www.tigr.net/afterstep/download/asmixer/ +MASTER_SITES= AFTERSTEP/apps/asmix/ \ + http://tigr.net/afterstep/download/asmixer/ MAINTAINER= ports@FreeBSD.org COMMENT= Mixer control for AfterStep window manager -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-07 - -MAN1= ${PORTNAME}.1x -NO_STAGE= yes -PLIST_FILES= bin/asmixer +LICENSE= GPLv2 USE_XORG= xpm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-xpm \ - --with-xpm-includes=${LOCALBASE} \ - --with-xpm-library=${LOCALBASE} + --with-xpm-includes=${LOCALBASE}/include \ + --with-xpm-library=${LOCALBASE}/lib + +PLIST_FILES= bin/asmixer man/man1/asmixer.1.gz -post-install: - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \ - ${MAN1PREFIX}/man/man1/${PORTNAME}.1x +post-patch: +.for i in asmixer.c configure autoconf/config.h.in + @${REINPLACE_CMD} -e \ + 's|machine/soundcard.h|sys/soundcard.h| ; \ + s|MACHINE_SOUNDCARD_H|SYS_SOUNDCARD_H| ; \ + /sys\/syslimits.h/d' ${WRKSRC}/${i} +.endfor + +post-build: + @${LN} -sf asmixer.man ${WRKSRC}/asmixer.1 + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} asmixer \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} asmixer.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) .include