mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
340b57f8be
- Bump PORTREVISION for all ports depending on libglut since the shlib version number went from 4 to 3. - Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't installed anymore. - Couple of ports fixes (mostly missing xorg components added to USE_XORG).
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# New ports collection makefile for: xmixer
|
|
# Date created: 27 October 1999
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmixer
|
|
PORTVERSION= 0.9.4
|
|
PORTREVISION= 6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://mpx.freeshell.net/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Audio mixer (gtk and Xlib) for X11R6
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
WANT_GNOME= yes
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= ${PROGRAMS}
|
|
|
|
MAN1= xmixer.1
|
|
PLIST_FILES= bin/xmixer
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mgtk12}!=""
|
|
PKGNAMESUFFIX= -gtk
|
|
USE_GNOME+= gtk12
|
|
PROGRAMS= xmixer xgmixer
|
|
MLINKS+= xmixer.1 xgmixer.1
|
|
PLIST_FILES+= bin/xgmixer
|
|
.else
|
|
USE_XORG= x11 xt ice xaw
|
|
PROGRAMS= xmixer
|
|
.endif
|
|
|
|
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>
|