aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3-4/Makefile
blob: 3449343a83d9336412d6655ca882b1bf8863d454 (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
# New ports collection makefile for: w3 on Emacs
# Date created:     31 December 1996
# Whom:         MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   w3-${EMACS_PORT_NAME}
PORTVERSION=    4.0.p47
PORTREVISION=   1
CATEGORIES+=    www elisp
MASTER_SITES=   ${MASTER_SITE_XEMACS}
MASTER_SITE_SUBDIR= emacs-w3
DISTNAME=   w3-4.0pre.47

MAINTAINER= ports@FreeBSD.org
COMMENT=    WWW browser based on emacs/mule

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-emacs=yes
INSTALL_TARGET= install

USE_EMACS=  yes
EMACS_PORT_NAME?=   emacs21

INFO=       w3-faq w3

.include <bsd.port.pre.mk>

PLIST_SUB+= EMACS_VERSION_SITE_LISPDIR=${EMACS_VERSION_SITE_LISPDIR}

.if (${EMACS_NAME} == "xemacs")
CONFIGURE_ARGS= --with-xemacs=${EMACS_NAME}
.else
CONFIGURE_ARGS= --with-emacs=${EMACS_NAME}
.endif
CONFIGURE_ARGS+=    --enable-site-install \
            --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/w3
CONFIGURE_ENV+= MAKEINFO='makeinfo --no-split'

.include <bsd.port.post.mk>