1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/asmixer/Makefile
Martin Wilke d4aa27bf92 - Update MASTER_SITES
- Add LICENSE
- Stage support

PR:		187063
2014-02-27 09:20:04 +00:00

42 lines
995 B
Makefile

# Created by: Mike Makonnen <mtm@identd.net>
# $FreeBSD$
PORTNAME= asmixer
PORTVERSION= 0.5
PORTREVISION= 3
CATEGORIES= audio afterstep
MASTER_SITES= AFTERSTEP/apps/asmix/ \
http://tigr.net/afterstep/download/asmixer/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mixer control for AfterStep window manager
LICENSE= GPLv2
USE_XORG= xpm x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-xpm \
--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
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} asmixer \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC} && ${INSTALL_MAN} asmixer.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
.include <bsd.port.mk>