blob: 600b3f42dd6a6df2fa61a6afbd8e23b1839b37f1 (
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
43
44
|
# $NetBSD: Makefile,v 1.52 2010/11/22 20:02:50 shattered Exp $
#
DISTNAME= librep-0.90.5
PKGREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=librep/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://librep.sourceforge.net/
COMMENT= Emacs Lisp-like runtime library, interpreter, compiler and VM
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake makeinfo
USE_GNU_READLINE= yes # uses rl_basic_quote_characters
USE_LIBTOOL= yes
# we have a symlink to libtool
DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base
INFO_FILES= yes
PKGCONFIG_OVERRIDE= librep.pc.in
REP_LIBTOOL= ${PREFIX}/lib/rep/${MACHINE_GNU_PLATFORM}/libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ARGS+= --with-gmp
CONFIGURE_ARGS+= --enable-static
REPLACE_INTERPRETER+= rep
REPLACE.rep.old= .*/bin/rep
REPLACE.rep.new= ${PREFIX}/bin/rep
REPLACE_FILES.rep= src/rep-xgettext.jl
post-install:
${RM} -f ${DESTDIR}${REP_LIBTOOL}
${LN} -s ${PKG_LIBTOOL} ${DESTDIR}${REP_LIBTOOL}
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|