# Created by: trevor # $FreeBSD: head/audio/xmixer/Makefile 523220 2020-01-16 09:34:42Z bapt $ PORTNAME= xmixer PORTVERSION= 0.9.4 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://mpx.freeshell.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio mixer (gtk and Xlib) for X11R6 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes ALL_TARGET= xmixer PLIST_FILES= bin/xmixer \ share/man/man1/xmixer.1.gz USES= xorg USE_XORG= x11 xt ice xaw xmu sm LDFLAGS+= -L${LOCALBASE}/lib -lX11 post-patch: @${GREP} -lR "rxvt -e" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|rxvt -e|xterm -e|g' @${REINPLACE_CMD} -e 's|-O -Wall||g ; \ s|^%\.o:.*$$|.c.o:|g ; \ s|gtk-config|pkg-config gtk+|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/main.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmixer ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xmixer.man ${STAGEDIR}${PREFIX}/share/man/man1/xmixer.1 .include