From 106fe93a107fb194436fd46c4bd7042143fa5679 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 1 Jul 2001 21:40:27 +0000 Subject: Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. --- audio/xmmix/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'audio/xmmix') diff --git a/audio/xmmix/Makefile b/audio/xmmix/Makefile index cc7e9b2da29..e9ee17559b0 100644 --- a/audio/xmmix/Makefile +++ b/audio/xmmix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/02/16 13:30:53 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2001/07/01 21:40:27 jlam Exp $ # FreeBSD ID: Makefile,v 1.5 1997/09/08 13:37:47 tg Exp # @@ -10,14 +10,15 @@ MAINTAINER= augustss@cs.chalmers.se HOMEPAGE= http://sunsite.unc.edu/~cddb/xmmix/index.html COMMENT= X interface to the audio mixer device -USE_IMAKE= yes -USE_MOTIF= yes +USE_BUILDLINK_ONLY= yes +USE_IMAKE= yes post-patch: - for file in ${WRKSRC}/XMmix.ad ${WRKSRC}/resource.h; do \ - ${CP} $$file $$file.orig; \ - ${CHMOD} +w $$file; \ - ${SED} "s^/usr/lib/X11/xmmix.hlp^${PREFIX}/lib/X11/xmmix.hlp^" $$file.orig > $$file; \ + for file in ${WRKSRC}/XMmix.ad ${WRKSRC}/resource.h; do \ + ${MV} -f $$file $$file.orig; \ + ${SED} -e "s|/usr/lib/X11/xmmix.hlp|${PREFIX}/lib/X11/xmmix.hlp|g" \ + $$file.orig > $$file; \ done +.include "../../x11/lesstif/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3