diff options
author | jtb <jtb> | 2000-12-13 22:27:11 +0000 |
---|---|---|
committer | jtb <jtb> | 2000-12-13 22:27:11 +0000 |
commit | 15ed3cd5d59b7e81af5d1d97504e68a1c760c338 (patch) | |
tree | ccef33adbe5849173aa6d5c3362633f458413ea3 /devel/cweb/Makefile | |
parent | 59b01975477708500c2c919748a7be3a0ef3308a (diff) | |
download | pkgsrc-15ed3cd5d59b7e81af5d1d97504e68a1c760c338.tar.gz |
Make sure we install cweb with the same PREFIX as teTeX (TeX won't find
the macros otherwise). Get rid of the INSTALL file. Added extra @unexec
rmdir to PLIST.
Diffstat (limited to 'devel/cweb/Makefile')
-rw-r--r-- | devel/cweb/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/cweb/Makefile b/devel/cweb/Makefile index 71e7c60de79..3332e428ca5 100644 --- a/devel/cweb/Makefile +++ b/devel/cweb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/11/25 17:23:27 jtb Exp $ +# $NetBSD: Makefile,v 1.2 2000/12/13 22:27:11 jtb Exp $ DISTNAME= cweb-3.62 CATEGORIES= devel lang @@ -12,6 +12,8 @@ DEPENDS+= teTeX-[0-9]*:../../print/teTeX NO_WRKSUBDIR= YES WRKSRC= ${WRKDIR} +EVAL_PREFIX+= PREFIX=teTeX + post-patch: @for f in ${WRKSRC}/cweb.1 ; do \ ${SED} -e 's:%%PREFIX%%:'${PREFIX}':g' < $$f > $$f.tmp \ @@ -22,16 +24,14 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ctangle ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cweb.1 ${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/cwebmac.tex \ - ${PREFIX}/share/texmf/tex/plain/base + ${PREFIX}/share/texmf/tex/plain/base ${INSTALL_DATA_DIR} ${PREFIX}/share/cweb ${INSTALL_DATA} ${WRKSRC}/c++lib.w ${PREFIX}/share/cweb ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cweb ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/cweb ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cweb ${INSTALL_DATA} ${WRKSRC}/cwebman.tex ${PREFIX}/share/doc/cweb -.if !exists(${PREFIX}/share/emacs/site-lisp) ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp -.endif ${INSTALL_DATA} ${WRKSRC}/cweb.el ${PREFIX}/share/emacs/site-lisp post-install: |