[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / elib

File: [cvs.NetBSD.org] / pkgsrc / devel / elib / Makefile.common (download)

Revision 1.9, Sat Apr 6 20:27:18 2013 UTC (10 years, 10 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.8: +2 -2 lines

Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.

# $NetBSD: Makefile.common,v 1.9 2013/04/06 20:27:18 rodent Exp $
#
# used by devel/emacs20-elib/Makefile

DISTNAME=	elib-1.0
CATEGORIES=	devel
MASTER_SITES=	http://jdee.sunsite.dk/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Library of utility functions for Emacs

.include "../../editors/emacs/modules.mk"

PKGSRC_MAKE_ENV+=	EMACS=${EMACS_FLAVOR:Q}
MAKEFLAGS+=		EMACS=${EMACS_FLAVOR:Q}

NO_CONFIGURE=	yes
USE_TOOLS+=	gmake makeinfo

INFO_FILES=	yes

DISTINFO_FILE=	${.CURDIR}/../../devel/elib/distinfo
PATCHDIR=	${.CURDIR}/../../devel/elib/patches
PLIST_SRC=	${.CURDIR}/../../devel/elib/PLIST

INSTALLATION_DIRS=	${EMACS_LISPPREFIX}/elib ${EMACS_INFOPREFIX}

SRCS=	stack-f.el stack-m.el queue-f.el queue-m.el elib-node.el	\
	bintree.el avltree.el string.el read.el cookie.el dll.el	\
	dll-debug.el

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/elib
	cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} 	\
			${DESTDIR}${EMACS_LISPPREFIX}/elib
	cd ${WRKSRC} && ${INSTALL_DATA} elib.info* ${DESTDIR}${EMACS_INFOPREFIX}

.include "../../mk/bsd.pkg.mk"