aboutsummaryrefslogtreecommitdiffstats
path: root/databases/lsdb/Makefile
blob: 3012cd72d98c8b6d39e4d328aeeec1cf54c1b7fa (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
35
36
37
# New ports collection makefile for:    lsdb (for emacs21)
# Date Created:     27 Apr 2002
# Whom:         Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   lsdb
PORTVERSION=    0.6
CATEGORIES= databases elisp
MASTER_SITES=   http://deisui.org/~ueno/emacs-lisp/
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

MAINTAINER= yoichi@FreeBSD.org

BUILD_DEPENDS=  ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${DEPPORT_SUFFIX}

EMACS_PORT_NAME?=   emacs21
.if (${EMACS_PORT_NAME} == emacs21)
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.endif

FLIM_COOKIE=    flim-${EMACS_PORT_NAME}-1.14.FreeBSD-packages

ALL_TARGET= elc
MAKE_ARGS=  LISPDIR=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

post-install:
    ${INSTALL_DATA} ${WRKSRC}/bbdb-to-lsdb.el ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>