summaryrefslogtreecommitdiff
path: root/editors/xemacs21-mule-common
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-12-26 03:47:19 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-12-26 03:47:19 +0000
commit6d6210ac57edbb99e14d25e9b4ef953e174530d4 (patch)
treed07802ace07130607f908dd1bbc4d2357222bf4b /editors/xemacs21-mule-common
parentUpgrade to PHP 3.0.6 and mod_ssl 2.1.4 (diff)
(1) Fetch site corrected
(2) package-cookie correct reasonably (3) Use WRKDIRPREFIX PR: ports/8827 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
Notes
Notes: svn path=/head/; revision=15615
Diffstat (limited to 'editors/xemacs21-mule-common')
-rw-r--r--editors/xemacs21-mule-common/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/editors/xemacs21-mule-common/Makefile b/editors/xemacs21-mule-common/Makefile
index cfe709cb50f3..36b96486b79f 100644
--- a/editors/xemacs21-mule-common/Makefile
+++ b/editors/xemacs21-mule-common/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Dec 1997
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
#
-# $Id: Makefile,v 1.2 1998/10/10 15:28:21 kuriyama Exp $
+# $Id: Makefile,v 1.3 1998/12/02 08:01:14 asami Exp $
#
DISTNAME= xemacs-20.4
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://unipro.jsys.co.jp/pub/editor/xemacs/20.4/ \
ftp://ftp.lab.kdd.co.jp/xemacs/xemacs-20.4/ \
ftp://ftp.xemacs.org/pub/xemacs-20.4/ \
ftp://ftp2.xemacs.org/pub/xemacs/xemacs-20.4/ \
- ftp://ftp.jpl.org/pub/elisp/alpha/
+ ftp://ftp.jpl.org/pub/elisp/
DISTFILES= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz \
ps-print-jp.el.gz
@@ -28,7 +28,10 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
USE_AUTOCONF= yes
EXTRACT_ONLY= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
- xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
+ xemacs-20.4-info.tar.gz xemacs-20.4-mule.tar.gz
+
+.include <bsd.port.pre.mk>
+
.for dir in \
editors/xemacs-mule \
japanese/xemacs \
@@ -37,10 +40,13 @@ EXTRACT_ONLY= xemacs-20.4.tar.gz xemacs-20.4-elc.tar.gz \
japanese/xemacs-canna+wnn6 \
japanese/xemacs-wnn4 \
japanese/xemacs-wnn6
-.if exists(${.CURDIR}/../../${dir}/work/.install_done)
-WRKDIR= ${.CURDIR}/../../${dir}/work
-.elif exists(${.CURDIR}/../../${dir}/work/.build_done)
-WRKDIR?= ${.CURDIR}/../../${dir}/work
+.if exists(${WRKDIRPREFIX}${PORTSDIR}/${dir}/work/.install_done)
+WRKDIR= ${WRKDIRPREFIX}${PORTSDIR}/${dir}/work
+.if !exists(${WRKDIR}/.install_done-${PKGNAME})
+rvalue_touch!= ${TOUCH} ${WRKDIR}/.install_done-${PKGNAME}
+.endif
+.elif exists(${WRKDIRPREFIX}${PORTSDIR}/${dir}/work/.build_done)
+WRKDIR?= ${WRKDIRPREFIX}${PORTSDIR}/${dir}/work
.endif
.endfor
WRKSRC= ${WRKDIR}/xemacs-20.4
@@ -95,4 +101,4 @@ post-install:
post-package:
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>