From 07506041fb725a7409f5e7d5c58abe39cb1195da Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 14 Jun 2009 22:40:45 +0000 Subject: Drop @dirrm logic. Bump version. --- pkgtools/createbuildlink/Makefile | 4 ++-- pkgtools/createbuildlink/files/substplistbasedirs | 21 ++------------------- 2 files changed, 4 insertions(+), 21 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/createbuildlink/Makefile b/pkgtools/createbuildlink/Makefile index 2dcaa191410..dce2de6f153 100644 --- a/pkgtools/createbuildlink/Makefile +++ b/pkgtools/createbuildlink/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.46 2009/04/09 00:48:11 joerg Exp $ +# $NetBSD: Makefile,v 1.47 2009/06/14 22:40:45 joerg Exp $ -DISTNAME= createbuildlink-3.14 +DISTNAME= createbuildlink-3.15 CATEGORIES= pkgtools sysutils MASTER_SITES= # Nothing DISTFILES= # Nothing diff --git a/pkgtools/createbuildlink/files/substplistbasedirs b/pkgtools/createbuildlink/files/substplistbasedirs index 2266bb01785..89fecf8f005 100755 --- a/pkgtools/createbuildlink/files/substplistbasedirs +++ b/pkgtools/createbuildlink/files/substplistbasedirs @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: substplistbasedirs,v 1.2 2004/09/27 00:31:30 rh Exp $ +# $NetBSD: substplistbasedirs,v 1.3 2009/06/14 22:40:45 joerg Exp $ # # Copyright (c) 2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -40,7 +40,7 @@ # in a base package # -REV=`echo '$Revision: 1.2 $' | sed 's/\\$//g'` +REV=`echo '$Revision: 1.3 $' | sed 's/\\$//g'` CURDIR=`pwd | sed 's|^.*/\([^/]*/[^/]*\)$|\1|'` PLIST=PLIST MDFLAG=true @@ -71,20 +71,3 @@ if [ ! -f $PLIST ]; then echo "###> a working $PLIST is required! <###" exit 1 fi - -## -## create @dirrm substitution patterns -## -grep '^@dirrm' $PLIST | sort | sed \ - -e 's|/|\\/|g' \ - -e 's|^|PRINT_PLIST_AWK+= /\^|' \ - -e "s|$|\$\$/ { print \"@comment in ${CURDIR}: \" \$\$0; next; }|" - -## -## create @exec ${MKDIR} removal patterns -## -[ "$MDFLAG" != "true" ] || grep '^@dirrm' $PLIST | sort | sed \ - -e 's|/|\\/|g' \ - -e 's|^|PRINT_PLIST_AWK+= /\^|' \ - -e 's|@dirrm |@exec \\$${MKDIR} %D\\/|' \ - -e "s|$|\$\$/ { next; }|" -- cgit v1.2.3