freebsd-ports/databases/lsdb/Makefile
Ashish SHUKLA 7fc5bd70f3 GNU Emacs updates
editors/emacs:
 - Update to 24.3
 - Update CANNA patchset[1]
 - Unbreak ARM support by using the patch from emacs-devel port
 - Add missing INSTALLS_ICONS[2]
 - Remove a patch which is already integrated upstream
 - Fix Makefile header

editors/emacs-devel:
 - Update to bzr revision 112178
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

editors/emacs23:
 - Remove ABI versions from LIB_DEPENDS
 - Fix Makefile header
 - Add missing INSTALLS_ICONS[2]

Mk/bsd.emacs.mk:
 - Update major version for editors/emacs port

*:
 - Bump PORTREVISION to chase Emacs updates

PR:		ports/177428[2]
Submitted by:	Yuji TAKANO[1] (via private email), bdrewery[2]
2013-03-30 05:13:30 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: lsdb (for emacs21)
# Date Created: 27 Apr 2002
# Whom: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lsdb
PORTVERSION= 0.11
PORTREVISION= 7
CATEGORIES= databases elisp
MASTER_SITES= SFJP/${PORTNAME}/7488
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Lovely Sister Database
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${DEPPORT_SUFFIX}
USE_EMACS= yes
MAKE_ARGS= LISPDIR="${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}"
ALL_TARGET= elc
FLIM_COOKIE= flim-${EMACS_PORT_NAME}-1.14.FreeBSD-packages
.include <bsd.port.pre.mk>
.if defined(EMACS_PORT_NAME)
.if (${EMACS_PORT_NAME} == "emacs23") || (${EMACS_PORT_NAME} == "emacs24") || (${EMACS_PORT_NAME} == "emacs-devel")
DEPPORT_SUFFIX=
.else
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
.endif
.endif
post-patch:
${REINPLACE_CMD} -e "s@ChangeLog:@ChangeLog:#@g" ${WRKSRC}/Makefile
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.post.mk>