aboutsummaryrefslogblamecommitdiff
path: root/deskutils/remember.el/Makefile
blob: 585145b304e43fb53d876c0fce3d81f69409cef3 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                      
                   
                 
                               
                                                    
                                   
                                                                               
 
                                  

                                                 
                   
                   
 
                                       
 

                                                


                          



                                          
                          
                             
                                                                                                                      
     
                                                                                                      
      



                                    

                             
                                                                                                      


                                       
      
                                
 
                           
# New ports collection makefile for:	remember.el
# Date created:				March 09 2005
# Whom:					Dryice Liu <dryice@liu.com.cn>
#
# $FreeBSD$
#

PORTNAME=	remember.el
PORTVERSION=	2.0
PORTREVISION=	3
CATEGORIES=	deskutils elisp
MASTER_SITES=	http://download.gna.org/remember-el/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
DISTNAME=	remember-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}

MAINTAINER=	dryice@dryice.name
COMMENT=	A Emacs mode for remembering data

USE_EMACS=	yes
USE_GMAKE=	yes

INFO=		remember remember-extra

OPTIONS=	BBDB "BBDB support" off
OPTIONS+=	PLANNER "Planner.el support" off

.include <bsd.port.pre.mk>

.if (${EMACS_PORT_NAME} == "emacs23")
IGNORE=		incorporated into Emacs 23
.endif

.if !defined(WITHOUT_BBDB)
.if ${EMACS_NAME} == "xemacs"
BUILD_DEPENDS+=	${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/bbdb/bbdb-com.el:${PORTSDIR}/editors/xemacs-packages
.else
BUILD_DEPENDS+=	${LOCALBASE}/${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)
BUILD_DEPENDS+=	${LOCALBASE}/${EMACS_SITE_LISPDIR}/planner/planner.el:${PORTSDIR}/deskutils/planner.el
PLIST_SUB+=	HAS_PLANNER=""
.else
PLIST_SUB+=	HAS_PLANNER="@comment "
.endif
RUN_DEPENDS+=	${BUILD_DEPENDS}

.include <bsd.port.post.mk>