summaryrefslogtreecommitdiff
path: root/lang/librep/Makefile
blob: a78a49e848da5dd0b0ed08de6f1b42f84dd8c464 (plain)
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
38
39
40
41
42
# $NetBSD: Makefile,v 1.35 2004/02/14 17:21:43 jlam Exp $
#

DISTNAME=		librep-${REP_VERS}
REP_VERS=		0.16.1
#PKGREVISION=		3
PKGREVISION=		1
CATEGORIES=		lang devel
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=librep/}

MAINTAINER=		danw@NetBSD.org
HOMEPAGE=		http://librep.sourceforge.net/
COMMENT=		Emacs Lisp-like runtime library, interpreter, compiler and VM

DEPENDS+=		libtool-base>=${LIBTOOL_REQD}:../../devel/libtool-base

USE_BUILDLINK3=		yes
USE_GNU_TOOLS+=		make
USE_GNU_READLINE=	# uses rl_basic_quote_characters

USE_LIBTOOL=		yes
REP_LIBTOOL=		${PREFIX}/libexec/rep/${MACHINE_GNU_PLATFORM}/libtool

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-readline
CONFIGURE_ARGS+=	--with-gmp
CONFIGURE_ARGS+=	--enable-static

USE_MAKEINFO=	YES
INFO_FILES=	librep.info

PLIST_SUBST+=		REP_VERS=${REP_VERS}

post-install:
	${RM} -f ${REP_LIBTOOL}
	${INSTALL_SCRIPT} ${PKG_LIBTOOL} ${REP_LIBTOOL}

.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"