summaryrefslogtreecommitdiff
path: root/devel/bmake/Makefile
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-31 21:34:24 +0000
committerreed <reed@pkgsrc.org>2005-10-31 21:34:24 +0000
commit01eb413282cb60cb97d501bd207856f314c1ee41 (patch)
tree42941e6736472fe6d00d39a8fcdb1d339fa30d09 /devel/bmake/Makefile
parentf4784bf7f4d6872dc0a42747517355a768a4eca2 (diff)
downloadpkgsrc-01eb413282cb60cb97d501bd207856f314c1ee41.tar.gz
Keep the bmake source in pkgsrc/devel/bmake/files/.
The plan is to remove the out-of-date source from bootstrap/bmake. Sources obtained from ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/. Source is kept in files/ for bootstrap purposes (to be done). Update to version bmake-20051002. Changes include: * Makefile.in (BMAKE_VERSION): bump to 20051001 support for UnixWare and some other systems, based on patches from pkgsrc/bootstrap Remove DEPENDS for mk-files (as mentioned on tech-pkg in June). Use libnbcompat. Also patch-aa is to use libnbcompat. (I chose to use patches so files would be exact from original source tarball.) And use PKGMANDIR.
Diffstat (limited to 'devel/bmake/Makefile')
-rw-r--r--devel/bmake/Makefile28
1 files changed, 20 insertions, 8 deletions
diff --git a/devel/bmake/Makefile b/devel/bmake/Makefile
index 9eac9584985..227bff13127 100644
--- a/devel/bmake/Makefile
+++ b/devel/bmake/Makefile
@@ -1,23 +1,29 @@
-# $NetBSD: Makefile,v 1.23 2005/09/04 17:09:54 sjg Exp $
+# $NetBSD: Makefile,v 1.24 2005/10/31 21:34:25 reed Exp $
#
-DISTNAME= bmake-20050901
+DISTNAME= bmake-20051002
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+# distfile obtained from ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/
+# source is kept in files/ for bootstrap purposes
MAINTAINER= sjg@NetBSD.org
HOMEPAGE= http://www.crufty.net/help/sjg/bmake.html
COMMENT= Portable (autoconf) version of NetBSD 'make' utility
-DEPENDS+= mk-files>=20030714:../../devel/mk-files
-
WRKSRC= ${WRKDIR}/bmake
+NO_CHECKSUM= YES
makesyspath=${PREFIX}/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
GNU_CONFIGURE= no
CONFIGURE_ARGS+= --with-default-sys-path=${makesyspath}
-INSTALLATION_DIRS= bin man/cat1 man/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
+
+do-extract:
+ ${CP} -R ${FILESDIR} ${WRKSRC}
do-configure:
@@ -31,8 +37,14 @@ BMAKE_CATd=${WRKSRC}/bmake.cat1
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${PREFIX}/bin
- ${INSTALL_MAN} ${BMAKE_CAT1} ${PREFIX}/man/cat1/bmake.0
- ${INSTALL_MAN} ${WRKDIR}/${OPSYS}/bmake.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${BMAKE_CAT1} ${PREFIX}/${PKGMANDIR}/cat1/bmake.0
+ ${INSTALL_MAN} ${WRKDIR}/${OPSYS}/bmake.1 ${PREFIX}/${PKGMANDIR}/man1
+
+.if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace")
+. include "../../pkgtools/libnbcompat/inplace.mk"
+.else
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"