From d4aa27bf925c0bee3e19ecec6038c6fbae90dc6e Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 27 Feb 2014 09:20:04 +0000 Subject: - Update MASTER_SITES - Add LICENSE - Stage support PR: 187063 --- audio/asmixer/Makefile | 37 ++++++++++++++++++++++++------------- audio/asmixer/files/patch-asmixer.c | 12 ------------ 2 files changed, 24 insertions(+), 25 deletions(-) delete mode 100644 audio/asmixer/files/patch-asmixer.c (limited to 'audio/asmixer') diff --git a/audio/asmixer/Makefile b/audio/asmixer/Makefile index 44844f1f0e56..db549e2c0c8f 100644 --- a/audio/asmixer/Makefile +++ b/audio/asmixer/Makefile @@ -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-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 -post-install: - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \ - ${MAN1PREFIX}/man/man1/${PORTNAME}.1x +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} asmixer \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} asmixer.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) .include diff --git a/audio/asmixer/files/patch-asmixer.c b/audio/asmixer/files/patch-asmixer.c deleted file mode 100644 index 7d2d51e2fd57..000000000000 --- a/audio/asmixer/files/patch-asmixer.c +++ /dev/null @@ -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 - - #ifdef __FreeBSD__ --#include - #include -+#include - #endif - - #include -- cgit v1.2.3