freebsd-ports/www/w3-4/Makefile
2005-02-28 01:50:22 +00:00

41 lines
955 B
Makefile

# 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
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
BROKEN= Incomplete pkg-plist
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-emacs=yes
INSTALL_TARGET= install dotemacs
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>