From c8bbb5c11aaa3950bfd9580afe9b715218c95e72 Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Sun, 6 Oct 2002 12:55:43 +0000 Subject: Unify post-install targets of migemo-* ports. --- japanese/migemo-emacs20/Makefile | 4 ---- japanese/migemo-emacs21/Makefile | 4 ---- japanese/migemo-xemacs21-mule/Makefile | 4 ---- japanese/migemo/Makefile | 4 ++++ 4 files changed, 4 insertions(+), 12 deletions(-) (limited to 'japanese') diff --git a/japanese/migemo-emacs20/Makefile b/japanese/migemo-emacs20/Makefile index 5234a9e54914..3064e79f6895 100644 --- a/japanese/migemo-emacs20/Makefile +++ b/japanese/migemo-emacs20/Makefile @@ -26,8 +26,4 @@ PLIST_SUB= MIGEMO="@comment " ELISP="" do-install: ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp - -post-install: - @${CAT} ${PKGMESSAGE} - .include "${MASTERDIR}/Makefile" diff --git a/japanese/migemo-emacs21/Makefile b/japanese/migemo-emacs21/Makefile index 575323c85b32..221b84575068 100644 --- a/japanese/migemo-emacs21/Makefile +++ b/japanese/migemo-emacs21/Makefile @@ -26,8 +26,4 @@ PLIST_SUB= MIGEMO="@comment " ELISP="" do-install: ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp - -post-install: - @${CAT} ${PKGMESSAGE} - .include "${MASTERDIR}/Makefile" diff --git a/japanese/migemo-xemacs21-mule/Makefile b/japanese/migemo-xemacs21-mule/Makefile index d0e6fc90a87d..3f6cd3b1735c 100644 --- a/japanese/migemo-xemacs21-mule/Makefile +++ b/japanese/migemo-xemacs21-mule/Makefile @@ -28,8 +28,4 @@ PLIST_SUB= MIGEMO="@comment " ELISP="" do-install: ${INSTALL_DATA} ${WRKSRC}/migemo.el ${PREFIX}/${EMACS_LIBDIR}/site-lisp ${INSTALL_DATA} ${WRKSRC}/migemo.elc ${PREFIX}/${EMACS_LIBDIR}/site-lisp - -post-install: - @${CAT} ${PKGMESSAGE} - .include "${MASTERDIR}/Makefile" diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile index dd818a1625aa..c6b115577ff7 100644 --- a/japanese/migemo/Makefile +++ b/japanese/migemo/Makefile @@ -29,7 +29,11 @@ RUN_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \ CONFIGURE_ARGS+=--with-rubydir=${RUBY_SITELIBDIR} post-install: +.if defined(EMACS_PORT_NAME) + @${CAT} ${PKGMESSAGE} +.else @${MKDIR} -p ${DOCSDIR} @${MV} ${PREFIX}/share/migemo/migemo.ja.html ${DOCSDIR} +.endif .include -- cgit v1.2.3