2002-03-01 04:16:14 +00:00
|
|
|
# New ports collection makefile for: coco
|
|
|
|
# Date created: 2 December 2001
|
|
|
|
# Whom: Teruaki Ata <PFA03027@nifty.ne.jp>
|
1994-11-22 23:59:14 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1994-11-22 23:59:14 +00:00
|
|
|
#
|
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
PORTNAME= coco
|
|
|
|
PORTVERSION= ${MULE_VERSION}
|
|
|
|
CATEGORIES= textproc
|
2001-12-03 14:02:22 +00:00
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/ \
|
|
|
|
ftp://ftp.jaist.ac.jp/pub/GNU/mule/ \
|
1998-10-07 08:11:41 +00:00
|
|
|
http://www.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/mule/
|
2001-12-03 14:02:22 +00:00
|
|
|
DISTFILES= mule-${MULE_VERSION}-${EMACS_VERSION}.tar.gz \
|
2000-04-14 16:47:49 +00:00
|
|
|
mule-${MULE_VERSION}-${EMACS_VERSION}.patch-981002.tar.gz
|
1998-10-07 08:11:41 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
MAINTAINER= PFA03027@nifty.ne.jp
|
2003-02-21 13:42:50 +00:00
|
|
|
COMMENT= Code converter for any of Mule's code
|
1997-09-10 08:51:26 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
MAN1= coco.1 m2ps.1
|
|
|
|
MANCOMPRESSED= no
|
1999-07-01 23:15:54 +00:00
|
|
|
|
2001-12-03 14:02:22 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mule-${MULE_VERSION}-${EMACS_VERSION}
|
1996-08-16 09:43:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1995-04-09 06:11:17 +00:00
|
|
|
USE_GMAKE= yes
|
1998-10-07 08:11:41 +00:00
|
|
|
EMACS_PREFIX= mule
|
2002-03-01 04:16:14 +00:00
|
|
|
MULE_VERSION= 2.3
|
|
|
|
EMACS_VERSION= 19.34
|
1997-09-10 08:51:26 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
INSTALL_TARGET= install-coco install-m2ps
|
1998-12-02 07:57:11 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
# extract patches for mule2.3 based on emacs-19.34b
|
1997-09-10 08:51:26 +00:00
|
|
|
post-extract:
|
2002-03-01 04:16:14 +00:00
|
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/mule-${MULE_VERSION}-${EMACS_VERSION}.patch-981002.tar.gz ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
|
1998-10-07 08:11:41 +00:00
|
|
|
${CP} ${FILESDIR}/unexfreebsd.c ${WRKSRC}/src
|
1998-12-02 07:57:11 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
# apply patches to mule2.3 before appling FreeBSD patches
|
|
|
|
pre-patch:
|
2000-04-14 16:47:49 +00:00
|
|
|
cd ${WRKSRC}; ${PATCH} --forward --quiet -E -p0 < ${WRKDIR}/Mule-${MULE_VERSION}-${EMACS_VERSION}.patch
|
1997-09-10 08:51:26 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
# delete dust files before build
|
1995-04-20 18:23:12 +00:00
|
|
|
pre-build:
|
1997-09-10 08:51:26 +00:00
|
|
|
find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
|
2000-04-14 16:47:49 +00:00
|
|
|
${RM} -f ${WRKSRC}/etc/DOC* ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VERSION}.*
|
1994-11-22 23:59:14 +00:00
|
|
|
|
2002-03-01 04:16:14 +00:00
|
|
|
.include <bsd.port.mk>
|