aboutsummaryrefslogtreecommitdiffstats
path: root/irc/liece/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-10 17:19:55 +0800
committerknu <knu@FreeBSD.org>2001-04-10 17:19:55 +0800
commit690d6329fb2b6653aff7cf50015e79c4afefe753 (patch)
tree0826f757c5c7bc8df3196ea58e33459715661afd /irc/liece/Makefile
parent7f9900d7077164db1aba4e803654675a3e93f214 (diff)
downloadfreebsd-ports-gnome-690d6329fb2b6653aff7cf50015e79c4afefe753.tar.gz
freebsd-ports-gnome-690d6329fb2b6653aff7cf50015e79c4afefe753.tar.zst
freebsd-ports-gnome-690d6329fb2b6653aff7cf50015e79c4afefe753.zip
Add liece-emacs20 and liece-xemacs21-mule, yet another IRC client
which runs under Emacsen. PR: ports/26462 Submitted by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>, knu
Diffstat (limited to 'irc/liece/Makefile')
-rw-r--r--irc/liece/Makefile69
1 files changed, 69 insertions, 0 deletions
diff --git a/irc/liece/Makefile b/irc/liece/Makefile
new file mode 100644
index 000000000000..0db63da45428
--- /dev/null
+++ b/irc/liece/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: liece
+# Date Created: 9 Mar 2001
+# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= liece
+PORTVERSION= 1.4.4
+CATEGORIES= irc elisp
+MASTER_SITES= http://www.unixuser.org/~ueno/liece/dist/
+PKGNAMESUFFIX= -${EMACS_PORT_NAME}
+
+MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
+
+BUILD_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}-current
+RUN_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}-current
+
+EMACS_PORT_NAME?= emacs20
+LISPDIR?= ${EMACS_LIBDIR}/site-lisp/${PORTNAME}
+ETCDIR?= share/${PORTNAME}
+PKGINFODIR?= "@comment "
+
+# INFODIR is system reserved
+EMACS_INFODIR?= info
+DIRSECTION?= "The Emacs editor and associated tools"
+INFOENTRY?= "* Liece: (liece). IRC client on Emacsen."
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS+= --with-emacs="${EMACS_CMD}"
+ALL_TARGET= all sample.dot.emacs
+PLIST_SUB= EMACS_NAME=${EMACS_NAME} \
+ XEMACS_ONLY=${XEMACS_ONLY} \
+ EMACS_ONLY=${EMACS_ONLY} \
+ LISPDIR=${LISPDIR} \
+ ETCDIR=${ETCDIR} \
+ EMACS_INFODIR=${EMACS_INFODIR} \
+ PKGINFODIR=${PKGINFODIR} \
+ DIRSECTION=${DIRSECTION}
+
+DOCS= AUTHORS lisp/ChangeLog
+
+FLIM_VER= 1.13.2
+FLIM_COOKIE= flim-${EMACS_PORT_NAME}-${FLIM_VER}.FreeBSD-packages
+
+.include <bsd.port.pre.mk>
+
+.if ${EMACS_NAME} == xemacs
+XEMACS_ONLY?= ""
+EMACS_ONLY?= "@comment "
+.else
+XEMACS_ONLY?= "@comment "
+EMACS_ONLY?= ""
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/sample.dot.emacs ${PREFIX}/${ETCDIR}/
+ ${MKDIR} ${PREFIX}/${ETCDIR}/doc
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${ETCDIR}/doc/
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/liece.info ${PREFIX}/${EMACS_INFODIR}/
+ install-info --section=${DIRSECTION} --entry=${INFOENTRY} \
+ ${PREFIX}/${EMACS_INFODIR}/liece.info ${PREFIX}/${EMACS_INFODIR}/dir
+.endif
+
+.include <bsd.port.post.mk>