mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
37 lines
904 B
Makefile
37 lines
904 B
Makefile
# Created by: Mike Makonnen <mtm@identd.net>
|
|
|
|
PORTNAME= asmixer
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio afterstep
|
|
MASTER_SITES= http://tigr.net/afterstep/download/asmixer/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Mixer control for AfterStep window manager
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= xorg
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/asmixer ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/asmixer.man \
|
|
${STAGEDIR}${MANPREFIX}/man/man1/asmixer.1
|
|
|
|
.include <bsd.port.mk>
|