diff options
author | asami <asami@FreeBSD.org> | 1998-12-13 16:47:43 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-12-13 16:47:43 +0800 |
commit | 2d29ba1fd24b51ac250809a074ee2fe8f3fdc076 (patch) | |
tree | 76cffede53406193faf8b87e9e0e20f7df3027b9 /print/yatex | |
parent | 6526ee159b54cf4a3a767a38b1b295cf0afb5491 (diff) | |
download | freebsd-ports-gnome-2d29ba1fd24b51ac250809a074ee2fe8f3fdc076.tar.gz freebsd-ports-gnome-2d29ba1fd24b51ac250809a074ee2fe8f3fdc076.tar.zst freebsd-ports-gnome-2d29ba1fd24b51ac250809a074ee2fe8f3fdc076.zip |
Don't write stuff to places other than ${WRKDIR}.
Diffstat (limited to 'print/yatex')
-rw-r--r-- | print/yatex/Makefile | 16 |
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> |