aboutsummaryrefslogtreecommitdiff
path: root/deskutils/remember.el/Makefile
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-08-09 19:35:41 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-08-09 19:35:41 +0000
commiteca0a801f5f3ce82b31d9763d8a6ec757c6e8a7c (patch)
treedf0cb64bf0609c0cd0a357802c48bb670dfb878d /deskutils/remember.el/Makefile
parentc4f8a1c3423ab7e52dff65c1542c5ed1ebba50da (diff)
downloadports-eca0a801f5f3ce82b31d9763d8a6ec757c6e8a7c.tar.gz
ports-eca0a801f5f3ce82b31d9763d8a6ec757c6e8a7c.zip
Notes
Diffstat (limited to 'deskutils/remember.el/Makefile')
-rw-r--r--deskutils/remember.el/Makefile34
1 files changed, 14 insertions, 20 deletions
diff --git a/deskutils/remember.el/Makefile b/deskutils/remember.el/Makefile
index f285e9ea7e35..888f7f19a927 100644
--- a/deskutils/remember.el/Makefile
+++ b/deskutils/remember.el/Makefile
@@ -6,47 +6,41 @@
#
PORTNAME= remember.el
-PORTVERSION= 1.8
+PORTVERSION= 1.9
CATEGORIES= deskutils elisp
-MASTER_SITES= http://sacha.free.net.ph/notebook/emacs/planner/ \
+MASTER_SITES= http://download.gna.org/remember-el/ \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-DISTNAME= remember-el-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+DISTNAME= remember-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= dryice@dryice.name
COMMENT= A Emacs mode for remembering data
USE_EMACS= yes
+USE_GMAKE= yes
EMACS_PORT_NAME?= emacs21
-.if ${EMACS_PORT_NAME} != "emacs21"
-PORTNAMESUFFIX= ${PKGNAMESUFFIX}
-.endif
-
OPTIONS= BBDB "BBDB support" on
OPTIONS+= PLANNER "Planner.el support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_BBDB)
+.if ${EMACS_NAME} == "xemacs"
+RUN_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR}/xemacs-packages/lisp/bbdb/bbdb-com.el:${PORTSDIR}/editors/xemacs-packages
+.else
RUN_DEPENDS+= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/bbdb/bbdb-com.el:${PORTSDIR}/databases/bbdb
.endif
+PLIST_SUB+= HAS_BBDB=""
+.else
+PLIST_SUB+= HAS_BBDB="@comment "
+.endif
.if !defined(WITHOUT_PLANNER)
RUN_DEPENDS+= ${PREFIX}/${EMACS_SITE_LISPDIR}/planner/planner.el:${PORTSDIR}/deskutils/planner.el
+PLIST_SUB+= HAS_PLANNER=""
+.else
+PLIST_SUB+= HAS_PLANNER="@comment "
.endif
-INFO= remember-el
-LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/remember
-
-do-build:
- cd ${WRKSRC}; makeinfo --no-split remember.texi
-
-do-install:
- ${MKDIR} ${LISPDIR}
-.for i in *.el
- ${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/remember-el.info ${PREFIX}/info
-
.include <bsd.port.post.mk>