aboutsummaryrefslogtreecommitdiffstats
path: root/editors/mule/Makefile
blob: 0a02557c8d4af1cfd4066e04c2ae37d3ef39fab9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    mule
# Version required: 2.2.2
# Date created:     22 November 1994
# Whom:         Satoshi Asami (asami)
#
# $Id: Makefile,v 1.14 1995/04/09 06:11:12 asami Exp $
#

DISTNAME=   mule-2.2.2
CATEGORIES+=    editors
MASTER_SITES=   ftp://prep.ai.mit.edu/pub/gnu/
DISTFILES=  emacs-19.28.tar.gz

# 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

MAINTAINER= asami@FreeBSD.ORG

.if !exists(/usr/X11R6/lib/libwnn.a)
DEPENDS=    ${PORTSDIR}/japanese/Wnn
.endif

WRKSRC=     ${WRKDIR}/emacs-19.28
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=

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>