f350303547
split mule into three ports: editors/mule: no language-specific support japanese/mule-canna: Japanese support, Canna library built-in japanese/mule-wnn: Japanese support, Wnn library built-in Note that the two ports under japanese/ will overwrite some of the emacs support files. Although this itself isn't a problem, if you pkg_delete it, you will lose some files needed for emacs. (This is explained in DESCR, although god knows who reads them.) Also I've listed every single file in the PLIST.
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: mule with Wnn
|
|
# Version required: 2.2.2
|
|
# Date created: 22 November 1994
|
|
# Whom: Satoshi Asami (asami)
|
|
#
|
|
# $Id: Makefile,v 1.17 1995/04/22 12:39:19 asami Exp $
|
|
#
|
|
|
|
DISTNAME= mule-2.2
|
|
PKGNAME= jp-wmule-2.2.2
|
|
CATEGORIES+= japanese editors
|
|
MASTER_SITES= ftp://etlport.etl.go.jp/pub/mule/ \
|
|
ftp://ftp.cs.buffalo.edu/pub/mule/ \
|
|
ftp://sh.wide.ad.jp/JAPAN/mule/
|
|
|
|
PATCH_SITES= ftp://etlport.etl.go.jp/pub/mule/ \
|
|
ftp://ftp.cs.buffalo.edu/pub/mule/ \
|
|
ftp://sh.wide.ad.jp/JAPAN/mule/
|
|
PATCHFILES= patch-2.2.1.gz patch-2.2.2.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= asami@FreeBSD.ORG
|
|
|
|
.if !exists(/usr/X11R6/lib/libwnn.a)
|
|
DEPENDS= ${PORTSDIR}/japanese/Wnn
|
|
.endif
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= i386--freebsd --prefix=${PREFIX} --with-x-toolkit \
|
|
--wnn --wnn-libraries=/usr/X11R6/lib \
|
|
--wnn-includes=/usr/X11R6/include/wnn --terminal-face
|
|
STRIP=
|
|
|
|
pre-build:
|
|
find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \;
|
|
|
|
post-install:
|
|
# note that rcs-checkn and any2ps are scripts
|
|
strip ${PREFIX}/bin/b2m
|
|
strip ${PREFIX}/bin/coco
|
|
strip ${PREFIX}/bin/ctags
|
|
strip ${PREFIX}/bin/etags
|
|
strip ${PREFIX}/bin/m2ps
|
|
strip ${PREFIX}/bin/mule-19.28
|
|
gzip -9nf ${PREFIX}/man/man1/coco.1
|
|
gzip -9nf ${PREFIX}/man/man1/ctags.1
|
|
gzip -9nf ${PREFIX}/man/man1/etags.1
|
|
gzip -9nf ${PREFIX}/man/man1/m2ps.1
|
|
gzip -9nf ${PREFIX}/man/man1/mule.1
|
|
|
|
.include <bsd.port.mk>
|