summaryrefslogtreecommitdiff
path: root/lang/mpd/Makefile
blob: 65c787ac67e7ea9d740380b64ea4716c6c78cc6f (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
# $NetBSD: Makefile,v 1.13 2008/04/07 17:43:14 joerg Exp $
#

DISTNAME=		mpd.1.0.1
PKGNAME=		mpd-1.0.1
PKGREVISION=		7
CATEGORIES=		lang parallel
MASTER_SITES=		http://www.cs.arizona.edu/mpd/download/
DIST_SUBDIR=		mpd-language
EXTRACT_SUFX=		.tgz

MAINTAINER=		is@NetBSD.org
HOMEPAGE=		http://www.cs.arizona.edu/mpd/
COMMENT=		The MPD language compiler and run time system

CONFLICTS+=		musicpd-[0-9]*

ONLY_FOR_PLATFORM=	NetBSD-[2-9]*-*


TEST_TARGET=		verify

SUBST_CLASSES+=		mpd
SUBST_STAGE.mpd=	pre-configure
SUBST_MESSAGE.mpd=	Filling out path templates.
SUBST_FILES.mpd=	Configuration
SUBST_SED.mpd=		-e 's,_LOCALBASE_,${LOCALBASE},g'
SUBST_SED.mpd+=		-e 's,_WRKSRC_,${WRKSRC},g'
SUBST_SED.mpd+=		-e 's,_XINC_,${X11BASE}/include,g'
SUBST_SED.mpd+=		-e 's,_XLIB_,${X11BASE}/lib,g'

INSTALLATION_DIRS=	bin lib/mpd ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 \
			${PKGMANDIR}/man5 share/doc/mpd

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin/mpd-cstest
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mpd
	${INSTALL_DATA} ${WRKSRC}/doc/cairn.jpg ${PREFIX}/share/doc/mpd
	${INSTALL_DATA} ${WRKSRC}/doc/install.html ${PREFIX}/share/doc/mpd
	${INSTALL_DATA} ${WRKSRC}/doc/release.html ${PREFIX}/share/doc/mpd

.include "../..//x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"