blob: 1c2804fe74bf36c60076b2798e9c55251c64b523 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: trevor
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>
|