aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/