aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 17:04:29 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 17:04:29 +0800
commitf3f43ec32fe0a42ab1961faf31d3ceeabb3294ad (patch)
tree1a3cf309946960a97acb09785e8401c289b928e4 /audio
parent9acb60f6b201664244b364a6ad31bf3f53df7c7a (diff)
downloadfreebsd-ports-gnome-f3f43ec32fe0a42ab1961faf31d3ceeabb3294ad.tar.gz
freebsd-ports-gnome-f3f43ec32fe0a42ab1961faf31d3ceeabb3294ad.tar.zst
freebsd-ports-gnome-f3f43ec32fe0a42ab1961faf31d3ceeabb3294ad.zip
- Update MASTER_SITES and WWW: line
PR: 187050 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/asmix/Makefile25
-rw-r--r--audio/asmix/pkg-descr2
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 <bsd.port.mk>
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/