pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mkcmd Fix path to self. Bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ee80eaa73b8
branches:  trunk
changeset: 532789:3ee80eaa73b8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 19:44:39 2007 +0000

description:
Fix path to self. Bump revision.

diffstat:

 devel/mkcmd/Makefile |  16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r a5c2308e2298 -r 3ee80eaa73b8 devel/mkcmd/Makefile
--- a/devel/mkcmd/Makefile      Thu Aug 30 19:33:55 2007 +0000
+++ b/devel/mkcmd/Makefile      Thu Aug 30 19:44:39 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2007/01/07 09:13:51 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2007/08/30 19:44:39 joerg Exp $
 #
 
 DISTNAME=              mkcmd-8.14
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            devel
 MASTER_SITES=          http://archive.progeny.com/pundits/
 EXTRACT_SUFX=          .tgz
@@ -10,9 +10,19 @@
 MAINTAINER=            epg%NetBSD.org@localhost
 COMMENT=               Command-line parser and manual page generator
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
-PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+REPLACE_INTERPRETER+=  mkcmd
+REPLACE.mkcmd.old=     .*mkcmd
+REPLACE.mkcmd.new=     ${PREFIX}/bin/mkcmd
+REPLACE_FILES.mkcmd=   lib/mkcmd/*.m
+
+REPLACE_INTERPRETER+=  mkcmd2
+REPLACE.mkcmd2.old=    /usr/local/bin/mk
+REPLACE.mkcmd2.new=    ${PREFIX}/bin/mkcmd
+REPLACE_FILES.mkcmd2=  lib/mkcmd/Template.m
 
 do-build:
        cd ${WRKSRC}/bin/mkcmd && HOSTTYPE= ${SH} ${FILESDIR}/makeme \



Home | Main Index | Thread Index | Old Index