pkgsrc/lang/mpd/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2012/10/02 20:11:46 asau 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
2005-10-19 06:43:31 +02:00
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://www.cs.arizona.edu/mpd/
COMMENT= The MPD language compiler and run time system
MAKE_JOBS_SAFE= no
CONFLICTS+= musicpd-[0-9]*
ONLY_FOR_PLATFORM= NetBSD-[2-9]*-*
NOT_FOR_PLATFORM= *-*-x86_64 # as per lang/sr
TEST_TARGET= verify
2010-03-03 14:31:53 +01:00
DP= ${DESTDIR}${PREFIX}
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'
2008-04-07 19:43:14 +02:00
INSTALLATION_DIRS= bin lib/mpd ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 \
${PKGMANDIR}/man5 share/doc/mpd
post-install:
2010-03-03 14:31:53 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${DP}/bin/mpd-cstest
${INSTALL_DATA} ${WRKSRC}/README ${DP}/share/doc/mpd
${INSTALL_DATA} ${WRKSRC}/doc/cairn.jpg ${DP}/share/doc/mpd
${INSTALL_DATA} ${WRKSRC}/doc/install.html ${DP}/share/doc/mpd
${INSTALL_DATA} ${WRKSRC}/doc/release.html ${DP}/share/doc/mpd
2007-03-25 11:48:13 +02:00
.include "../..//x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"