1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/audio/xmixer/Makefile
2020-01-16 09:34:42 +00:00

41 lines
956 B
Makefile

# Created by: trevor
# $FreeBSD$
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|<getopt\.h>|<unistd.h>|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 <bsd.port.mk>