aboutsummaryrefslogtreecommitdiff
path: root/japanese/w3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/w3/Makefile')
-rw-r--r--japanese/w3/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/japanese/w3/Makefile b/japanese/w3/Makefile
new file mode 100644
index 000000000000..e12ab5b29dab
--- /dev/null
+++ b/japanese/w3/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: w3 on Mule
+# Version required: 2.2.26
+# Date created: 30 November 1996
+# Whom: MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
+#
+# $Id$
+#
+
+DISTNAME= w3-2.2.26
+PKGNAME= jp-w3-2.2.26
+CATEGORIES= www japanese
+MASTER_SITES= ftp://ftp.iij.ad.jp/pub/network/WWW/w3/ \
+ ftp://ftp.cs.indiana.edu/pub/elisp/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
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @if [ ! -d ${DOCDIR} ]; then mkdir -p ${DOCDIR}; fi
+.for f in .emacs .mosaic-hotlist-default
+ @${CP} ${FILESDIR}/${f} ${DOCDIR}
+.endfor
+ @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${DOCDIR}
+.for f in W3.ad clean-cache Makefile w3.txi
+ @${CP} ${WRKSRC}/${f} ${DOCDIR}
+.endfor
+.endif
+ @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>