From 7269f6c870cb2b2711f0f18d60e919194befe529 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 27 Feb 2014 09:04:29 +0000 Subject: [PATCH] - Update MASTER_SITES and WWW: line PR: 187050 Submitted by: Ports Fury --- audio/asmix/Makefile | 25 ++++++++++++++++--------- audio/asmix/pkg-descr | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/audio/asmix/Makefile b/audio/asmix/Makefile index 1b21e39f11e9..b974faa4fbe4 100644 --- a/audio/asmix/Makefile +++ b/audio/asmix/Makefile @@ -3,15 +3,15 @@ PORTNAME= asmix PORTVERSION= 1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio afterstep -MASTER_SITES= http://www.tigr.net/afterstep/download/asmix/ +MASTER_SITES= http://tigr.net/afterstep/download/asmix/ \ + http://www.sourcefiles.org/Utilities/Console/A-B/ MAINTAINER= ports@FreeBSD.org COMMENT= Volume control dock-app for the AfterStep Window Manager -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-07 +LICENSE= GPLv2 USE_XORG= xpm x11 GNU_CONFIGURE= yes @@ -19,14 +19,21 @@ CONFIGURE_ARGS= --with-xpm \ --with-xpm-includes=${LOCALBASE}/include \ --with-xpm-library=${LOCALBASE}/lib -NO_STAGE= yes -MAN1= ${PORTNAME}.1x -PLIST_FILES= bin/asmix +PLIST_FILES= bin/asmix man/man1/asmix.1.gz post-patch: -.for file in asmix.c configure autoconf/config.h.in +.for i in asmix.c configure autoconf/config.h.in @${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|g ; \ - s|MACHINE_SOUNDCARD|SYS_SOUNDCARD|g' ${WRKSRC}/${file} + s|MACHINE_SOUNDCARD|SYS_SOUNDCARD|g' ${WRKSRC}/${i} .endfor +post-build: + @${LN} -sf asmix.man ${WRKSRC}/asmix.1 + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} asmix \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} asmix.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) + .include diff --git a/audio/asmix/pkg-descr b/audio/asmix/pkg-descr index 9e3a37f068e7..9dd4c51302ab 100644 --- a/audio/asmix/pkg-descr +++ b/audio/asmix/pkg-descr @@ -2,4 +2,4 @@ The asmix utility is a volume control knob for X windows and for AfterStep window manager especially. The knob can be used to adjust the master volume of your sound card. -WWW: http://www.tigr.net/afterstep/ +WWW: http://tigr.net/afterstep/