summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-05-30 04:56:20 +0000
committerminskim <minskim@pkgsrc.org>2005-05-30 04:56:20 +0000
commitd9689826541857871d7fd1d27620ed7767a9f439 (patch)
tree41d6b36e577aa2f84b18c938824cb65af98654d2 /textproc
parent7aeeb3189e2841f4142075c9fbf7a345c341a503 (diff)
downloadpkgsrc-d9689826541857871d7fd1d27620ed7767a9f439.tar.gz
Use subst.mk instead of sed/mv.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/lq-sp/Makefile14
-rw-r--r--textproc/lq-sp/distinfo3
-rw-r--r--textproc/lq-sp/patches/patch-aa13
3 files changed, 8 insertions, 22 deletions
diff --git a/textproc/lq-sp/Makefile b/textproc/lq-sp/Makefile
index 95a64d57d85..de3aaa8a283 100644
--- a/textproc/lq-sp/Makefile
+++ b/textproc/lq-sp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/05/24 05:09:42 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2005/05/30 04:56:20 minskim Exp $
#
DISTNAME= lq-sp-1.3.4.12
@@ -16,13 +16,13 @@ USE_LANGUAGES= c c++
# doesn't build (LP64 bugs)
NOT_FOR_PLATFORM= *-*-alpha
-INSTALLATION_DIRS+= bin
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= Makefile
+SUBST_SED.paths= -e 's,/usr/local,${PREFIX},g'
-do-configure:
- ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.netbsd
- ${SED} -e 's:@PREFIX@:${PREFIX}:' \
- < ${WRKSRC}/Makefile.netbsd \
- > ${WRKSRC}/Makefile
+INSTALLATION_DIRS+= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsgmls/lq-nsgmls ${PREFIX}/bin
diff --git a/textproc/lq-sp/distinfo b/textproc/lq-sp/distinfo
index af5b5968f02..e379574e64e 100644
--- a/textproc/lq-sp/distinfo
+++ b/textproc/lq-sp/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/05/24 05:09:42 minskim Exp $
+$NetBSD: distinfo,v 1.8 2005/05/30 04:56:20 minskim Exp $
SHA1 (lq-sp-1.3.4.12.tar.gz) = 2eeec7e6e25a3f18b150f6607347ff350b9ea7eb
RMD160 (lq-sp-1.3.4.12.tar.gz) = 22ec669ac6be310aa75eadf3d8e4a274e27edcbd
Size (lq-sp-1.3.4.12.tar.gz) = 568250 bytes
-SHA1 (patch-aa) = 96a1aa51f0503efbf12b9cdb9bf5a90ce6913762
SHA1 (patch-ab) = b6e5174c65433f35c0a0ef78422b9b10b779ba57
diff --git a/textproc/lq-sp/patches/patch-aa b/textproc/lq-sp/patches/patch-aa
deleted file mode 100644
index 5f3420afcc3..00000000000
--- a/textproc/lq-sp/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/05/30 09:44:00 abs Exp $
-
---- Makefile.orig Wed May 30 02:07:11 2001
-+++ Makefile Wed May 30 02:08:00 2001
-@@ -1,7 +1,7 @@
- # Copyright (c) 1994, 1995 James Clark
- # See the file COPYING for copying permission.
-
--prefix=/usr/local
-+prefix=@PREFIX@
- exec_prefix=$(prefix)
- # Where to install the binaries
- bindir=$(exec_prefix)/bin