diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-09-10 08:51:26 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-09-10 08:51:26 +0000 |
commit | e9256feffb8da1914dd396739ed42217c5291d90 (patch) | |
tree | 86191a456da2dbf92a4e185cc5ee1b4787ee9690 /editors/mule-common/Makefile | |
parent | a812d8d3cdb194f6e3679c4106ee11ab00a2da0b (diff) |
Share files among various mule ports, both port files and within
packages. The editors/mule-common package contains the language-
independent parts. Add some new ports based on input methods. They
don't take up much space because of efficient sharing.
PR: 4411
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Notes
Notes:
svn path=/head/; revision=7845
Diffstat (limited to 'editors/mule-common/Makefile')
-rw-r--r-- | editors/mule-common/Makefile | 72 |
1 files changed, 56 insertions, 16 deletions
diff --git a/editors/mule-common/Makefile b/editors/mule-common/Makefile index c8f11501b34d..d66a03119ae4 100644 --- a/editors/mule-common/Makefile +++ b/editors/mule-common/Makefile @@ -1,38 +1,73 @@ -# New ports collection makefile for: mule +# New ports collection makefile for: files except executables for mule # Version required: 2.3 -# Date created: 22 November 1994 -# Whom: Satoshi Asami (asami) +# Date created: 7 July 1997 +# Whom: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> # -# $Id: Makefile,v 1.28 1997/05/28 03:06:31 asami Exp $ +# $Id$ # DISTNAME= mule-2.3 -CATEGORIES= editors -MASTER_SITES= ftp://ftp.cs.buffalo.edu/pub/mule/ \ - ftp://etlport.etl.go.jp/pub/mule/ \ - ftp://sh.wide.ad.jp/JAPAN/mule/ \ - ftp://ftp.funet.fi/pub/gnu/emacs/mule/ +PKGNAME= mule-common-2.3 +CATEGORIES= editors chinese japanese korean +MASTER_SITES= ftp://etlport.etl.go.jp/pub/mule/ \ + ftp://ftp.mei.co.jp/archive/free/gnu/emacs/Mule/ \ + ftp://ftp.iij.ad.jp/pub/misc/mule/ \ + ftp://ports.jp.FreeBSD.org/pub/incoming/distfiles/ +DISTFILES= mule-2.3.tar.gz mule-2.3.patch-970819.tar.gz -MAINTAINER= asami@FreeBSD.ORG +MAINTAINER= taoka@infonets.hiroshima-u.ac.jp + +EXTRACT_ONLY= mule-2.3.tar.gz +.for dir in editors/mule japanese/mule-canna japanese/mule-canna+sj3 \ + japanese/mule-canna japanese/mule-canna+sj3 \ + japanese/mule-canna+sj3+wnn4 japanese/mule-canna+sj3+wnn6 \ + japanese/mule-canna+wnn4 japanese/mule-canna+wnn6 \ + japanese/mule-sj3 japanese/mule-sj3+wnn japanese/mule-sj3+wnn6 \ + japanese/mule-wnn4 japanese/mule-wnn6 \ + chinese/mule-wnn4 korean/mule-wnn4 +.if exists(${.CURDIR}/../../${dir}/work/.build_done) +WRKDIR?= ${.CURDIR}/../../${dir}/work +.endif +.endfor +WRKSRC= ${WRKDIR}/mule + +.if !defined(WRKDIR) && !defined(PACKAGE_BUILDING) +BROKEN= You should build install one of the other mule ports first +.endif + +INSTALL_COOKIE= ${WRKDIR}/.install_done-${PKGNAME} +PACKAGE_COOKIE= ${WRKDIR}/.package_done-${PKGNAME} + +USE_GMAKE= yes GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= i386--freebsd --with-x-toolkit \ --terminal-face \ + --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib \ --locallisppath=${PREFIX}/lib/mule/site-lisp:${PREFIX}/share/emacs/site-lisp STRIP= MAN1= coco.1 ctags.1 etags.1 m2ps.1 mule.1 +INSTALL_TARGET= install-arch-indep + +post-extract: + ${EXTRACT_CMD} -C ${WRKSRC} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/mule-2.3.patch-970819.tar.gz + cd ${WRKSRC}; ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ./takana.tar.gz + +pre-patch: + cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < ${WRKSRC}/patch + +post-patch: + cd ${WRKSRC}; ${PATCH} ${PATCH_DIST_ARGS} < ${WRKSRC}/Mule-2.3.patch + pre-build: - find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \; + find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; + ${RM} -f ${WRKSRC}/etc/DOC* ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-19.28.* post-install: -# note that any2ps is a script -.for file in b2m coco ctags etags m2ps mule-19.28 - strip ${PREFIX}/bin/${file} -.endfor if [ ! -f ${PREFIX}/info/dir ]; then \ - sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ fi .for info in emacs vip forms gnus cl sc install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir @@ -43,5 +78,10 @@ post-install: install-info --section="The Emacs editor and associated tools" --entry="* Mule-jp: (mule-jp). Multilingual Enhancement to GNU Emacs. (Japanese)" ${PREFIX}/info/mule-jp ${PREFIX}/info/dir install-info --section="The Emacs editor and associated tools" --entry="* Egg-jp: (egg-jp). Japanese/Chinese Inputting Method. (Japanese)" ${PREFIX}/info/egg-jp ${PREFIX}/info/dir install-info --section="The Emacs editor and associated tools" --entry="* Canna-jp: (canna-jp). Another Japanese Inputting Method. (Japanese)" ${PREFIX}/info/canna-jp ${PREFIX}/info/dir + @${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + @${TOUCH} ${TOUCH_FLAGS} ${INSTALL_COOKIE} + +post-package: + @${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE} .include <bsd.port.mk> |