Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 02:51:55 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187063: audio/asmixer: Update MASTER_SITES
Message-ID:  <20140226025155.1db9e08eaac5b835d8c3a3f0@yahoo.com>
Resent-Message-ID: <201402251810.s1PIA88k042603@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187063
>Category:       ports
>Synopsis:       audio/asmixer: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 25 18:10:08 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE

Remove file:
files/patch-asmixer.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/asmixer/Makefile audio/asmixer/Makefile
--- /usr/ports/audio/asmixer/Makefile	2014-02-08 04:12:05.000000000 +0900
+++ audio/asmixer/Makefile	2014-02-26 00:00:00.000000000 +0900
@@ -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 <bsd.port.mk>
diff -urN /usr/ports/audio/asmixer/files/patch-asmixer.c audio/asmixer/files/patch-asmixer.c
--- /usr/ports/audio/asmixer/files/patch-asmixer.c	2014-01-23 03:59:08.000000000 +0900
+++ audio/asmixer/files/patch-asmixer.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,12 +0,0 @@
---- asmixer.c.orig	Sun Aug 31 15:23:26 2003
-+++ asmixer.c	Sun Aug 31 15:24:45 2003
-@@ -31,8 +31,8 @@
- #include <unistd.h>
- 
- #ifdef __FreeBSD__
--#include <sys/syslimits.h>
- #include <sys/param.h>
-+#include <sys/soundcard.h>
- #endif
- 
- #include <sys/mount.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140226025155.1db9e08eaac5b835d8c3a3f0>