aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:47:43 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-12-13 08:47:43 +0000
commit08a9ff8c98b4db96a514b13ce1bc98fc8240691a (patch)
tree758f6189aa67628fb949e44f1ba60296aabfc4b5 /print
parent01fa0c28ea163b78c159bba7d631d3301e16f03a (diff)
downloadports-08a9ff8c98b4db96a514b13ce1bc98fc8240691a.tar.gz
ports-08a9ff8c98b4db96a514b13ce1bc98fc8240691a.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/yatex/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/print/yatex/Makefile b/print/yatex/Makefile
index acb004af698e..6d232024d00b 100644
--- a/print/yatex/Makefile
+++ b/print/yatex/Makefile
@@ -3,7 +3,7 @@
# Date created: 98/11/17
# Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
#
-# $Id: Makefile,v 1.5 1998/11/20 18:19:09 itojun Exp $
+# $Id: Makefile,v 1.6 1998/12/01 03:06:39 asami Exp $
#
DISTNAME= yatex1.66
@@ -21,6 +21,8 @@ BUILD_DEPENDS= xemacs:${PORTSDIR}/editors/xemacs-mule \
bash:${PORTSDIR}/shells/bash2
.endif
+PKGINSTALL= ${WRKDIR}/INSTALL
+PKGDEINSTALL= ${WRKDIR}/DEINSTALL
VERSION= 1.66
TARGETNAME= YaTeX
DIRSECTION= The Emacs editor and associated tools
@@ -96,9 +98,8 @@ do-build:
-e 's,%DIRSECTION%,${DIRSECTION},g' \
-e 's,%SITESTARTDIR%,${SITESTARTDIR},g' \
-e 's,%ADDSITESTART%,${ADDSITESTART},g' \
- < ${FILESDIR}/$${file}.tmpl > ${FILESDIR}/$${file}; \
+ < ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \
done
- ${CP} ${FILESDIR}/INSTALL ${FILESDIR}/DEINSTALL ${PKGDIR}
# For XEmacs-mule 20.4, yatexj.info (in Japanese) should be remade
# after Kanji code of yatexj.tex is convert from shift jis (MS-Kanji)
# to EUC.
@@ -128,7 +129,7 @@ do-install:
post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${PORTSDOCDIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/user-install ${PORTSDOCDIR}
.endif
if [ ! -f ${INFODIR}/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${INFODIR}/dir; \
@@ -136,12 +137,7 @@ post-install:
@${SETENV} TOUCH=${TOUCH} INFODIR=${INFODIR} \
ELISPDIR=${ELISPDIR} DIRSECTION="${DIRSECTION}" \
INFOFILES="${INFOFILES}" \
- ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGDIR}/MESSAGE
-pre-clean:
- @${RM} -f ${FILESDIR}/user-install \
- ${FILESDIR}/INSTALL ${FILESDIR}/DEINSTALL \
- ${PKGDIR}/INSTALL ${PKGDIR}/DEINSTALL
-
.include <bsd.port.mk>