aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs21-mule/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-12-26 11:47:19 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-12-26 11:47:19 +0800
commit867bb14216a09a3714838e04a3682f2f05900645 (patch)
tree41cc89b56a2cd0d7ed87ed140ac82e4f16b82313 /editors/xemacs21-mule/Makefile
parentb363ef5d134b8a6a5c5fe0a6b9f80994fcca57e0 (diff)
downloadfreebsd-ports-gnome-867bb14216a09a3714838e04a3682f2f05900645.tar.gz
freebsd-ports-gnome-867bb14216a09a3714838e04a3682f2f05900645.tar.zst
freebsd-ports-gnome-867bb14216a09a3714838e04a3682f2f05900645.zip
(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>
Diffstat (limited to 'editors/xemacs21-mule/Makefile')
-rw-r--r--editors/xemacs21-mule/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/editors/xemacs21-mule/Makefile b/editors/xemacs21-mule/Makefile
index 0df4e9b34a50..d2e4a5971618 100644
--- a/editors/xemacs21-mule/Makefile
+++ b/editors/xemacs21-mule/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Dec 1997
# Whom: Kazuyuki IENAGA <ienaga@jsys.co.jp>
#
-# $Id: Makefile,v 1.10 1998/10/10 15:27:50 kuriyama Exp $
+# $Id: Makefile,v 1.11 1998/11/11 12:55:23 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
@@ -26,10 +26,10 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
png.2:${PORTSDIR}/graphics/png \
compface.1:${PORTSDIR}/mail/faces \
${LIB_INPUT_METHOD}
-RUN_DEPENDS= ${PREFIX}/lib/xemacs-20.4/etc/BABYL:${PORTSDIR}/editors/xemacs-mule-common
+RUN_DEPENDS= ${PREFIX}/lib/${XEMACS_DIR}/etc/BABYL:${PORTSDIR}/editors/xemacs-mule-common
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
WRKSRC= ${WRKDIR}/xemacs-20.4
PATCHDIR= ${.CURDIR}/../../editors/xemacs-mule-common/patches
FILESDIR= ${.CURDIR}/../../editors/xemacs-mule-common/files
@@ -47,7 +47,7 @@ CONFIGURE_ARGS= i386-unknown-freebsd \
--x-libraries=${X11BASE}/lib \
--site-libraries='${SITE_LIBRARIES}' \
--site-includes='${SITE_INCLUDES}' \
- --sitelispdir=${PREFIX}/lib/xemacs-20.4/lisp:${PREFIX}/lib/xemacs-20.4/site-lisp:${PREFIX}/lib/xemacs/site-lisp:${PREFIX}/share/emacs/site-lisp \
+ --sitelispdir=${PREFIX}/lib/${XEMACS_DIR}/lisp:${PREFIX}/lib/${XEMACS_DIR}/site-lisp:${PREFIX}/lib/xemacs/site-lisp:${PREFIX}/share/emacs/site-lisp \
--infopath=${PREFIX}/lib/xemacs/info:${PREFIX}/info:${X11BASE}/info:/usr/info:${PREFIX}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \
${MISC_OPTIONS} ${WITH_INPUT_METHOD} ${WITH_WIDGETS}
@@ -55,9 +55,10 @@ STRIP=
INSTALL_TARGET= install-arch-dep
-PLIST_SUB= XEMACS_DIR=xemacs-20.4
+PLIST_SUB= XEMACS_DIR=${XEMACS_DIR}
PKGLDIR= ${.CURDIR}/../../editors/xemacs-mule/pkg
+XEMACS_DIR= xemacs-20.4
.if defined(WNN4)
SITE_INCLUDES= ${X11BASE}/include
@@ -96,6 +97,9 @@ pre-build:
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
@${RM} -f ${WRKSRC}/lib-src/DOC* ${WRKSRC}/src/xemacs
.if (${LANGUAGE} == "Japanese")
+ @if [ -e ${WRKSRC}/lisp/packages/ps-print.elc ]; then \
+ ${RM} -f ${WRKSRC}/lisp/packages/ps-print.elc; \
+ fi
@${GZCAT} ${DISTDIR}/ps-print-jp.el.gz > ${WRKSRC}/lisp/packages/ps-print.el
.endif
@@ -113,4 +117,3 @@ post-package:
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
.include <bsd.port.mk>
-