diff options
Diffstat (limited to 'shells/mksh/Makefile')
-rw-r--r-- | shells/mksh/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile index d4760535dd5..ce06512a2d8 100644 --- a/shells/mksh/Makefile +++ b/shells/mksh/Makefile @@ -1,21 +1,20 @@ -# $NetBSD: Makefile,v 1.39 2020/05/19 15:20:07 nia Exp $ +# $NetBSD: Makefile,v 1.40 2020/07/06 10:11:34 jperkin Exp $ DISTNAME= mksh-R59b PKGNAME= ${DISTNAME:S/-R/-/} CATEGORIES= shells -MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ -MASTER_SITES+= http://pub.allbsd.org/MirOS/dist/mir/mksh/ -SITES.${DISTNAME}.cat1.gz= ${MASTER_SITES:S/dist/cats/} +MASTER_SITES= # maintained locally +DISTFILES= # empty -EXTRACT_SUFX= .tgz - -MAINTAINER= ahoka@NetBSD.org +MAINTAINER= jperkin@pkgsrc.org HOMEPAGE= http://mirbsd.de/mksh COMMENT= MirBSD Korn Shell LICENSE= miros +BOOTSTRAP_PKG= yes +NO_CHECKSUM= yes + WRKSRC= ${WRKDIR}/mksh -WRKBUILD?= ${WRKSRC} PKG_SHELL= bin/mksh @@ -23,18 +22,21 @@ LIBS.Interix+= -lcrypt INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/mksh +do-extract: + ${CP} -R ${FILESDIR} ${WRKSRC} + do-build: - cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} LIBS=${LIBS:Q} \ + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} LIBS=${LIBS:Q} \ ${TOOLS_SHELL} ${WRKSRC}/Build.sh -r do-install: - ${INSTALL_PROGRAM} ${WRKBUILD}/mksh ${DESTDIR}${PREFIX}/bin/mksh + ${INSTALL_PROGRAM} ${WRKSRC}/mksh ${DESTDIR}${PREFIX}/bin/mksh ${INSTALL_MAN} ${WRKSRC}/mksh.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ ${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${DESTDIR}${PREFIX}/share/examples/mksh/ # Uncomment this if you want to run the regression tests #USE_TOOLS+= perl #do-test: -# ${WRKBUILD}/test.sh -v +# ${WRKSRC}/test.sh -v .include "../../mk/bsd.pkg.mk" |