diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-03-27 13:11:18 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-03-27 13:11:18 +0000 |
commit | 5c9660773a89c7799348e494994a49539b733e5c (patch) | |
tree | 75eb0ea933f72e74f74bc34072e42043b9adb795 /Mk | |
parent | Added tcl and tk. (diff) |
Added more standard package suport file names. INSTALL for the
installation script, DEINSTALL for the deinstallation script, and
REQ for the requirement script, will be added with appropriate
flags to PKG_ARGS if they exist under pkg/.
Notes
Notes:
svn path=/head/; revision=1207
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index fa28a18769bd..282795e550e7 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.124 1995/03/22 21:46:04 jkh Exp $ +# $Id: bsd.port.mk,v 1.125 1995/03/23 20:42:42 gpalmer Exp $ # # Please view me with 4 column tabs! @@ -206,7 +206,18 @@ EXTRACT_BEFORE_ARGS?= -xzf .endif PKG_CMD?= pkg_create -PKG_ARGS?= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} +.if !defined(PKG_ARGS) +PKG_ARGS= -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST -p ${PREFIX} +.if exists(${PKGDIR}/INSTALL) +PKG_ARGS+= -i ${PKGDIR}/INSTALL +.endif +.if exists(${PKGDIR}/DEINSTALL) +PKG_ARGS+= -k ${PKGDIR}/DEINSTALL +.endif +.if exists(${PKGDIR}/REQ) +PKG_ARGS+= -r ${PKGDIR}/REQ +.endif +.endif PKG_SUFX?= .tgz ECHO_MSG?= echo |