freebsd-ports/editors/mule/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mule
# Version required: 2.2
# Date created: 22 November 1994
# Whom: Satoshi Asami (asami)
#
# $Id: Makefile,v 1.12 1995/03/28 06:21:04 asami Exp $
#
DISTNAME= mule-2.2.2
DISTFILES= emacs-19.28.tar.gz
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
CATEGORIES+= editors
MAINTAINER= asami@FreeBSD.ORG
USE_GMAKE= yes
HAS_CONFIGURE= yes
STRIP=
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.28
# Use one of these if you are in Japan
# PATCHSITE= sh.wide.ad.jp:/JAPAN/mule/
# PATCHSITE= etlport.etl.go.jp:/pub/mule/
PATCH_SITES= ftp.cs.buffalo.edu:/pub/mule/
PATCHFILES= diff-19.28-2.2.gz patch-2.2.1.gz patch-2.2.2.gz
PATCH_DIST_STRIP= -p1
.if !exists(/usr/X11R6/lib/libwnn.a)
DEPENDS= ${PORTSDIR}/utils/Wnn
.endif
PREBUILD_COOKIE= ${.CURDIR}/work/.prebuild_done
pre-build: ${PREBUILD_COOKIE}
${PREBUILD_COOKIE}:
find ${WRKSRC} -name \*.orig -exec /bin/rm -f \{} \;
@${TOUCH} ${TOUCH_FLAGS} ${PREBUILD_COOKIE}
.include <bsd.port.mk>