From 978c088c1785cd844794585d06c479bf51acaf06 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 13 May 2004 18:21:04 +0000 Subject: - Use buildlink framework. - Replace -lossaudio with ${LIBOSSAUDIO}. - Enable pkgviews installation. --- audio/tfmxplay/Makefile | 10 +++++++++- audio/tfmxplay/distinfo | 4 ++-- audio/tfmxplay/patches/patch-aa | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/audio/tfmxplay/Makefile b/audio/tfmxplay/Makefile index 60c1a5638ab..32340b647a3 100644 --- a/audio/tfmxplay/Makefile +++ b/audio/tfmxplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/07/21 16:30:47 martti Exp $ +# $NetBSD: Makefile,v 1.7 2004/05/13 18:21:04 minskim Exp $ # DISTNAME= tfmxplay-0.6 @@ -10,6 +10,14 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://darkstar.tabu.uni-bonn.de/~neo/audio.html COMMENT= Console TFMX (amiga games sound file format) player +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes + +.include "../../mk/ossaudio.buildlink3.mk" + +INSTALLATION_DIRS= bin + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tfmx-play ${PREFIX}/bin/tfmxplay ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tfmxplay diff --git a/audio/tfmxplay/distinfo b/audio/tfmxplay/distinfo index 22f0f1a011a..e906a7eabf8 100644 --- a/audio/tfmxplay/distinfo +++ b/audio/tfmxplay/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2004/03/23 02:08:37 minskim Exp $ +$NetBSD: distinfo,v 1.6 2004/05/13 18:21:04 minskim Exp $ SHA1 (tfmxplay-0.6.tgz) = 8028a03d4198da0733fa297e9e6ada864f0c782a Size (tfmxplay-0.6.tgz) = 24271 bytes -SHA1 (patch-aa) = 4e218d7727785d001aa7e7c85ae0cd75242ea697 +SHA1 (patch-aa) = 38bf1771c8773e7e12dbd1a563fa30ec9ae43c0f SHA1 (patch-ab) = 0e18cc967b397e48857f47bc231ae5a5eeb0e8dc SHA1 (patch-ac) = 5796904e2b50e538973deec598ec69728e48e8d5 diff --git a/audio/tfmxplay/patches/patch-aa b/audio/tfmxplay/patches/patch-aa index a277b07b845..925951d4f77 100644 --- a/audio/tfmxplay/patches/patch-aa +++ b/audio/tfmxplay/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2004/05/13 18:21:04 minskim Exp $ --- Makefile.orig Sat Jun 23 13:33:05 2001 +++ Makefile @@ -9,7 +9,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/07/10 01:14:02 wiz Exp $ -CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS) -LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) +#CFLAGS=$(PROFLAGS) -O -fno-strength-reduce $(SCHEDFLAGS) $(DEBUGFLAGS) -+LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) -lossaudio ++LDFLAGS=$(PROFLAGS) $(DEBUGFLAGS) ${LIBOSSAUDIO} BINARY=tfmx-play -- cgit v1.2.3