diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 1998-06-29 22:21:17 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 1998-06-29 22:21:17 +0000 |
commit | 2b940e0d84eaaf8b0bea21e90cfc71776f226352 (patch) | |
tree | a28caaa131dc783c73d84e2ac324c2690ce6afac | |
parent | 8191fb79d19f20ac76b2056905866a9fca8a9423 (diff) |
add support for architecture dependent packing lists;
PLIST.${ARCH} will be used if it exists, otherwise PLIST is used
-rw-r--r-- | share/mk/bsd.port.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index 3b2cba307b3..86dc533fa8f 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 -# $OpenBSD: bsd.port.mk,v 1.30 1998/06/11 16:03:48 marc Exp $ +# $OpenBSD: bsd.port.mk,v 1.31 1998/06/29 22:21:16 marc Exp $ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. @@ -516,9 +516,15 @@ SCRIPTS_ENV+= ${INSTALL_MACROS} .undef NO_PACKAGE .endif +# Support architecture dependent packing lists +# COMMENT?= ${PKGDIR}/COMMENT DESCR?= ${PKGDIR}/DESCR +.if exists(${PKGDIR}/PLIST.${ARCH}) +PLIST?= ${PKGDIR}/PLIST.${ARCH} +.else PLIST?= ${PKGDIR}/PLIST +.endif PKG_CMD?= /usr/sbin/pkg_create .if !defined(PKG_ARGS) |