pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators Use the extended PLIST_SRC support which now...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a02e6bba3a9
branches:  trunk
changeset: 489455:8a02e6bba3a9
user:      veego <veego%pkgsrc.org@localhost>
date:      Mon Feb 21 20:57:20 2005 +0000

description:
Use the extended PLIST_SRC support which now also reads:
PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g}
PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g}
and remove the package hack for MD PLIST files.

diffstat:

 emulators/compat13/Makefile        |  4 +---
 emulators/compat14-crypto/Makefile |  7 +------
 emulators/compat14/Makefile        |  7 +------
 emulators/compat16/Makefile        |  6 +-----
 emulators/twin/Makefile            |  9 +--------
 5 files changed, 5 insertions(+), 28 deletions(-)

diffs (110 lines):

diff -r e8dc4d678bf7 -r 8a02e6bba3a9 emulators/compat13/Makefile
--- a/emulators/compat13/Makefile       Mon Feb 21 20:51:21 2005 +0000
+++ b/emulators/compat13/Makefile       Mon Feb 21 20:57:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/08/30 22:51:15 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2005/02/21 20:57:20 veego Exp $
 #
 
 DISTNAME=              compat13-${MACHINE_ARCH}${PKGMINOR}
@@ -40,8 +40,6 @@
 .endif
 
 .if ${MACHINE_ARCH} == "alpha"
-PLIST_SRC+=            ${PKGDIR}/PLIST
-PLIST_SRC+=            ${PKGDIR}/PLIST.alpha
 PKGMINOR=              nb1
 .else
 PKGMINOR=
diff -r e8dc4d678bf7 -r 8a02e6bba3a9 emulators/compat14-crypto/Makefile
--- a/emulators/compat14-crypto/Makefile        Mon Feb 21 20:51:21 2005 +0000
+++ b/emulators/compat14-crypto/Makefile        Mon Feb 21 20:57:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/12/15 06:21:33 grant Exp $
+# $NetBSD: Makefile,v 1.7 2005/02/21 20:57:20 veego Exp $
 #
 
 DISTNAME=              compat14-crypto-${MACHINE_ARCH}-${VERSION}
@@ -46,11 +46,6 @@
 COMPAT_XLIBDIR=                X11R6/lib
 .endif
 
-PLIST_SRC+=            ${PKGDIR}/PLIST
-.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
-PLIST_SRC+=            ${PKGDIR}/PLIST.${MACHINE_ARCH}
-.endif
-
 PLIST_SUBST+=          COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
 
 # note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
diff -r e8dc4d678bf7 -r 8a02e6bba3a9 emulators/compat14/Makefile
--- a/emulators/compat14/Makefile       Mon Feb 21 20:51:21 2005 +0000
+++ b/emulators/compat14/Makefile       Mon Feb 21 20:57:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/12/15 06:21:32 grant Exp $
+# $NetBSD: Makefile,v 1.10 2005/02/21 20:57:20 veego Exp $
 #
 
 DISTNAME=              compat14-${MACHINE_ARCH}-${VERSION}
@@ -44,11 +44,6 @@
 COMPAT_XLIBDIR=                X11R6/lib
 .endif
 
-PLIST_SRC+=            ${PKGDIR}/PLIST
-.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
-PLIST_SRC+=            ${PKGDIR}/PLIST.${MACHINE_ARCH}
-.endif
-
 PLIST_SUBST+=          COMPAT_LIBDIR=${COMPAT_LIBDIR} COMPAT_XLIBDIR=${COMPAT_XLIBDIR}
 
 # note that the INSTALL_DATA for the lib*.so symlinks will copy the file, not the symlink.
diff -r e8dc4d678bf7 -r 8a02e6bba3a9 emulators/compat16/Makefile
--- a/emulators/compat16/Makefile       Mon Feb 21 20:51:21 2005 +0000
+++ b/emulators/compat16/Makefile       Mon Feb 21 20:57:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/12/14 04:17:18 grant Exp $
+# $NetBSD: Makefile,v 1.2 2005/02/21 20:57:20 veego Exp $
 #
 
 DISTNAME=              compat16-${MACHINE_ARCH}-${VERSION}
@@ -24,10 +24,6 @@
 
 EMULSUBDIR=            emul/netbsd16
 
-.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
-PLIST_SRC=             ${PKGDIR}/PLIST.${MACHINE_ARCH}
-.endif
-
 PLIST_SUBST+=          EMULSUBDIR=${EMULSUBDIR}
 
 do-install:
diff -r e8dc4d678bf7 -r 8a02e6bba3a9 emulators/twin/Makefile
--- a/emulators/twin/Makefile   Mon Feb 21 20:51:21 2005 +0000
+++ b/emulators/twin/Makefile   Mon Feb 21 20:57:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/12/03 15:14:56 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2005/02/21 20:57:20 veego Exp $
 #
 
 DISTNAME=              twin-src-3.1.14
@@ -18,7 +18,6 @@
 BUILD_TARGET=          depend world
 AUTOCONF_REQD=         2.13
 CONFIGURE_ARGS=                --enable-debugger
-PLIST_SRC=             ${WRKDIR}/PLIST
 
 pre-configure:
        cd ${WRKSRC} && ${AUTORECONF} --force
@@ -26,12 +25,6 @@
 pre-build:
        ${CP} ${WRKSRC}/windows/Execfreebsd.c ${WRKSRC}/windows/Execnetbsd.c
 
-pre-install:
-       @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
-.if exists(${PKGDIR}/PLIST.${MACHINE_ARCH})
-       @${CAT} ${PKGDIR}/PLIST.${MACHINE_ARCH} >> ${PLIST_SRC}
-.endif
-
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/twin
        ${INSTALL_DATA} ${WRKSRC}/documentation/* ${PREFIX}/share/doc/twin/



Home | Main Index | Thread Index | Old Index