summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-07-28 17:24:59 +0000
committerschmonz <schmonz@pkgsrc.org>2004-07-28 17:24:59 +0000
commitb7107c7f1546038d3fef9ba0ef9da15af0292708 (patch)
tree2f5d01e13af7f7f224ef65013f859abd1fdb5167 /editors
parenta73f758ace25051064a3989894e4a30e034cea0d (diff)
downloadpkgsrc-b7107c7f1546038d3fef9ba0ef9da15af0292708.tar.gz
Enable pkgviews installation, and use subst.mk.
Diffstat (limited to 'editors')
-rw-r--r--editors/ce-doc/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/editors/ce-doc/Makefile b/editors/ce-doc/Makefile
index 7f236275d66..a3dd8ce6f1f 100644
--- a/editors/ce-doc/Makefile
+++ b/editors/ce-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/04/08 20:02:43 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2004/07/28 17:24:59 schmonz Exp $
#
.include "../ce/Makefile.common"
@@ -6,13 +6,18 @@
PKGNAME= ce-doc-${VERSION}
COMMENT+= , documentation
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
NO_BUILD= # defined
INSTALL_TARGET= doc-install
-post-configure:
- cd ${WRKSRC} && \
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' teach-ce > teach-ce.tmp && \
- ${MV} teach-ce.tmp teach-ce
+INSTALLATION_DIRS= bin share/doc/ce
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= do-configure
+SUBST_FILES.paths= teach-ce
+SUBST_SED.paths= -e 's|@LN@|${LN}|g' -e 's|@PREFIX@|${PREFIX}|g'
+SUBST_SED.paths+= -e 's|@LOCALBASE@|${LOCALBASE}|g'
.include "../../mk/bsd.pkg.mk"