aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-06-17 23:10:00 +0800
committererwin <erwin@FreeBSD.org>2003-06-17 23:10:00 +0800
commit0777fbfcdaf585f36171d8a4fd2f047a6200d71c (patch)
tree8e4b1176db446a7d9083351ff4574c10bcb416eb /databases
parent4db3fe4253cdc8f2ba04b25841fd8c68057bb04f (diff)
downloadfreebsd-ports-gnome-0777fbfcdaf585f36171d8a4fd2f047a6200d71c.tar.gz
freebsd-ports-gnome-0777fbfcdaf585f36171d8a4fd2f047a6200d71c.tar.zst
freebsd-ports-gnome-0777fbfcdaf585f36171d8a4fd2f047a6200d71c.zip
Update to 0.7
PR: 53114 Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r--databases/gauche-gdbm/Makefile17
-rw-r--r--databases/gauche-gdbm/pkg-plist1
2 files changed, 10 insertions, 8 deletions
diff --git a/databases/gauche-gdbm/Makefile b/databases/gauche-gdbm/Makefile
index 9bf04654c350..31d9234d47f0 100644
--- a/databases/gauche-gdbm/Makefile
+++ b/databases/gauche-gdbm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gdbm
-PORTVERSION= 0.6.8 # Keep this in sync with lang/gauche
+PORTVERSION= 0.7 # Keep this in sync with lang/gauche
CATEGORIES= databases
MASTER_SITES= # none
PKGNAMEPREFIX= gauche-
@@ -16,27 +16,28 @@ MAINTAINER= erik@smluc.org
COMMENT= GDBM interface for Gauche
BUILD_DEPENDS= gosh:${PORTSDIR}/${GAUCHE_PORT} \
- ${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:configure
+ ${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:build
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= gosh:${PORTSDIR}/${GAUCHE_PORT}
GAUCHE_PORT= lang/gauche
WRKSRC= ${WRKDIR}/dbm
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS= GOSH=gosh \
OPTFLAGS="${CFLAGS} -I${LOCALBASE}/include"
PLIST_SUB= VERSION="${PORTVERSION}" \
TARGET="${CONFIGURE_TARGET}"
+USE_REINPLACE= yes
do-extract:
${MKDIR} ${WRKDIR}
- ${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT}; ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
+ ${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
+
+do-configure:
+ cd `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC` && ./configure --with-local=${LOCALBASE} --prefix=${LOCALBASE} --target=${CONFIGURE_TARGET} --host=${CONFIGURE_HOST} --build=${CONFIGURE_BUILD} && cd ext && ${REINPLACE_CMD} -e "s/archdir/&|sed 's,unknown-freebsd,portbld-freebsd,'/" Makefile.ext
+ cd ${WRKSRC} && make clean && ${REINPLACE_CMD} -e 's/^LIBFILES.*/LIBFILES = gdbm.la/' -e 's/^SCMFILES.*/SCMFILES = gdbm.scm/' Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/gdbm.scm `gauche-config --syslibdir`/dbm/
- ${INSTALL_DATA} ${WRKSRC}/gdbm.so `gauche-config --sysarchdir`/
+ cd ${WRKSRC} && make install-std
.include <bsd.port.mk>
diff --git a/databases/gauche-gdbm/pkg-plist b/databases/gauche-gdbm/pkg-plist
index ac04a04d8a17..c722df48c5b0 100644
--- a/databases/gauche-gdbm/pkg-plist
+++ b/databases/gauche-gdbm/pkg-plist
@@ -1,2 +1,3 @@
+lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.la
lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.so
share/gauche/%%VERSION%%/lib/dbm/gdbm.scm