Kill USE_AUTOCONF, USE_IMAKE, NO_INSTALL_MANPAGES, HAS_CONFIGURE,

GNU_CONFIGURE.
This commit is contained in:
espie 2000-10-22 16:06:25 +00:00
parent 793b1ffceb
commit 02eb4f9304
2 changed files with 17 additions and 34 deletions

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.338 2000/10/02 07:53:24 espie Exp $$
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.339 2000/10/22 16:06:25 espie Exp $$
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -58,12 +58,6 @@ _REVISION_NEEDED=${NEED_VERSION:C/.*\.//}
# PERMIT_xxx, CONFIGURE_STYLE, or EXTRACT_CASES instead:
# ========================================================================
# NO_CDROM - Port may not go on CDROM. Set this string to reason.
# USE_AUTOCONF - Port uses autoconf (implies GNU_CONFIGURE).
# USE_IMAKE - Port uses imake.
# HAS_CONFIGURE - Says that the port has its own configure script.
# GNU_CONFIGURE - Set if you are using GNU configure (optional).
# NO_INSTALL_MANPAGES - For imake ports that don't like the install.man
# target.
# EXTRACT_CMD - Command for extracting archives (default: "gzip",
# "bzip2" if USE_BZIP2, "unzip" if USE_ZIP).
# EXTRACT_SUFX - Suffix for archive files (default: ".tar.gz",
@ -223,7 +217,8 @@ _REVISION_NEEDED=${NEED_VERSION:C/.*\.//}
# YACC - yacc program to pass to configure script (default: yacc)
# override with bison if port requires bison.
# CONFIGURE_SCRIPT - Name of configure script, defaults to 'configure'.
# CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set.
# CONFIGURE_ARGS - Pass these args to configure if CONFIGURE_STYLE is
# simple, gnu or perl.
# CONFIGURE_SHARED - An argument to GNU configure that expands to
# --enable-shared for those architectures that support
# shared libraries and --disable-shared for architectures
@ -231,7 +226,7 @@ _REVISION_NEEDED=${NEED_VERSION:C/.*\.//}
# LIBTOOL_FLAGS - Pass these flags in ${CONFIGURE} and ${MAKE} environment so
# to be used as args by libtool.
# CONFIGURE_ENV - Pass these env (shell-like) to configure if
# ${HAS_CONFIGURE} is set.
# CONFIGURE_STYLE is simple, gnu or perl.
# SCRIPTS_ENV - Additional environment vars passed to scripts in
# ${SCRIPTDIR} executed by bsd.port.mk.
# MAKE_ENV - Additional environment vars passed to sub-make in build
@ -498,23 +493,7 @@ PKGDIR?= ${.CURDIR}/pkg
PREFIX?= ${LOCALBASE}
# Convert legacy variables into new CONFIGURE_STYLE
CONFIGURE_STYLE?=
.if defined(USE_AUTOCONF)
CONFIGURE_STYLE+=autoconf
.endif
.if defined(HAS_CONFIGURE)
CONFIGURE_STYLE+=simple
.endif
.if defined(GNU_CONFIGURE)
CONFIGURE_STYLE+=gnu
.endif
.if defined(USE_IMAKE)
CONFIGURE_STYLE+=imake
.endif
.if defined(NO_INSTALL_MANPAGES)
CONFIGURE_STYLE+=noman
.endif
# where configuration files should go
SYSCONFDIR?= /etc

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.template,v 1.22 2000/06/09 17:19:46 espie Exp $
# $OpenBSD: Makefile.template,v 1.23 2000/10/22 16:06:26 espie Exp $
# $FreeBSD/NetBSD: credit FreeBSD/NetBSD if thats where the port came from $
# Original from: credit the original author here
#
@ -78,18 +78,22 @@ MASTER_SITES= ???
#
# requires bsd.port.mk 1.89 or later
#
# when using USE_AUTOCONF/GNU_CONFIGURE/HAS_CONFIGURE only use ONE of
# them
#
#SEPARATE_BUILD= concurrent (build simultaneously on all arches)
#SEPARATE_BUILD= simple (configure/build still recreates files in source)
#USE_GMAKE= Yes
#USE_IMAKE= Yes
#USE_X11= Yes (assumed if USE_IMAKE is Yes)
#USE_AUTOCONF= Yes
#USE_X11= Yes
#USE_LIBTOOL= Yes
#GNU_CONFIGURE= Yes (assumed if USE_AUTOCONF is Yes)
#HAS_CONFIGURE= Yes (assumed if GNU_CONFIGURE is Yes)
# Set CONFIGURE_STYLE to value corresponding to some standard configuration
# perl: perl's MakeMaker Makefile.PL
# gnu [autoconf] [old] [dest]: gnu style configure (old: no
# sysconfdir), (dest: add DESTDIR, does not handle it),
# (autoconf: needed by port, implies gnu)
# XXX: cygnus products do NOT use autoconf for making the main
# configure from configure.in
# imake [noman]: port uses imake for configuration.
# (noman: no man page installation)
# simple: port has its own configure script
#CONFIGURE_STYLE=
#CONFIGURE_SCRIPT= ??? (if other than configure)
#CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
#CONFIGURE_ENV= ???