diff --git a/audio/Makefile b/audio/Makefile index ce76090f4caf..9f4120d3cdcd 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -363,6 +363,7 @@ SUBDIR += xmradio SUBDIR += xsidplay SUBDIR += xtuner + SUBDIR += xvmixer SUBDIR += xwave SUBDIR += yamt SUBDIR += zinf diff --git a/audio/xvmixer/Makefile b/audio/xvmixer/Makefile new file mode 100644 index 000000000000..506f987f26f5 --- /dev/null +++ b/audio/xvmixer/Makefile @@ -0,0 +1,26 @@ +# New Ports collection makefile for: xvmixer +# Date created: Tue Apr 15 23:07:07 EDT 2003 +# Whom: Serge Gagnon +# +# $FreeBSD$ +# + +PORTNAME= xvmixer +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= http://ftp.auxio.org/pub/mirrors/step.polymtl.ca/pub/Xview/apps/xvmixer/ \ + ftp://quenix.dyndns.org/freebsd/ + +MAINTAINER= gagnon__s@videotron.ca +COMMENT= Open Look-based audio mixer + +LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview + +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/Makefile +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xvmixer ${LOCALBASE}/bin + +.include diff --git a/audio/xvmixer/distinfo b/audio/xvmixer/distinfo new file mode 100644 index 000000000000..4fee75cc8681 --- /dev/null +++ b/audio/xvmixer/distinfo @@ -0,0 +1 @@ +MD5 (xvmixer-1.0.tar.gz) = 9dbf4a366c2ec2d82e54f182b57d30cc diff --git a/audio/xvmixer/files/patch-Makefile b/audio/xvmixer/files/patch-Makefile new file mode 100644 index 000000000000..d27729fcbc77 --- /dev/null +++ b/audio/xvmixer/files/patch-Makefile @@ -0,0 +1,25 @@ +--- Makefile.orig Mon Mar 17 04:43:11 1997 ++++ Makefile Wed Jul 23 17:00:50 2003 +@@ -1,17 +1,12 @@ +-#CC = gcc +-CC = cc +-#LD = gcc +-LD = cc +-CFLAGS = -pipe -O2 -DUSE_XBM_ICON +-#LDFLAGS = +-LIBRARIES= -L/usr/X11R6/lib -L/usr/openwin/lib -lxview -lolgx -lX11 +- +-#.c.o: $(CC) -c $(CFLAGS) $@ ++CC?= cc ++INCLUDES= -I. -I%%X11BASE%%/include ++CFLAGS+= -DUSE_XBM_ICON $(INCLUDES) ++LIBRARIES= -L%%X11BASE%%/lib -L/usr/lib -lxview -lolgx -lX11 + + all: xvmixer + + xvmixer: xvmixer.o +- $(LD) $(LDFLAGS) -o $@ xvmixer.o $(LIBRARIES) ++ $(CC) -o $@ xvmixer.o $(LIBRARIES) + + xvmixer.o: locked.bit unlocked.bit rec.bit + diff --git a/audio/xvmixer/pkg-descr b/audio/xvmixer/pkg-descr new file mode 100644 index 000000000000..f4d7f769c754 --- /dev/null +++ b/audio/xvmixer/pkg-descr @@ -0,0 +1,3 @@ +Open Look-based audio mixer + +WWW: http://step.polymtl.ca/~coyote/xview_main.html diff --git a/audio/xvmixer/pkg-plist b/audio/xvmixer/pkg-plist new file mode 100644 index 000000000000..1ab2a7c65501 --- /dev/null +++ b/audio/xvmixer/pkg-plist @@ -0,0 +1 @@ +bin/xvmixer