diff options
author | obrien <obrien@FreeBSD.org> | 2011-05-05 08:40:30 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2011-05-05 08:40:30 +0800 |
commit | 4ef3c5e2a422c5dbba0f58026e4394355bd6d298 (patch) | |
tree | e6659c31ee630cc5d32e036ee69e792ad5822ce7 | |
parent | 664cf1a3b8a455502e09fc6184c137fa9d78c6bb (diff) | |
download | freebsd-ports-gnome-4ef3c5e2a422c5dbba0f58026e4394355bd6d298.tar.gz freebsd-ports-gnome-4ef3c5e2a422c5dbba0f58026e4394355bd6d298.tar.zst freebsd-ports-gnome-4ef3c5e2a422c5dbba0f58026e4394355bd6d298.zip |
Upgrade Bmake to the 20110411 version (w/META mode).
Also dynamically generate the PLIST for the share/mk files as SJG tells
me he will be adding several new files. [method taken from the Vim port]
PR: 155233
Submitted by: obrien
Approved by: Mikolaj Golub <to.my.trociny@gmail.com>
-rw-r--r-- | devel/bmake/Makefile | 17 | ||||
-rw-r--r-- | devel/bmake/distinfo | 4 | ||||
-rw-r--r-- | devel/bmake/pkg-plist | 58 |
3 files changed, 21 insertions, 58 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile index 847245301dc3..969ff515571b 100644 --- a/devel/bmake/Makefile +++ b/devel/bmake/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bmake -PORTVERSION= 20101210 +PORTVERSION= 20110411 CATEGORIES= devel MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/ \ http://www.gtlib.cc.gatech.edu/pub/NetBSD/misc/sjg/ \ @@ -32,5 +32,20 @@ do-install: ${INSTALL_PROGRAM} ${WRKDIR}/obj/bmake ${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/bmake/bmake.1 ${MAN1PREFIX}/man/man1 ${SH} ${WRKDIR}/mk/install-mk ${PREFIX}/share/mk + cd ${PREFIX} ; \ + ${FIND} share/mk -type f -o -type l \ + | ${SORT} \ + >${WRKDIR}/PLIST.share-mk + cd ${PREFIX} ; \ + ${FIND} share/mk/${_DATADIR} -type d \ + | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' \ + >>${WRKDIR}/PLIST.share-mk + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + ${ECHO_CMD} "/Insert PLIST.share-mk" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-mk" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script + ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-mk + cd ${WRKDIR} ; ex < ex.script .include <bsd.port.mk> diff --git a/devel/bmake/distinfo b/devel/bmake/distinfo index 604d36a45ab4..bf5ff7cb78ad 100644 --- a/devel/bmake/distinfo +++ b/devel/bmake/distinfo @@ -1,4 +1,4 @@ -SHA256 (bmake-20101210.tar.gz) = 513f61147ee7bd556067a37eb89e8673d4a3a922f9a6af5220b1b7f22f487389 -SIZE (bmake-20101210.tar.gz) = 405481 +SHA256 (bmake-20110411.tar.gz) = 969dca0035d3a0e3d0b4c317c9b32664337face5e2b3f4744a0855272871e7d3 +SIZE (bmake-20110411.tar.gz) = 427719 SHA256 (mk-20100612.tar.gz) = 37abd0c420f9caec56af27909b8cdda7e81fd4c4eac6a15e4583511693050e7b SIZE (mk-20100612.tar.gz) = 46000 diff --git a/devel/bmake/pkg-plist b/devel/bmake/pkg-plist index 9ae5ce09cf07..cd85ad6ee17f 100644 --- a/devel/bmake/pkg-plist +++ b/devel/bmake/pkg-plist @@ -1,56 +1,4 @@ bin/bmake -share/mk/auto.dep.mk -share/mk/auto.obj.mk -share/mk/autoconf.mk -share/mk/autodep.mk -share/mk/bsd.dep.mk -share/mk/bsd.doc.mk -share/mk/bsd.init.mk -share/mk/bsd.lib.mk -share/mk/bsd.links.mk -share/mk/bsd.man.mk -share/mk/bsd.nls.mk -share/mk/bsd.obj.mk -share/mk/bsd.own.mk -share/mk/bsd.prog.mk -share/mk/bsd.subdir.mk -share/mk/dep.mk -share/mk/doc.mk -share/mk/dpadd.mk -share/mk/final.mk -share/mk/host-target.mk -share/mk/host.libnames.mk -share/mk/inc.mk -share/mk/init.mk -share/mk/java.mk -share/mk/lib.mk -share/mk/libnames.mk -share/mk/libs.mk -share/mk/links.mk -share/mk/man.mk -share/mk/nls.mk -share/mk/obj.mk -share/mk/own.mk -share/mk/prlist.mk -share/mk/prog.mk -share/mk/progs.mk -share/mk/rst2htm.mk -share/mk/scripts.mk -share/mk/subdir.mk -share/mk/sys.mk -share/mk/sys/AIX.mk -share/mk/sys/Darwin.mk -share/mk/sys/Generic.mk -share/mk/sys/HP-UX.mk -share/mk/sys/IRIX.mk -share/mk/sys/Linux.mk -share/mk/sys/NetBSD.mk -share/mk/sys/OSF1.mk -share/mk/sys/OpenBSD.mk -share/mk/sys/SunOS.mk -share/mk/sys/UnixWare.mk -share/mk/target-flags.mk -share/mk/warnings.mk -share/mk/yacc.mk -@dirrm share/mk/sys -@dirrmtry share/mk +@comment Insert PLIST.share-mk here +@comment -=[ begin PLIST.share-mk ]=- +@comment -=[ end PLIST.share-mk ]=- |