diff options
Diffstat (limited to 'lang/mpd/Makefile')
-rw-r--r-- | lang/mpd/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lang/mpd/Makefile b/lang/mpd/Makefile new file mode 100644 index 00000000000..82496dc8361 --- /dev/null +++ b/lang/mpd/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/17 16:16:48 is Exp $ +# + +PKGNAME= mpd-1.0.1 +DISTNAME= mpd.1.0.1 +#PKGREVISION= 0 +CATEGORIES= lang parallel +MASTER_SITES= http://www.cs.arizona.edu/mpd/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= is@NetBSD.org +HOMEPAGE= http://www.cs.arizona.edu/mpd/ +COMMENT= The MPD language compiler and run time system + +ONLY_FOR_PLATFORM= NetBSD-[2-9]*-* + + +TEST_TARGET= verify + +.include "../../mk/x11.buildlink3.mk" + +pre-configure: + ${MV} ${WRKSRC}/Configuration \ + ${WRKSRC}/Configuration.template + ${SED} -e 's,_LOCALBASE_,${LOCALBASE},g' \ + -e 's,_WRKSRC_,${WRKSRC},g' \ + -e 's,_XINC_,${X11BASE}/include,g' \ + -e 's,_XLIB_,${X11BASE}/lib,g' \ + ${WRKSRC}/Configuration.template \ + > ${WRKSRC}/Configuration + +pre-install: + -${MKDIR} ${PREFIX}/lib/mpd + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin/mpd-cstest + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mpd + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mpd + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/mpd + ${INSTALL_DATA} ${WRKSRC}/doc/cairn.jpg ${PREFIX}/share/doc/html/mpd + ${INSTALL_DATA} ${WRKSRC}/doc/install.html ${PREFIX}/share/doc/html/mpd + ${INSTALL_DATA} ${WRKSRC}/doc/release.html ${PREFIX}/share/doc/html/mpd + +.include "../../mk/bsd.pkg.mk" |