diff options
author | asami <asami@FreeBSD.org> | 1996-08-15 13:55:33 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-08-15 13:55:33 +0800 |
commit | 9587097e70d2862cda4cdbb59bbeaf4999c2f649 (patch) | |
tree | fca1027d905b1b348f604d1289a15807ecfb18d1 /Mk | |
parent | cbc3e38d65dc2fe5dcf1e356f22f6eb7e2157ccd (diff) | |
download | freebsd-ports-gnome-9587097e70d2862cda4cdbb59bbeaf4999c2f649.tar.gz freebsd-ports-gnome-9587097e70d2862cda4cdbb59bbeaf4999c2f649.tar.zst freebsd-ports-gnome-9587097e70d2862cda4cdbb59bbeaf4999c2f649.zip |
(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)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index b896a03ca8d7..f45998202686 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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) |