1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

(1) Add myself as MAINTAINER (of this file) -- commented out so it

won't be pulled into individual ports that include this file. ;)

(2) Document MOTIFLIB, it's not set in the ports Makefiles but is
    important for Motif ports (already documented in the handbook).

(3) Add INSTALL_PROGRAM, INSTALL_SCRIPT, INSTALL_DATA, INSTALL_MAN as
    "aliases" of the appropriate install command line, for use in *-install
    targets.

Reviewed by:	the ports list (item 3 only)
This commit is contained in:
Satoshi Asami 1996-08-15 05:55:33 +00:00
parent 12dea55028
commit 29c5a9d322
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3596

View File

@ -3,10 +3,16 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.217 1996/07/27 11:54:30 andreas Exp $
# $Id: bsd.port.mk,v 1.218 1996/08/07 08:25:08 asami Exp $
#
# Please view me with 4 column tabs!
# This is for this file, not for the ports that includes it, so it's
# commented out -- the person to contact if you have questions/
# suggestions about bsd.port.mk.
#
# MAINTAINER= asami@FreeBSD.ORG
#
# Supported Variables and their behaviors:
#
@ -38,7 +44,6 @@
#
# Variables that typically apply to an individual port. Non-Boolean
# variables without defaults are *mandatory*.
#
#
# WRKDIR - A temporary working directory that gets *clobbered* on clean
# (default: ${.CURDIR}/work).
@ -157,7 +162,10 @@
# HAVE_MOTIF - If set, means system has Motif. Typically set in
# /etc/make.conf.
# MOTIF_STATIC - If set, link libXm statically; otherwise, link it
# dynamically.
# dynamically. Typically set in /etc/make.conf.
# MOTIFLIB - Set automatically to appropriate value depending on
# ${MOTIF_STATIC}. Substitute references to -lXm with
# patches to make your port conform to our standards.
#
# Variables to change if you want a special behavior:
#
@ -170,7 +178,14 @@
# including those of dependencies, without actually building
# any of them).
#
#
# Variables that serve as convenient "aliases" for your *-install targets:
#
# Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin".
# INSTALL_PROGRAM - A command to install binary executables.
# INSTALL_SCRIPT - A command to install executable scripts.
# INSTALL_DATA - A command to install sharable data.
# INSTALL_MAN - A command to install manpages (doesn't compress).
#
# Default targets and their behaviors:
#
# fetch - Retrieves ${DISTFILES} (and ${PATCHFILES} if defined)
@ -316,6 +331,16 @@ MTREE_ARGS?= -U -f ${MTREE_LOCAL} -d -e -p
NO_MTREE= yes
.endif
# A few aliases for *-install targets
INSTALL_PROGRAM= \
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
INSTALL_SCRIPT= \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
INSTALL_DATA= \
${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE}
INSTALL_MAN= \
${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
# The user can override the NO_PACKAGE by specifying this from
# the make command line
.if defined(FORCE_PACKAGE)