diff options
author | asami <asami@FreeBSD.org> | 1994-11-22 23:59:14 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1994-11-22 23:59:14 +0000 |
commit | 1ed09c90402bd647cac04d7a0dfff59ac68a1f1a (patch) | |
tree | dcab64f8018e6e1deb2a13cbf98328f17ff0425d /japanese/mule-wnn6/Makefile | |
parent | 7f5f39e342c0e7d4832389ee5b3e02dc58bb06d2 (diff) | |
download | FreeBSD-ports-1ed09c90402bd647cac04d7a0dfff59ac68a1f1a.zip FreeBSD-ports-1ed09c90402bd647cac04d7a0dfff59ac68a1f1a.tar.gz |
mule, multilingual extension to emacs (based on 19.27)
Diffstat (limited to 'japanese/mule-wnn6/Makefile')
-rw-r--r-- | japanese/mule-wnn6/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/japanese/mule-wnn6/Makefile b/japanese/mule-wnn6/Makefile new file mode 100644 index 0000000..6135047 --- /dev/null +++ b/japanese/mule-wnn6/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: mule +# Version required: 2.1 +# Date created: 22 November 1994 +# Whom: Satoshi Asami (asami) +# +# $Id: $ +# + +DISTNAME= mule-2.1 +DISTFILES= emacs-19.27.tar.gz +MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/ +USE_GMAKE= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= i386--freebsd --prefix=${PREFIX} --with-x-toolkit \ + --wnn --wnn-libraries=/usr/X11R6/lib \ + --wnn-includes=/usr/X11R6/include/wnn --terminal-face +WRKSRC= ${WRKDIR}/emacs-19.27 +PATCHFILES= diff-19.27-2.1.gz +PATCHSITE= sh.wide.ad.jp:/JAPAN/mule/ +DEPENDS= ${PORTSDIR}/utils/Wnn + +pre-fetch: + @if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi + @for file in ${PATCHFILES}; do \ + if [ ! -f ${DISTDIR}/$$file ]; then \ + echo ">> Fetching patch $$file from remote site..."; \ + ${NCFTP} ${NCFTPFLAGS} ${PATCHSITE}$$file \ + && mv $$file ${DISTDIR}; \ + fi \ + done + +pre-patch: + /bin/rm -f ${WRKSRC}/src/unexsunos4.c ${WRKSRC}/src/s/freebsd.h +# I took these two files from emacs-19.28 and added -lcrypt + cp ${FILESDIR}/unexsunos4.c ${WRKSRC}/src + cp ${FILESDIR}/freebsd.h ${WRKSRC}/src/s + @echo "===> Applying emacs -> mule patch" + @for file in ${PATCHFILES}; do \ + gzip -c -d ${DISTDIR}/$$file | patch -d ${WRKSRC} -p1 -s; \ + done + +pre-build: + find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \; + +.include <bsd.port.mk> |