freebsd-ports/japanese/mule-wnn7/Makefile
Satoshi Asami 132c2b9d7c Add a mkdir -p for share/emacs/site-lisp, just in case. Reverse the
order of the search for site-lisp (lib/mule is searched before
share/emacs now).
1995-07-20 00:25:25 +00:00

57 lines
1.6 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.19 1995/06/27 10:45:42 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 \
--locallisppath=${PREFIX}/lib/mule/site-lisp:${PREFIX}/share/emacs/site-lisp
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
if [ ! -d ${PREFIX}/share/emacs/site-lisp ]; then \
mkdir -p ${PREFIX}/share/emacs/site-lisp ]; \
fi
.include <bsd.port.mk>