diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-30 04:56:20 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-30 04:56:20 +0000 |
commit | e62ba2fbd4d3b5d10e3f2ede6b2e1a621488898a (patch) | |
tree | 41d6b36e577aa2f84b18c938824cb65af98654d2 /textproc/lq-sp | |
parent | 6ed20402d20a6be699bca5f58abea9ed65b57d61 (diff) | |
download | pkgsrc-e62ba2fbd4d3b5d10e3f2ede6b2e1a621488898a.tar.gz |
Use subst.mk instead of sed/mv.
Diffstat (limited to 'textproc/lq-sp')
-rw-r--r-- | textproc/lq-sp/Makefile | 14 | ||||
-rw-r--r-- | textproc/lq-sp/distinfo | 3 | ||||
-rw-r--r-- | textproc/lq-sp/patches/patch-aa | 13 |
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 |