diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-26 19:36:41 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-26 19:36:41 +0000 |
commit | 427c611e69989ede626afd4661f0ba9341f036ae (patch) | |
tree | 364d118927443a4c62285cce0813db632f3021c4 /audio/xmixer/Makefile | |
parent | bbe10a6dc6d236b92ae5caa8574f8cf78a4ac040 (diff) | |
download | ports-427c611e69989ede626afd4661f0ba9341f036ae.tar.gz ports-427c611e69989ede626afd4661f0ba9341f036ae.zip |
- Fix MASTER_SITES
- Optionalize GTK support
- Add WWW: line
PR: ports/81504
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=136201
Diffstat (limited to 'audio/xmixer/Makefile')
-rw-r--r-- | audio/xmixer/Makefile | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile index 10e1514cab74..89f80a2894c8 100644 --- a/audio/xmixer/Makefile +++ b/audio/xmixer/Makefile @@ -7,31 +7,48 @@ PORTNAME= xmixer PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio -# Master site seems to be MIA and no replacement could be found -MASTER_SITES= #http://www.hdk-berlin.de/~rasca/ +MASTER_SITES= http://mpx.freeshell.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio mixer (gtk and Xlib) for X11R6 WRKSRC= ${WRKDIR}/${PORTNAME} +WANT_GNOME= yes USE_REINPLACE= yes -USE_GNOME= gtk12 -USE_AUTOCONF_VER= 213 +GNU_CONFIGURE= yes +ALL_TARGET= ${PROGRAMS} -PLIST_FILES= bin/xmixer bin/xgmixer MAN1= xmixer.1 -MLINKS= xmixer.1 xgmixer.1 +PLIST_FILES= bin/xmixer .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +.if ${HAVE_GNOME:Mgtk12}!="" +PKGNAMESUFFIX= -gtk +USE_GNOME+= gtk12 +PROGRAMS= xmixer xgmixer +MLINKS+= xmixer.1 xgmixer.1 +PLIST_FILES+= bin/xgmixer +.else +USE_XLIB= yes +PROGRAMS= xmixer .endif -pre-patch: - @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|rxvt -e|xterm -e|g' +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: +.for file in ${PROGRAMS} + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file} +.endfor + ${INSTALL_MAN} ${WRKSRC}/xmixer.man ${MANPREFIX}/man/man1/xmixer.1 .include <bsd.port.post.mk> |