head	1.22;
access;
symbols
	pkgsrc-2026Q1:1.22.0.52
	pkgsrc-2026Q1-base:1.22
	pkgsrc-2025Q4:1.22.0.50
	pkgsrc-2025Q4-base:1.22
	pkgsrc-2025Q3:1.22.0.48
	pkgsrc-2025Q3-base:1.22
	pkgsrc-2025Q2:1.22.0.46
	pkgsrc-2025Q2-base:1.22
	pkgsrc-2025Q1:1.22.0.44
	pkgsrc-2025Q1-base:1.22
	pkgsrc-2024Q4:1.22.0.42
	pkgsrc-2024Q4-base:1.22
	pkgsrc-2024Q3:1.22.0.40
	pkgsrc-2024Q3-base:1.22
	pkgsrc-2024Q2:1.22.0.38
	pkgsrc-2024Q2-base:1.22
	pkgsrc-2024Q1:1.22.0.36
	pkgsrc-2024Q1-base:1.22
	pkgsrc-2023Q4:1.22.0.34
	pkgsrc-2023Q4-base:1.22
	pkgsrc-2023Q3:1.22.0.32
	pkgsrc-2023Q3-base:1.22
	pkgsrc-2023Q2:1.22.0.30
	pkgsrc-2023Q2-base:1.22
	pkgsrc-2023Q1:1.22.0.28
	pkgsrc-2023Q1-base:1.22
	pkgsrc-2022Q4:1.22.0.26
	pkgsrc-2022Q4-base:1.22
	pkgsrc-2022Q3:1.22.0.24
	pkgsrc-2022Q3-base:1.22
	pkgsrc-2022Q2:1.22.0.22
	pkgsrc-2022Q2-base:1.22
	pkgsrc-2022Q1:1.22.0.20
	pkgsrc-2022Q1-base:1.22
	pkgsrc-2021Q4:1.22.0.18
	pkgsrc-2021Q4-base:1.22
	pkgsrc-2021Q3:1.22.0.16
	pkgsrc-2021Q3-base:1.22
	pkgsrc-2021Q2:1.22.0.14
	pkgsrc-2021Q2-base:1.22
	pkgsrc-2021Q1:1.22.0.12
	pkgsrc-2021Q1-base:1.22
	pkgsrc-2020Q4:1.22.0.10
	pkgsrc-2020Q4-base:1.22
	pkgsrc-2020Q3:1.22.0.8
	pkgsrc-2020Q3-base:1.22
	pkgsrc-2020Q2:1.22.0.6
	pkgsrc-2020Q2-base:1.22
	pkgsrc-2020Q1:1.22.0.2
	pkgsrc-2020Q1-base:1.22
	pkgsrc-2019Q4:1.22.0.4
	pkgsrc-2019Q4-base:1.22
	pkgsrc-2019Q3:1.21.0.30
	pkgsrc-2019Q3-base:1.21
	pkgsrc-2019Q2:1.21.0.28
	pkgsrc-2019Q2-base:1.21
	pkgsrc-2019Q1:1.21.0.26
	pkgsrc-2019Q1-base:1.21
	pkgsrc-2018Q4:1.21.0.24
	pkgsrc-2018Q4-base:1.21
	pkgsrc-2018Q3:1.21.0.22
	pkgsrc-2018Q3-base:1.21
	pkgsrc-2018Q2:1.21.0.20
	pkgsrc-2018Q2-base:1.21
	pkgsrc-2018Q1:1.21.0.18
	pkgsrc-2018Q1-base:1.21
	pkgsrc-2017Q4:1.21.0.16
	pkgsrc-2017Q4-base:1.21
	pkgsrc-2017Q3:1.21.0.14
	pkgsrc-2017Q3-base:1.21
	pkgsrc-2017Q2:1.21.0.10
	pkgsrc-2017Q2-base:1.21
	pkgsrc-2017Q1:1.21.0.8
	pkgsrc-2017Q1-base:1.21
	pkgsrc-2016Q4:1.21.0.6
	pkgsrc-2016Q4-base:1.21
	pkgsrc-2016Q3:1.21.0.4
	pkgsrc-2016Q3-base:1.21
	pkgsrc-2016Q2:1.21.0.2
	pkgsrc-2016Q2-base:1.21
	pkgsrc-2016Q1:1.20.0.28
	pkgsrc-2016Q1-base:1.20
	pkgsrc-2015Q4:1.20.0.26
	pkgsrc-2015Q4-base:1.20
	pkgsrc-2015Q3:1.20.0.24
	pkgsrc-2015Q3-base:1.20
	pkgsrc-2015Q2:1.20.0.22
	pkgsrc-2015Q2-base:1.20
	pkgsrc-2015Q1:1.20.0.20
	pkgsrc-2015Q1-base:1.20
	pkgsrc-2014Q4:1.20.0.18
	pkgsrc-2014Q4-base:1.20
	pkgsrc-2014Q3:1.20.0.16
	pkgsrc-2014Q3-base:1.20
	pkgsrc-2014Q2:1.20.0.14
	pkgsrc-2014Q2-base:1.20
	pkgsrc-2014Q1:1.20.0.12
	pkgsrc-2014Q1-base:1.20
	pkgsrc-2013Q4:1.20.0.10
	pkgsrc-2013Q4-base:1.20
	pkgsrc-2013Q3:1.20.0.8
	pkgsrc-2013Q3-base:1.20
	pkgsrc-2013Q2:1.20.0.6
	pkgsrc-2013Q2-base:1.20
	pkgsrc-2013Q1:1.20.0.4
	pkgsrc-2013Q1-base:1.20
	pkgsrc-2012Q4:1.20.0.2
	pkgsrc-2012Q4-base:1.20
	pkgsrc-2012Q3:1.18.0.6
	pkgsrc-2012Q3-base:1.18
	pkgsrc-2012Q2:1.18.0.4
	pkgsrc-2012Q2-base:1.18
	pkgsrc-2012Q1:1.18.0.2
	pkgsrc-2012Q1-base:1.18
	pkgsrc-2011Q4:1.17.0.4
	pkgsrc-2011Q4-base:1.17
	pkgsrc-2011Q3:1.17.0.2
	pkgsrc-2011Q3-base:1.17
	pkgsrc-2011Q2:1.16.0.14
	pkgsrc-2011Q2-base:1.16
	pkgsrc-2011Q1:1.16.0.12
	pkgsrc-2011Q1-base:1.16
	pkgsrc-2010Q4:1.16.0.10
	pkgsrc-2010Q4-base:1.16
	pkgsrc-2010Q3:1.16.0.8
	pkgsrc-2010Q3-base:1.16
	pkgsrc-2010Q2:1.16.0.6
	pkgsrc-2010Q2-base:1.16
	pkgsrc-2010Q1:1.16.0.4
	pkgsrc-2010Q1-base:1.16
	pkgsrc-2009Q4:1.16.0.2
	pkgsrc-2009Q4-base:1.16
	pkgsrc-2009Q3:1.15.0.26
	pkgsrc-2009Q3-base:1.15
	pkgsrc-2009Q2:1.15.0.24
	pkgsrc-2009Q2-base:1.15
	pkgsrc-2009Q1:1.15.0.22
	pkgsrc-2009Q1-base:1.15
	pkgsrc-2008Q4:1.15.0.20
	pkgsrc-2008Q4-base:1.15
	pkgsrc-2008Q3:1.15.0.18
	pkgsrc-2008Q3-base:1.15
	cube-native-xorg:1.15.0.16
	cube-native-xorg-base:1.15
	pkgsrc-2008Q2:1.15.0.14
	pkgsrc-2008Q2-base:1.15
	cwrapper:1.15.0.12
	pkgsrc-2008Q1:1.15.0.10
	pkgsrc-2008Q1-base:1.15
	pkgsrc-2007Q4:1.15.0.8
	pkgsrc-2007Q4-base:1.15
	pkgsrc-2007Q3:1.15.0.6
	pkgsrc-2007Q3-base:1.15
	pkgsrc-2007Q2:1.15.0.4
	pkgsrc-2007Q2-base:1.15
	pkgsrc-2007Q1:1.15.0.2
	pkgsrc-2007Q1-base:1.15
	pkgsrc-2006Q4:1.13.0.2
	pkgsrc-2006Q4-base:1.13
	pkgsrc-2006Q3:1.9.0.6
	pkgsrc-2006Q3-base:1.9
	pkgsrc-2006Q2:1.9.0.4
	pkgsrc-2006Q2-base:1.9
	pkgsrc-2006Q1:1.9.0.2
	pkgsrc-2006Q1-base:1.9
	pkgsrc-2005Q4:1.8.0.6
	pkgsrc-2005Q4-base:1.8
	pkgsrc-2005Q3:1.8.0.4
	pkgsrc-2005Q3-base:1.8
	pkgsrc-2005Q2:1.8.0.2
	pkgsrc-2005Q2-base:1.8
	pkgsrc-2005Q1:1.6.0.8
	pkgsrc-2005Q1-base:1.6
	pkgsrc-2004Q4:1.6.0.6
	pkgsrc-2004Q4-base:1.6
	pkgsrc-2004Q3:1.6.0.4
	pkgsrc-2004Q3-base:1.6
	pkgsrc-2004Q2:1.6.0.2
	pkgsrc-2004Q2-base:1.6
	pkgsrc-2004Q1:1.5.0.4
	pkgsrc-2004Q1-base:1.5
	pkgsrc-2003Q4:1.5.0.2
	pkgsrc-2003Q4-base:1.5
	netbsd-1-6-1:1.2.0.2
	netbsd-1-6-1-base:1.2
	netbsd-1-6:1.1.1.1.0.4
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.1.1.0.6
	pkgviews-base:1.1
	buildlink2-base:1.1.1.1
	buildlink2:1.1.1.1.0.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.22
date	2019.11.02.21.09.17;	author rillig;	state Exp;
branches;
next	1.21;
commitid	7MSP1zUIbdhxWjJB;

1.21
date	2016.04.20.12.10.33;	author nros;	state Exp;
branches;
next	1.20;
commitid	RHDIp40T45Npsm3z;

1.20
date	2012.10.23.10.24.02;	author wiz;	state Exp;
branches;
next	1.19;

1.19
date	2012.10.02.23.48.13;	author asau;	state Exp;
branches;
next	1.18;

1.18
date	2012.02.15.23.11.29;	author hans;	state Exp;
branches;
next	1.17;

1.17
date	2011.09.04.21.38.03;	author dholland;	state Exp;
branches;
next	1.16;

1.16
date	2009.12.17.22.04.17;	author abs;	state Exp;
branches;
next	1.15;

1.15
date	2007.03.24.19.21.19;	author joerg;	state Exp;
branches;
next	1.14;

1.14
date	2007.02.22.19.26.08;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	2006.12.27.13.37.35;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2006.12.15.20.32.53;	author joerg;	state Exp;
branches;
next	1.11;

1.11
date	2006.10.14.07.59.10;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2006.10.04.20.44.20;	author wiz;	state Exp;
branches;
next	1.9;

1.9
date	2006.02.05.23.08.15;	author joerg;	state Exp;
branches;
next	1.8;

1.8
date	2005.06.01.18.02.39;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2005.04.11.21.44.58;	author tv;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.11.18.58.10;	author xtraeme;	state Exp;
branches;
next	1.5;

1.5
date	2003.11.18.14.47.59;	author xtraeme;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.21.16.30.48;	author martti;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.17.21.23.42;	author grant;	state Exp;
branches;
next	1.2;

1.2
date	2002.09.21.00.59.26;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2002.06.13.09.42.44;	author rh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.06.13.09.42.44;	author rh;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2002.06.13.09.42.44;	author jlam;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2002.06.23.18.39.23;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.22
log
@audio: align variable assignments and directives

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@# $NetBSD: Makefile,v 1.21 2016/04/20 12:10:33 nros Exp $

DISTNAME=	wmmp3-0.12
PKGREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	http://www.dotfiles.com/software/wmmp3/

MAINTAINER=	rxg@@NetBSD.org
# HOMEPAGE=	http://www.dotfiles.com/software/wmmp3/
COMMENT=	Front-end for mpg123 in a Window Maker dockapp
LICENSE=	gnu-gpl-v2

DEPENDS+=	mpg123>=0.59.18:../../audio/mpg123

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--x-includes=${X11BASE:Q}/include
CONFIGURE_ARGS+=	--x-libraries=${X11BASE:Q}/lib${LIBABISUFFIX:Q}

INSTALLATION_DIRS=	share/examples

post-patch:
	${MV} ${WRKSRC}/sample.wmmp3 ${WRKSRC}/sample.wmmp3.orig
	${SED} -e 's:/usr/local:'${PREFIX}':g' \
		${WRKSRC}/sample.wmmp3.orig > ${WRKSRC}/sample.wmmp3

post-install:
	${INSTALL_DATA} ${WRKSRC}/sample.wmmp3 \
		${DESTDIR}${PREFIX}/share/examples

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.21
log
@Set LICENSE for a lot of audio packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2012/10/23 10:24:02 wiz Exp $
d15 1
a15 1
GNU_CONFIGURE=	yes
@


1.20
log
@Remove xextproto/buildlink3.mk in most cases where it occurs with
libXext/buildlink3.mk, now that it is included there.
Leave the places where its API version is set or variables from it
are used directly (about 3 packages).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2012/10/02 23:48:13 asau Exp $
d11 1
@


1.19
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2012/02/15 23:11:29 hans Exp $
a30 1
.include "../../x11/xextproto/buildlink3.mk"
@


1.18
log
@Fix build on SunOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2011/09/04 21:38:03 dholland Exp $
a17 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.17
log
@Fix void main, caught by clang.

While here, fix other problems caught by gcc:
 - casting malloc instead of including <stdlib.h>
 - casting strdup instead of including <string.h>
 - failing to include <time.h> with bad consequences for -current.

PKGREVISION -> 3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2009/12/17 22:04:17 abs Exp $
d15 2
@


1.16
log
@+PKG_DESTDIR_SUPPORT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2007/03/24 19:21:19 joerg Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.15
log
@Prepare for switching to NO_MTREE=yes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2007/02/22 19:26:08 wiz Exp $
d16 1
d21 1
a21 1
	${SED} -e 's:/usr/local:'${LOCALBASE}':g' \
d25 2
a26 1
	${INSTALL_DATA} ${WRKSRC}/sample.wmmp3 ${PREFIX}/share/examples
@


1.14
log
@Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2006/12/27 13:37:35 joerg Exp $
d16 2
a23 1
	@@${ECHO} "===> Installing sample.wmmp3 in ${PREFIX}/share/examples"
@


1.13
log
@- fine grained X11 dependencies for packages which have either USE_IMAKE
  or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@@, wiz@@ and send to packages@@ for feedback.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2006/12/15 20:32:53 joerg Exp $
d6 1
a6 1
MASTER_SITES= 	http://www.dotfiles.com/software/wmmp3/
@


1.12
log
@Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2006/10/14 07:59:10 wiz Exp $
d25 1
d27 1
@


1.11
log
@Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2006/10/04 20:44:20 wiz Exp $
d25 1
a25 1
.include "../../graphics/xpm/buildlink3.mk"
@


1.10
log
@Update MASTER_SITES and HOMEPAGE, from Sergey Svishchev.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2006/02/05 23:08:15 joerg Exp $
a6 1
# dotfiles is alive, but /software is gone
d9 1
a9 1
HOMEPAGE=	http://www.dotfiles.com/software/wmmp3/
@


1.9
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2005/06/01 18:02:39 jlam Exp $
d7 1
@


1.8
log
@Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2005/04/11 21:44:58 tv Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.7
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/04/11 18:58:10 xtraeme Exp $
a14 1
USE_X11=	yes
@


1.6
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/11/18 14:47:59 xtraeme Exp $
a13 1
USE_BUILDLINK3=	yes
@


1.5
log
@s/USE_X11BASE/USE_X11/. Provided by Soren Jacobsen in PR pkg/23453.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/07/21 16:30:48 martti Exp $
d14 1
a14 1
USE_BUILDLINK2=	yes
d27 1
a27 1
.include "../../graphics/xpm/buildlink2.mk"
@


1.4
log
@COMMENT should start with a capital letter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/07/17 21:23:42 grant Exp $
d4 1
d16 1
a16 1
USE_X11BASE=	yes
@


1.3
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/09/21 00:59:26 jlam Exp $
d9 1
a9 1
COMMENT=	front-end for mpg123 in a Window Maker dockapp
@


1.2
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2002/06/13 09:42:44 rh Exp $
d7 1
a7 1
MAINTAINER=	rxg@@netbsd.org
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
d26 1
a26 2
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
@


1.1.1.1
log
@Initial import of wmmp3-0.12, a WindowMaker frontend for the mpg123
MP3 player, provided by Rui-Xiang Guo <rxg@@ms25.url.com.tw>.  This closes
his PR pkg/15983.
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch buildlink2 on 2002-06-23 18:39:23 +0000
@
text
@d1 27
@


1.1.1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 27
# $NetBSD: Makefile,v 1.1.1.1.2.1 2002/06/23 18:39:23 jlam Exp $

DISTNAME=	wmmp3-0.12
CATEGORIES=	audio
MASTER_SITES= 	http://www.dotfiles.com/software/wmmp3/

MAINTAINER=	rxg@@netbsd.org
HOMEPAGE=	http://www.dotfiles.com/software/wmmp3/
COMMENT=	front-end for mpg123 in a Window Maker dockapp

DEPENDS+=	mpg123>=0.59.18:../../audio/mpg123

GNU_CONFIGURE=	yes
USE_X11BASE=	yes

post-patch:
	${MV} ${WRKSRC}/sample.wmmp3 ${WRKSRC}/sample.wmmp3.orig
	${SED} -e 's:/usr/local:'${LOCALBASE}':g' \
		${WRKSRC}/sample.wmmp3.orig > ${WRKSRC}/sample.wmmp3

post-install:
	@@${ECHO} "===> Installing sample.wmmp3 in ${PREFIX}/share/examples"
	${INSTALL_DATA} ${WRKSRC}/sample.wmmp3 ${PREFIX}/share/examples

.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
@
