summaryrefslogtreecommitdiff
path: root/devel/guile-lib/Makefile
blob: 90187f0d7e04d70f6ec38efeff1062a4312ae219 (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
# $NetBSD: Makefile,v 1.9 2006/03/05 16:27:24 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}

USE_TOOLS+=	gmake makeinfo
TEXINFO_REQD=	4.2
INFO_FILES=	guile-library.info
TEST_TARGET=	test

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

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