aboutsummaryrefslogtreecommitdiff
path: root/databases/gauche-gdbm
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-06-17 15:10:00 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-06-17 15:10:00 +0000
commit325cbbdca7468ab429a65094ad0197e6fbab058a (patch)
tree550c478a7493d48ec1eaa2275c798dc25f440b38 /databases/gauche-gdbm
parent85b96cd2174edcfdfffd88fd59f4b64eeac1473b (diff)
downloadports-325cbbdca7468ab429a65094ad0197e6fbab058a.tar.gz
ports-325cbbdca7468ab429a65094ad0197e6fbab058a.zip
Update to 0.7
PR: 53114 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=83158
Diffstat (limited to 'databases/gauche-gdbm')
-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