1996-12-18 06:26:32 +01:00
|
|
|
# New ports collection makefile for: w3 on Emacs
|
1997-01-04 01:36:59 +01:00
|
|
|
# Date created: 31 December 1996
|
1996-12-18 06:26:32 +01:00
|
|
|
# Whom: MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1996-12-18 06:26:32 +01:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= w3
|
2001-03-03 04:05:46 +01:00
|
|
|
PORTVERSION= 4.0.p46
|
2000-04-14 19:24:56 +02:00
|
|
|
CATEGORIES+= www elisp
|
2001-03-03 04:05:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XEMACS}
|
|
|
|
MASTER_SITE_SUBDIR= emacs-w3
|
|
|
|
DISTNAME= w3-4.0pre.46
|
1996-12-18 06:26:32 +01:00
|
|
|
|
2001-03-03 04:05:46 +01:00
|
|
|
MAINTAINER= kiri@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= WWW browser based on emacs/mule
|
1996-12-18 06:26:32 +01:00
|
|
|
|
2001-03-03 04:05:46 +01:00
|
|
|
BUILD_DEPENDS?= emacs-20.7:${PORTSDIR}/editors/emacs20
|
|
|
|
RUN_DEPENDS?= emacs-20.7:${PORTSDIR}/editors/emacs20
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2003-10-09 14:34:45 +02:00
|
|
|
CONFIGURE_ARGS= --with-emacs=yes
|
|
|
|
INFO= w3-faq w3
|
1996-12-18 06:26:32 +01:00
|
|
|
|
1997-06-10 11:58:54 +02:00
|
|
|
MAKE_ENV+= EMACSCMD=${EMACSCMD} ELISPDIR=${ELISPDIR} \
|
|
|
|
MKDIR="${MKDIR}" CP=${CP} \
|
|
|
|
INFODIR=${INFODIR} \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
1996-12-18 06:26:32 +01:00
|
|
|
|
1997-06-10 11:58:54 +02:00
|
|
|
PORTSDOCDIR= ${PREFIX}/share/doc/w3
|
1997-01-04 01:36:59 +01:00
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/w3
|
1997-06-10 11:58:54 +02:00
|
|
|
|
|
|
|
post-build:
|
2001-03-03 04:05:46 +01:00
|
|
|
.for f in dot.emacs user-install
|
1997-06-10 11:58:54 +02:00
|
|
|
@${SED} -e "s,%VERSION%,${VERSION},g" \
|
2000-04-14 19:24:56 +02:00
|
|
|
-e "s,%PREFIX%,${PREFIX},g" \
|
|
|
|
-e "s,%INFODIR%,${INFODIR},g" \
|
|
|
|
-e "s,%ELISPDIR%,${ELISPDIR},g" \
|
1997-06-10 11:58:54 +02:00
|
|
|
-e "s,%INFOFILE%,${INFOFILE},g" \
|
2000-04-14 19:24:56 +02:00
|
|
|
-e "s,%ADDIR%,${ADDIR},g" \
|
1997-06-10 11:58:54 +02:00
|
|
|
-e "s,%TOUCH%,${TOUCH},g" \
|
|
|
|
-e "s,%MKDIR%,${MKDIR},g" \
|
|
|
|
-e "s,%SAMPLEDIR%,${SAMPLEDIR},g" \
|
|
|
|
-e "s,%DIRSECTION%,${DIRSECTION},g" \
|
1998-12-13 09:47:43 +01:00
|
|
|
< ${FILESDIR}/${f}.tmpl > ${WRKDIR}/${f}
|
1997-06-10 11:58:54 +02:00
|
|
|
.endfor
|
1996-12-18 06:26:32 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-06-10 11:58:54 +02:00
|
|
|
@${MKDIR} ${PORTSDOCDIR}
|
1997-01-04 01:36:59 +01:00
|
|
|
@${MKDIR} ${SAMPLEDIR}
|
2000-04-10 02:07:29 +02:00
|
|
|
.for f in dot.mosaic-hotlist-default
|
1997-01-04 01:36:59 +01:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR}
|
1996-12-18 06:26:32 +01:00
|
|
|
.endfor
|
1998-12-13 09:47:43 +01:00
|
|
|
.for f in dot.emacs
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/${f} ${SAMPLEDIR}
|
|
|
|
.endfor
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/user-install ${SAMPLEDIR}
|
2001-03-03 04:05:46 +01:00
|
|
|
|
1996-12-18 06:26:32 +01:00
|
|
|
.endif
|
2001-03-03 04:05:46 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1996-12-18 06:26:32 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|