svn commit: r346293 - in head/audio/asmixer: . files
Martin Wilke
miwi at FreeBSD.org
Thu Feb 27 09:20:04 UTC 2014
Author: miwi
Date: Thu Feb 27 09:20:04 2014
New Revision: 346293
URL: http://svnweb.freebsd.org/changeset/ports/346293
QAT: https://qat.redports.org/buildarchive/r346293/
Log:
- Update MASTER_SITES
- Add LICENSE
- Stage support
PR: 187063
Deleted:
head/audio/asmixer/files/
Modified:
head/audio/asmixer/Makefile
Modified: head/audio/asmixer/Makefile
==============================================================================
--- head/audio/asmixer/Makefile Thu Feb 27 09:18:00 2014 (r346292)
+++ head/audio/asmixer/Makefile Thu Feb 27 09:20:04 2014 (r346293)
@@ -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>
More information about the svn-ports-all
mailing list