aboutsummaryrefslogblamecommitdiff
path: root/databases/db/Makefile
blob: 45f52b8ce4951462b866661f2ba929957b8d3aaa (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                            
                                                   

                                                                       
                                                      

 
                        
                         
                                                  


                             

                                                    
                                                              
                                                



                                            
                                                     
 
             



                                                                               








                                                                                            

                      
# ports collection makefile for:	Berkeley DB
# Version required:                     v2.*
# Date created:				26 Jan 1998
# Whom:					Josh Tiefenbach <josh@ican.net>
#
# $Id: Makefile,v 1.13 1999/04/08 19:05:42 billf Exp $
#

DISTNAME=       db-2.7.3
CATEGORIES=	databases
MASTER_SITES=   ftp://ftp.terra.net/pub/sleepycat/

MAINTAINER=	josh@ican.net

Y2K=		http://www.sleepycat.com/faq.html#A8

MANUAL_PACKAGE_BUILD= incompatible with libc internal db calls
WRKSRC=         ${WRKDIR}/${DISTNAME}/build_unix

GNU_CONFIGURE=	YES
CONFIGURE_SCRIPT=	../dist/configure
CONFIGURE_ARGS=		--enable-compat185 \
			--enable-dump185 --enable-cxx

post-install:
	$(MKDIR) ${PREFIX}/share/examples/db2
	cd ${WRKSRC}/..; \
	    tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \
	    ( cd ${PREFIX}/share/examples/db2; tar xf - )
	@echo ""
	@echo "Java support for ${PKGNAME} is *not* built by default, and requires that you"
	@echo "have a working copy of the JDK (v1.1) installed."
	@echo ""
	@echo "To build java support, please read:"
	@echo ""
	@echo "${WRKDIR}/${DISTNAME}/java/README"
	@echo ""
	@echo "and follow the directions therein."

.include <bsd.port.mk>