ports/187063: audio/asmixer: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Tue Feb 25 18:10:08 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list