blob: 0f016199d26ff0181ed5e0a4e15f702f915e9d21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# $NetBSD: Makefile,v 1.40 2019/07/01 04:07:56 ryoon Exp $
DISTNAME= moc-2.5.2
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= peter.schuller@infidyne.com
HOMEPAGE= https://moc.daper.net/
COMMENT= Curses based console audio player
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
SUBST_CLASSES+= eq
SUBST_STAGE.eq= pre-configure
SUBST_FILES.eq= configure
SUBST_SED.eq= -e 's," == "," = ",g'
SUBST_MESSAGE.eq= Fixing non-portable == in test
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
SUBST_CLASSES+= oss
SUBST_STAGE.oss= pre-configure
SUBST_FILES.oss= config.example.in options.c
SUBST_SED.oss= -e s,/dev/dsp,${DEVOSSAUDIO},g
SUBST_MESSAGE.oss= Fixing hardcoded audio device.
.endif
.if ${OSS_TYPE} == "none"
CONFIGURE_ARGS+= --without-oss
.endif
# not in pkgsrc?
CONFIGURE_ARGS+= --without-rcc
# no buildlink?
CONFIGURE_ARGS+= --without-timidity
# if you're one of the two people with music collections in musepack,
# want this, and can get it to work, please send a patch
CONFIGURE_ARGS+= --without-musepack
BUILDLINK_TRANSFORM+= l:db:db4
LDFLAGS.SunOS+= -lsocket
# ${PREFIX}/bin/mocp contains path to pkg-config in work/.tools/.
# It is harmless.
CHECK_WRKREF_SKIP= bin/mocp
.include "options.mk"
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|