2000-02-15 00:17:22 -05:00
|
|
|
# $OpenBSD: Makefile.template,v 1.14 2000/02/15 05:17:22 turan Exp $
|
1999-05-18 12:39:02 -04:00
|
|
|
# $FreeBSD/NetBSD: credit FreeBSD/NetBSD if thats where the port came from $
|
|
|
|
# Original from: credit the original author here
|
|
|
|
#
|
|
|
|
# Replace ??? with appropriate values
|
|
|
|
# Remove extraneous comments before commit.
|
|
|
|
|
|
|
|
#
|
|
|
|
# What port/package will be created
|
|
|
|
#
|
|
|
|
DISTNAME= ???
|
|
|
|
#DIST_SUBDIR= ???
|
|
|
|
#PKGNAME= ???
|
|
|
|
CATEGORIES= ???
|
|
|
|
|
|
|
|
# Reasons why the port/package shouldn't be built
|
|
|
|
#
|
|
|
|
#NEED_VERSION= ?.??
|
|
|
|
#COMES_WITH= ???
|
|
|
|
#ONLY_FOR_ARCHS= ???
|
|
|
|
#BROKEN= "reason"
|
|
|
|
#RESTRICTED= "reason"
|
|
|
|
#MIRROR_DISTFILE= no
|
|
|
|
|
|
|
|
# where to send bitches about this port
|
|
|
|
#
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
|
2000-02-12 01:02:04 -05:00
|
|
|
# Licensing for this port. License types:
|
2000-02-13 02:14:13 -05:00
|
|
|
# ARTISTIC: PERL Artistic license, or similar.
|
2000-02-12 15:03:00 -05:00
|
|
|
# BSD: BSD (or a BSD like) license.
|
|
|
|
# Can be distributed. Documentation that mentions package may
|
|
|
|
# need to include owners copyright.
|
|
|
|
# COMM: Commercial software.
|
|
|
|
# For fee software.
|
|
|
|
# COPY: Copyright that allows or denys distribution
|
|
|
|
# Read copyright before use, there may be usage restrictions
|
|
|
|
# even if distribution is allowed.
|
|
|
|
# CRYPTO: Third party crypto not allowed.
|
|
|
|
# GPL: Licensed under the GNU GPL license.
|
|
|
|
# INCLUDED: Package is included in OpenBSD, distribution not needed.
|
|
|
|
# LGPL: Licensed under the GNU LGPL license.
|
|
|
|
# LICENSE: Requires license for redistribution.
|
|
|
|
# Note: a license may only be required for a `commercial'
|
|
|
|
# distribution which is how I'm treating the OpenBSD CD-ROMs.
|
|
|
|
# NOEXTRAFEE: Can not charge _extra_ for distribution
|
|
|
|
# May distribute when the price of the distribution does would
|
|
|
|
# not change if the port were removed from the distribution.
|
|
|
|
# NOFEE: Can not charge for distribution
|
|
|
|
# The software may be `free', but the copyright states
|
|
|
|
# `may not charge for distribution' or words to that effect.
|
2000-02-13 03:13:46 -05:00
|
|
|
# NONE: No license/copyright found in source code or related
|
|
|
|
# documentation. Assume no rights in these cases except for
|
|
|
|
# cases that are obviously meant to be distributed e.g.
|
|
|
|
# patch files, some documentation, etc.
|
2000-02-12 15:03:00 -05:00
|
|
|
# PAT: Patent or Patent Pending
|
|
|
|
# PD: Explicitly stated to be in the Public Domain.
|
|
|
|
# RESTRICT: Restrictive license
|
|
|
|
# SHARE: Shareware.
|
|
|
|
# X: X Consortium (or X consortium like, e.g. XFree86) license.
|
|
|
|
# a full and unrestricted irrevocable, world-wide, paid up,
|
|
|
|
# royalty-free, nonexclusive right and license to deal in this
|
|
|
|
# software...
|
|
|
|
# TOG: The Open Group license. Not to be confused with X or XFree86.
|
|
|
|
# Software distributed under the TOG license is NOT free.
|
2000-02-12 01:02:04 -05:00
|
|
|
#
|
2000-02-12 15:03:00 -05:00
|
|
|
# NOTE: A LICENSE THAT ALLOWS COPYING/REDISTRIBUTION MAY STILL
|
|
|
|
# BE RESTRICTIVE WITH RESPECT TO USE OF THE BINARY AND/OR
|
|
|
|
# SOURCE CODE. PLEASE READ ALL LICENSES/COPYRIGHTS CAREFULLY.
|
2000-02-12 04:24:30 -05:00
|
|
|
#
|
|
|
|
# When you determine the license type, make sure to look at ALL distfiles.
|
|
|
|
# Every distfile can have a different license. The PERMIT_* values are
|
|
|
|
# determined by the most restrictive license. If you have two licenses
|
2000-02-12 14:43:44 -05:00
|
|
|
# that are in conflict, set LICENSE_TYPE="lic1 lic2" and set the appropriate
|
2000-02-13 03:13:46 -05:00
|
|
|
# PERMIT_* values to no. Make SURE you get these values right.
|
2000-02-12 01:02:04 -05:00
|
|
|
|
|
|
|
LICENSE_TYPE= "License type"
|
2000-02-15 00:17:22 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "YES|'Reason if NO'"
|
|
|
|
PERMIT_PACKAGE_FTP= "YES|'Reason if NO'"
|
|
|
|
PERMIT_DISTFILES_CDROM= "YES|'Reason if NO'"
|
|
|
|
PERMIT_DISTFILES_FTP= "YES|'Reason if NO'"
|
2000-02-12 01:02:04 -05:00
|
|
|
|
1999-05-18 12:39:02 -04:00
|
|
|
# where the source files and patches can be fetched
|
|
|
|
#
|
|
|
|
MASTER_SITES= ???
|
|
|
|
#MASTER_SITE_SUBDIR= ???
|
|
|
|
#DISTFILES= ???
|
|
|
|
#PATCH_SITES= ???
|
|
|
|
#PATCHFILES= ???
|
|
|
|
#PATCH_DIST_STRIP= -p0
|
|
|
|
#EXTRACT_SUFX= .tar.Z
|
|
|
|
#EXTRACT_CMD= ???
|
|
|
|
#EXTRACT_BEFORE_ARGS= ???
|
|
|
|
#EXTRACT_AFTER_ARGS= ???
|
|
|
|
|
|
|
|
# don't forget to list supplementary files here (arch-dependent stuff,
|
|
|
|
# or files that only get used with specific options. Otherwise,
|
|
|
|
# make checksum/addsum WON'T WORK.
|
|
|
|
#SUPDISTFILES=
|
|
|
|
#SUPPATCHFILES=
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
#
|
|
|
|
#FETCH_DEPENDS= ???
|
|
|
|
#BUILD_DEPENDS= ???
|
|
|
|
#RUN_DEPENDS= ???
|
|
|
|
#LIB_DEPENDS= ???
|
|
|
|
|
|
|
|
# Is the build automagic or is it interactive
|
|
|
|
#
|
|
|
|
#IS_INTERACTIVE= yes
|
|
|
|
|
|
|
|
# build/configuration variables
|
|
|
|
#
|
|
|
|
# requires bsd.port.mk 1.71 or later
|
1999-10-04 20:00:38 -04:00
|
|
|
#
|
|
|
|
# when using USE_AUTOCONF/GNU_CONFIGURE/HAS_CONFIGURE only use ONE of
|
|
|
|
# them
|
|
|
|
#
|
1999-05-18 12:39:02 -04:00
|
|
|
#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
|
1999-05-18 12:46:39 -04:00
|
|
|
#USE_LIBTOOL= yes # require 1.89 or later
|
1999-05-18 12:39:02 -04:00
|
|
|
#GNU_CONFIGURE= yes (assumed if USE_AUTOCONF is yes)
|
|
|
|
#HAS_CONFIGURE= yes (assumed if GNU_CONFIGURE is yes)
|
|
|
|
#CONFIGURE_SCRIPT= ??? (if other than configure)
|
|
|
|
#CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
#CONFIGURE_ENV= ???
|
1999-05-18 12:46:39 -04:00
|
|
|
#LIBTOOL_FLAGS= ???
|
1999-05-18 12:39:02 -04:00
|
|
|
|
|
|
|
# Things that we don't want to do for this port/package
|
|
|
|
#
|
|
|
|
#NO_DEPENDS= yes
|
2000-02-11 20:00:28 -05:00
|
|
|
# NO_WRKDIR is *BAD*, it breaks all dependencies
|
2000-02-10 18:46:42 -05:00
|
|
|
# NO_WRKSUBDIR is obsolete
|
|
|
|
# Use WRKDIST=${WRKDIR}
|
1999-05-18 12:39:02 -04:00
|
|
|
#NO_CHECKSUM= yes
|
|
|
|
#NO_EXTRACT= yes
|
|
|
|
#NO_PATCH= yes
|
|
|
|
#NO_CONFIGURE= yes
|
|
|
|
#NO_BUILD= yes
|
|
|
|
#NO_INSTALL= yes
|
|
|
|
#NO_MTREE= yes
|
|
|
|
#NO_PACKAGE= yes
|
|
|
|
#NO_PKG_REGISTER= yes
|
|
|
|
|
|
|
|
# This section is only needed if man pages are distributed in compressed
|
|
|
|
# form. Define MANCOMPRESSED and the man pages by section. The pages
|
|
|
|
# will be uncompressed after being installed.
|
|
|
|
#
|
|
|
|
#MANCOMPRESSED= yes
|
|
|
|
#MAN1= ???
|
|
|
|
#MAN3= ???
|
|
|
|
#MAN4= ???
|
|
|
|
#MAN5= ???
|
|
|
|
#MAN8= ???
|
|
|
|
|
|
|
|
# Overrides for default values
|
|
|
|
#
|
|
|
|
#MAKEFILE= ???
|
|
|
|
#MAKE_FLAGS= ???
|
|
|
|
#MAKE_ENV= ???
|
|
|
|
#SCRIPTS_ENV= ???
|
|
|
|
#LDFLAGS= ???
|
|
|
|
#WRKDIR= ??? if other than work
|
|
|
|
#WRKSRC= ??? if other than ${WRKDIR}/$DISTNAME
|
|
|
|
|
|
|
|
#ALL_TARGET= ???
|
|
|
|
#INSTALL_TARGET= ???
|
|
|
|
|
|
|
|
# This target may be necessary if a shared library may have been created
|
|
|
|
#
|
|
|
|
#post-install:
|
|
|
|
# ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|