summaryrefslogtreecommitdiff
path: root/devel/guile-lib/Makefile
blob: 10e54070aac3d890184294774c4ebc92ba65348a (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
# $NetBSD: Makefile,v 1.10 2006/03/30 03:44:43 jlam Exp $

DISTNAME=	guile-lib-0.1.2
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://download.gna.org/guile-lib/

MAINTAINER=	gdt@NetBSD.org
HOMEPAGE=	http://home.gna.org/guile-lib/
COMMENT=	Library functions for Guile, implemented in Scheme

# This package may not be built from the src directory (arch configure
# rules).  The build directory must be created by hand; see the
# pre-configure target.
#
HAS_CONFIGURE=		yes
CONFIGURE_DIRS=		${WRKSRC}/build
BUILD_DIRS=		${WRKSRC}/build
CONFIGURE_SCRIPT=	../src/configure
CONFIGURE_ARGS+=	--prefix=${PREFIX:Q}
CONFIGURE_ARGS+=	--with-pkginfodir=${PKGINFODIR:Q}

USE_TOOLS+=	gmake makeinfo
TEXINFO_REQD=	4.2
INFO_FILES=	# PLIST
TEST_TARGET=	test

.include "../../lang/guile/buildlink3.mk"

pre-configure:
	${MKDIR} ${WRKSRC}/build
.for FILE in config.guess config.sub
	${RM} ${WRKSRC}/src/build-tools/gnu/${FILE}
	${LN} -s ${PKGSRCDIR}/mk/gnu-config/${FILE}			\
		${WRKSRC}/src/build-tools/gnu/${FILE}
.endfor

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