aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 21:15:12 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 21:15:12 +0800
commit00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c (patch)
treedd05597dd69f6556e67663a9b8749dd9a7889b56 /databases/db4/Makefile
parent5d7bcddf040e5177396571683866de37ad72f7db (diff)
downloadfreebsd-ports-gnome-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.tar.gz
freebsd-ports-gnome-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.tar.zst
freebsd-ports-gnome-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.zip
- Do not install useless .la files
- Utilize NOPORTDOCS PR: 45446 Submitted by: Ports Fury
Diffstat (limited to 'databases/db4/Makefile')
-rw-r--r--databases/db4/Makefile32
1 files changed, 15 insertions, 17 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index e164e7fa4a78..68489f6b63ee 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -7,37 +7,35 @@
PORTNAME= db4
PORTVERSION= 4.0.14
-#PORTREVISION= 2
-#PORTEPOCH= 1
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
DISTNAME= db-${PORTVERSION}
DIST_SUBDIR= bdb
-MAINTAINER= ports@FreeBSD.org
-
#PATCH_SITES= ${MASTER_SITES}
#PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2
#PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
+MAINTAINER= ports@FreeBSD.org
+
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
-INSTALLS_SHLIB= yes
-HAS_CONFIGURE= yes
-USE_REINPLACE= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
-CONFIGURE_ARGS= --enable-compat185 \
- --enable-dump185 --enable-cxx \
- --enable-dynamic \
- --prefix=${PREFIX} \
- --includedir=${PREFIX}/include/db4 \
- --target=${ARCH}-unknown-freebsd${OSREL}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --enable-compat185 --enable-dump285 \
+ --enable-cxx --enable-dynamic \
+ --includedir=${PREFIX}/include/db4
+INSTALLS_SHLIB= yes
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET= install install_docs
+.endif
post-patch:
- @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>