1999-11-14 04:17:42 +01:00
|
|
|
# New ports collection makefile for: xmixer
|
|
|
|
# Date created: 27 October 1999
|
2003-11-13 11:11:35 +01:00
|
|
|
# Whom: Trevor Johnson
|
1999-11-14 04:17:42 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= xmixer
|
2001-02-19 23:58:22 +01:00
|
|
|
PORTVERSION= 0.9.4
|
2006-03-07 09:28:06 +01:00
|
|
|
PORTREVISION= 3
|
1999-11-14 04:17:42 +01:00
|
|
|
CATEGORIES= audio
|
2005-05-26 21:36:41 +02:00
|
|
|
MASTER_SITES= http://mpx.freeshell.net/
|
1999-11-14 04:17:42 +01:00
|
|
|
|
2000-11-02 23:38:54 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Audio mixer (gtk and Xlib) for X11R6
|
2000-11-02 23:38:54 +01:00
|
|
|
|
2000-07-07 21:59:26 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
1999-11-14 04:17:42 +01:00
|
|
|
|
2005-05-26 21:36:41 +02:00
|
|
|
WANT_GNOME= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= ${PROGRAMS}
|
1999-11-14 04:17:42 +01:00
|
|
|
|
|
|
|
MAN1= xmixer.1
|
2005-05-26 21:36:41 +02:00
|
|
|
PLIST_FILES= bin/xmixer
|
1999-11-14 04:17:42 +01:00
|
|
|
|
2004-02-25 11:01:40 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-05-26 21:36:41 +02:00
|
|
|
.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
|
2004-02-25 11:01:40 +01:00
|
|
|
.endif
|
|
|
|
|
2005-05-26 21:36:41 +02:00
|
|
|
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
|
1999-11-14 04:17:42 +01:00
|
|
|
|
2004-02-25 11:01:40 +01:00
|
|
|
.include <bsd.port.post.mk>
|