View | Details | Raw Unified | Return to bug 53114
Collapse All | Expand All

(-)databases/gauche-gdbm/Makefile (-9 / +6 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	gdbm
8
PORTNAME=	gdbm
9
PORTVERSION=	0.6.8	# Keep this in sync with lang/gauche
9
PORTVERSION=	0.7	# Keep this in sync with lang/gauche
10
CATEGORIES=	databases
10
CATEGORIES=	databases
11
MASTER_SITES=	# none
11
MASTER_SITES=	# none
12
PKGNAMEPREFIX=	gauche-
12
PKGNAMEPREFIX=	gauche-
Lines 16-42 Link Here
16
COMMENT=	GDBM interface for Gauche
16
COMMENT=	GDBM interface for Gauche
17
17
18
BUILD_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT} \
18
BUILD_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT} \
19
		${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:configure
19
		${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:build
20
LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
20
LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
21
RUN_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT}
21
RUN_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT}
22
22
23
GAUCHE_PORT=	lang/gauche
23
GAUCHE_PORT=	lang/gauche
24
24
25
WRKSRC=		${WRKDIR}/dbm
25
WRKSRC=		${WRKDIR}/dbm
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
28
		LDFLAGS="-L${LOCALBASE}/lib"
29
MAKE_ARGS=	GOSH=gosh \
26
MAKE_ARGS=	GOSH=gosh \
30
		OPTFLAGS="${CFLAGS} -I${LOCALBASE}/include"
27
		OPTFLAGS="${CFLAGS} -I${LOCALBASE}/include"
31
PLIST_SUB=	VERSION="${PORTVERSION}" \
28
PLIST_SUB=	VERSION="${PORTVERSION}" \
32
		TARGET="${CONFIGURE_TARGET}"
29
		TARGET="${CONFIGURE_TARGET}"
30
USE_REINPLACE=	yes
33
31
34
do-extract:
32
do-extract:
35
	${MKDIR} ${WRKDIR}
33
	${MKDIR} ${WRKDIR}
36
	${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT}; ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
34
	${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
37
35
38
do-install:
36
do-configure:
39
	${INSTALL_DATA} ${WRKSRC}/gdbm.scm `gauche-config --syslibdir`/dbm/
37
	cd `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC` && ./configure --with-local=${LOCALBASE} --prefix=${LOCALBASE} --target=${CONFIGURE_TARGET} --host=${CONFIGURE_HOST} --build=${CONFIGURE_BUILD} && ${REINPLACE_CMD} -e "s/archdir/&|sed 's,unknown-freebsd,portbld-freebsd,'/" ext/Makefile.ext
40
	${INSTALL_DATA} ${WRKSRC}/gdbm.so `gauche-config --sysarchdir`/
41
38
42
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)databases/gauche-gdbm/pkg-plist (+6 lines)
Lines 1-2 Link Here
1
lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.la
1
lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.so
2
lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.so
3
lib/gauche/%%VERSION%%/%%TARGET%%/ndbm.la
4
lib/gauche/%%VERSION%%/%%TARGET%%/ndbm.so
2
share/gauche/%%VERSION%%/lib/dbm/gdbm.scm
5
share/gauche/%%VERSION%%/lib/dbm/gdbm.scm
6
share/gauche/%%VERSION%%/lib/dbm/ndbm.scm
7
share/gauche/%%VERSION%%/lib/dbm.scm
8
@dirrm share/gauche/%%VERSION%%/lib/dbm

Return to bug 53114