summaryrefslogtreecommitdiff
path: root/deskutils/mhc-emacs20/Makefile
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2001-12-03 14:06:11 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2001-12-03 14:06:11 +0000
commitc044b9d8a54f421207852b191cda7423201ba706 (patch)
tree48d5af041f87764d7ec883fee02c34ae077a3a36 /deskutils/mhc-emacs20/Makefile
parentUpdate distfiles (diff)
Move master port to deskutils/mhc and add support for emacs21.
PR: ports/31568 Submitted by: yoichi(MAINTAINER) Reviewed by: knu(mentor)
Notes
Notes: svn path=/head/; revision=50965
Diffstat (limited to 'deskutils/mhc-emacs20/Makefile')
-rw-r--r--deskutils/mhc-emacs20/Makefile43
1 files changed, 4 insertions, 39 deletions
diff --git a/deskutils/mhc-emacs20/Makefile b/deskutils/mhc-emacs20/Makefile
index 55df724556c1..159f1bca8c48 100644
--- a/deskutils/mhc-emacs20/Makefile
+++ b/deskutils/mhc-emacs20/Makefile
@@ -5,44 +5,9 @@
# $FreeBSD$
#
-PORTNAME= mhc
-PORTVERSION= 20010625
-CATEGORIES= deskutils elisp
-MASTER_SITES= http://www.quickhack.net/mhc/arc/
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-DISTNAME= ${PORTNAME}-current-snap${PORTVERSION}
+MASTERDIR= ${.CURDIR}/../../deskutils/mhc
+MAINTAINER= yoichi@FreeBSD.org
-MAINTAINER?= yoichi@eken.phys.nagoya-u.ac.jp
+EMACS_PORT_NAME= emacs20
-WRKSRC= ${WRKDIR}/${DISTNAME}/emacs
-EMACS_PORT_NAME?= emacs20
-
-.include <bsd.port.pre.mk>
-
-.if (${EMACS_PORT_NAME} == "emacs20")
-ALL_TARGET= elc
-.endif
-.if (${EMACS_PORT_NAME} == "xemacs21-mule")
-ALL_TARGET= package
-INSTALL_TARGET= install-package
-PLIST= ${PKGDIR}/pkg-plist.xemacs21-mule
-.endif
-
-DOCS= 00copyright 00readme 00readme.jis emacs/00usage.jis
-
-DOCSDIR= ${PREFIX}/share/doc/mhc
-
-post-install:
-.if (${EMACS_PORT_NAME} == "emacs20")
- ${MKDIR} ${PREFIX}/${EMACS_LIBDIR}/site-lisp/mhc/icons
- ${INSTALL_DATA} ${WRKSRC}/../icons/*.xbm ${PREFIX}/${EMACS_LIBDIR}/site-lisp/mhc/icons
-.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/../samples/DOT.schedule.sample.jp ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <${MASTERDIR}/Makefile>