3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
45 lines
947 B
Makefile
45 lines
947 B
Makefile
# New ports collection makefile for: gdbm
|
|
# Date created: 8 Apr 1996
|
|
# Whom: Brent J. Nordquist <bjn@visi.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gdbm
|
|
PORTVERSION= 1.8.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= cyrille.lefevre@laposte.net
|
|
COMMENT= The GNU database manager
|
|
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER= 13
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
.if defined(WITH_COMPAT)
|
|
INSTALL_TARGET= install install-compat
|
|
PLIST_SUB= GDBM_COMPAT=""
|
|
.else
|
|
PLIST_SUB= GDBM_COMPAT="@comment "
|
|
.endif
|
|
|
|
MAN3= gdbm.3
|
|
|
|
INSTALL_INFO?= install-info
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_COMPAT)
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "If you need UNIX dbm/ndbm compatibility functions,"
|
|
@${ECHO_MSG} "use \"make WITH_COMPAT=yes\""
|
|
@${ECHO_MSG}
|
|
.endif
|
|
|
|
post-install:
|
|
@${INSTALL_INFO} ${PREFIX}/info/${PORTNAME}.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|