pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/mpd - Converted the package to using the SUBST fr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/348aca9da318
branches: trunk
changeset: 515860:348aca9da318
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jul 10 04:04:22 2006 +0000
description:
- Converted the package to using the SUBST framework.
- Fixed pkglint warnings.
- Moved the documentation to share/doc/mpd.
- Bumped PKGREVISION.
diffstat:
lang/mpd/Makefile | 49 ++++++++++++++++++++++---------------------------
lang/mpd/PLIST | 9 ++++-----
2 files changed, 26 insertions(+), 32 deletions(-)
diffs (96 lines):
diff -r 025d7a533e05 -r 348aca9da318 lang/mpd/Makefile
--- a/lang/mpd/Makefile Mon Jul 10 03:46:49 2006 +0000
+++ b/lang/mpd/Makefile Mon Jul 10 04:04:22 2006 +0000
@@ -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 $
#
+DISTNAME= mpd.1.0.1
PKGNAME= mpd-1.0.1
-DISTNAME= mpd.1.0.1
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= lang parallel
MASTER_SITES= http://www.cs.arizona.edu/mpd/download/
+DIST_SUBDIR= mpd-language
EXTRACT_SUFX= .tgz
-DIST_SUBDIR= mpd-language
-
-CONFLICTS+= musicpd-[0-9]*
MAINTAINER= is%NetBSD.org@localhost
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"
+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-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
+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 -r 025d7a533e05 -r 348aca9da318 lang/mpd/PLIST
--- a/lang/mpd/PLIST Mon Jul 10 03:46:49 2006 +0000
+++ b/lang/mpd/PLIST Mon Jul 10 04:04:22 2006 +0000
@@ -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/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
Home |
Main Index |
Thread Index |
Old Index