aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/howm
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-05-16 02:41:24 +0800
committeradamw <adamw@FreeBSD.org>2014-05-16 02:41:24 +0800
commit7504ecbc65fe5252de0c4b497b3c1082ec668215 (patch)
tree6463e18c574c71dccfd2f3087538042cb0186437 /deskutils/howm
parenta90a5b6e1159dfb9df9534990dea612ddf80725a (diff)
downloadfreebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.tar.gz
freebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.tar.zst
freebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.zip
STAGE support, general cleanups, use @sample where appropriate.
PORTREVISION bumps where plist or pkg-message changed.
Diffstat (limited to 'deskutils/howm')
-rw-r--r--deskutils/howm/Makefile34
1 files changed, 13 insertions, 21 deletions
diff --git a/deskutils/howm/Makefile b/deskutils/howm/Makefile
index 7cc69ce96977..7fdca080ae03 100644
--- a/deskutils/howm/Makefile
+++ b/deskutils/howm/Makefile
@@ -2,7 +2,7 @@
PORTNAME= howm
PORTVERSION= 1.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= http://howm.sourceforge.jp/a/
@@ -15,27 +15,19 @@ ELISP= action-lock.el bcomp.el cheat-font-lock.el \
howm-common.el howm-date.el howm-menu.el howm-misc.el \
howm-mode.el howm-reminder.el \
howm-version.el howm-view.el howm.el riffle.el
-.if defined(WITH_COMPILED_ELISP)
-PLIST_SUB= COMPILED_ELISP=""
-.else
-PLIST_SUB= COMPILED_ELISP="@comment "
-.endif
-NO_STAGE= yes
-do-install:
- cd ${WRKSRC}; ${INSTALL_DATA} *.el ${PREFIX}/${EMACS_SITE_LISPDIR}
-.if defined(WITH_COMPILED_ELISP)
- cd ${WRKSRC}; ${INSTALL_DATA} *.elc ${PREFIX}/${EMACS_SITE_LISPDIR}
-.endif
- ${MKDIR} ${EXAMPLESDIR}/ja ${EXAMPLESDIR}/en
- cd ${WRKSRC}; ${INSTALL_DATA} ja/0* ${EXAMPLESDIR}/ja
- cd ${WRKSRC}; ${INSTALL_DATA} en/0* ${EXAMPLESDIR}/en
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${DOCSDIR}
+OPTIONS_DEFINE= COMPILED_ELISP DOCS EXAMPLES
+OPTIONS_DEFAULT=COMPILED_ELISP DOCS EXAMPLES
+COMPILED_ELISP_DESC= Install pre-compiled ELISP files
+OPTIONS_SUB= yes
-post-install:
- @${ECHO}
- @${CAT} ${PKGMESSAGE}
- @${ECHO}
+do-install:
+ (cd ${WRKSRC}; ${INSTALL_DATA} *.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
+ (cd ${WRKSRC}; ${INSTALL_DATA} *.elc ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ja ${STAGEDIR}${EXAMPLESDIR}/en
+ (cd ${WRKSRC}; ${INSTALL_DATA} ja/0* ${STAGEDIR}${EXAMPLESDIR}/ja)
+ (cd ${WRKSRC}; ${INSTALL_DATA} en/0* ${STAGEDIR}${EXAMPLESDIR}/en)
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>