summaryrefslogtreecommitdiff
path: root/databases/bbdb/Makefile
blob: daaf79eca0199bfec5ab0b606c2186abc28f8c34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	bbdb (for emacs21)
# Date Created:		12 Dec 2001
# Whom:			Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	bbdb
PORTVERSION=	2.34
CATEGORIES=	databases elisp
MASTER_SITES=	http://bbdb.sourceforge.net/
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER=	yoichi@FreeBSD.org

EMACS_PORT_NAME?=	emacs21

ALL_TARGET=	bbdb info
MAKE_ARGS=	MAKE="${MAKE} MAKEINFO=\"makeinfo --no-split\""
BBDB_LISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
DIRSECTION=	"The Emacs editor and associated tools"
INFOENTRY=	"* BBDB: (bbdb).             The Insidious Big Brother Database."
PLIST_SUB+=	BBDB_LISPDIR=${BBDB_LISPDIR} \
		DIRSECTION=${DIRSECTION} INFOENTRY=${INFOENTRY}

do-install:
	${MKDIR} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.if !defined(NOPORTDOCS)
	${INSTALL_DATA} ${WRKSRC}/texinfo/bbdb.info ${PREFIX}/info
	install-info --section=${DIRSECTION} --entry=${INFOENTRY} ${PREFIX}/info/bbdb.info ${PREFIX}/info/dir
.endif

.include <bsd.port.mk>