aboutsummaryrefslogtreecommitdiffstats
path: root/irc/riece-emacs20/Makefile
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2001-12-05 02:00:50 +0800
committeryoichi <yoichi@FreeBSD.org>2001-12-05 02:00:50 +0800
commit1db2d95e698fb45dea314598d417d5b29e939d0c (patch)
tree48e073d5cc50773024750f59f943d9876ca583ea /irc/riece-emacs20/Makefile
parentac4cb50e71688e9d0c0d54cc8afdcf8ddd45eb23 (diff)
downloadfreebsd-ports-gnome-1db2d95e698fb45dea314598d417d5b29e939d0c.tar.gz
freebsd-ports-gnome-1db2d95e698fb45dea314598d417d5b29e939d0c.tar.zst
freebsd-ports-gnome-1db2d95e698fb45dea314598d417d5b29e939d0c.zip
Move master port to irc/liece and add support for emacs21.
Approved by: knu(mentor)
Diffstat (limited to 'irc/riece-emacs20/Makefile')
-rw-r--r--irc/riece-emacs20/Makefile71
1 files changed, 4 insertions, 67 deletions
diff --git a/irc/riece-emacs20/Makefile b/irc/riece-emacs20/Makefile
index 27d6f51343bc..d9137de0c301 100644
--- a/irc/riece-emacs20/Makefile
+++ b/irc/riece-emacs20/Makefile
@@ -1,76 +1,13 @@
-# New ports collection makefile for: liece
+# New ports collection makefile for: liece (for emacs20)
# Date Created: 9 Mar 2001
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#
-PORTNAME= liece
-PORTVERSION= 1.4.4
-PORTREVISION= 2
-CATEGORIES= irc elisp
-MASTER_SITES= http://www.unixuser.org/~ueno/liece/dist/
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
+MASTERDIR= ${.CURDIR}/../liece
-BUILD_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${FLIM_BRANCH:S/.//}-${EMACS_PORT_NAME} \
- ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext
-RUN_DEPENDS+= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${FLIM_BRANCH:S/.//}-${EMACS_PORT_NAME} \
- ${LOCALBASE}/bin/ldcc:${PORTSDIR}/irc/liece-dcc
+EMACS_PORT_NAME= emacs20
-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} \
- INFOENTRY=${INFOENTRY}
-
-DOCS= AUTHORS lisp/ChangeLog
-
-FLIM_BRANCH= 1.13
-FLIM_COOKIE= flim-${EMACS_PORT_NAME}-${FLIM_BRANCH}.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:
- ${MKDIR} ${PREFIX}/${ETCDIR}/po/ja_JP.EUC/LC_MESSAGES
- ${LN} -sf ja_JP.EUC ${PREFIX}/${ETCDIR}/po/ja
- msgfmt -o ${PREFIX}/${ETCDIR}/po/ja_JP.EUC/LC_MESSAGES/liece.mo ${WRKSRC}/etc/po/ja.po
-.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>
+.include <${MASTERDIR}/Makefile>