summaryrefslogtreecommitdiff
path: root/lang/mpd
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mpd')
-rw-r--r--lang/mpd/Makefile49
-rw-r--r--lang/mpd/PLIST9
2 files changed, 26 insertions, 32 deletions
diff --git a/lang/mpd/Makefile b/lang/mpd/Makefile
index f3cc7881cb6..4293c976a92 100644
--- a/lang/mpd/Makefile
+++ b/lang/mpd/Makefile
@@ -1,47 +1,42 @@
-# $NetBSD: Makefile,v 1.9 2006/05/18 12:57:15 is Exp $
+# $NetBSD: Makefile,v 1.10 2006/07/10 04:04:22 rillig Exp $
#
-PKGNAME= mpd-1.0.1
DISTNAME= mpd.1.0.1
-PKGREVISION= 6
+PKGNAME= mpd-1.0.1
+PKGREVISION= 7
CATEGORIES= lang parallel
MASTER_SITES= http://www.cs.arizona.edu/mpd/download/
-EXTRACT_SUFX= .tgz
DIST_SUBDIR= mpd-language
-
-CONFLICTS+= musicpd-[0-9]*
+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]*-*
+CONFLICTS+= musicpd-[0-9]*
+ONLY_FOR_PLATFORM= NetBSD-[2-9]*-*
-TEST_TARGET= verify
-.include "../../mk/x11.buildlink3.mk"
+TEST_TARGET= verify
-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
+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'
-pre-install:
- -${MKDIR} ${PREFIX}/lib/mpd
+INSTALLATION_DIRS= bin lib/mpd man/man1 man/man3 share/doc/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
+ ${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 "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/mpd/PLIST b/lang/mpd/PLIST
index 3bf4ac53fc3..c0c62e13cf6 100644
--- a/lang/mpd/PLIST
+++ b/lang/mpd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/17 16:16:48 is Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/07/10 04:04:22 rillig Exp $
bin/mpd
bin/mpd-cstest
bin/mpdl
@@ -28,10 +28,9 @@ man/man3/mpdgetopt.3
man/man3/mpdwin.3
man/man5/mpdmap.5
man/man5/mpdtrace.5
-share/doc/html/mpd/cairn.jpg
-share/doc/html/mpd/install.html
-share/doc/html/mpd/release.html
share/doc/mpd/README
-@dirrm share/doc/html/mpd
+share/doc/mpd/cairn.jpg
+share/doc/mpd/install.html
+share/doc/mpd/release.html
@dirrm share/doc/mpd
@dirrm lib/mpd