freebsd-ports/japanese/w3/Makefile
1997-02-15 07:42:32 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: w3 on Mule
# Version required: 2.2.26
# Date created: 31 December 1996
# Whom: MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.2 1997/01/04 13:19:40 max Exp $
#
DISTNAME= w3-2.2.26
PKGNAME= jp-w3-2.2.26
CATEGORIES= www japanese
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/elisp/w3/ \
ftp://ftp.iij.ad.jp/pub/network/WWW/w3/
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
# Don't RUN_DEPENDS on mule because we don't know which version the
# user would want. We can't omit the BUILD_DEPENDS because it needs
# to byte-compile .el files.
BUILD_DEPENDS= mule:${PORTSDIR}/editors/mule
WRKSRC= ${WRKDIR}/w3
DOCDIR= ${PREFIX}/share/doc/w3
SAMPLEDIR= ${PREFIX}/share/examples/w3
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
@${MKDIR} ${SAMPLEDIR}
.for f in dot.emacs dot.mosaic-hotlist-default
@${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR}
.endfor
@${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR}
.for f in W3.ad clean-cache Makefile w3.txi
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
.endfor
.endif
@${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>