opnsense-ports/audio/asmix/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

39 lines
966 B
Makefile

# Created by: mtm@identd.net
# $FreeBSD$
PORTNAME= asmix
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= audio afterstep
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
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/asmix man/man1/asmix.1.gz
post-patch:
.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}/${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>