7750c83aca
- Bugfixes. - New -s option to case, for fnmatch (shell) matching instead of regular expression matching.
36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2021/12/22 16:00:06 schmonz Exp $
|
|
|
|
DISTNAME= execline-2.8.2.0
|
|
CATEGORIES= lang shells
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
|
|
|
|
MAINTAINER= cfkoch@edgebsd.org
|
|
HOMEPAGE= https://skarnet.org/software/execline/
|
|
COMMENT= The execline scripting language
|
|
LICENSE= isc
|
|
|
|
MANPAGES= v2.8.1.0.4.tar.gz
|
|
SITES.${MANPAGES}= ${MASTER_SITE_GITHUB:=flexibeast/execline-man-pages/archive/}
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
|
|
CONFIGURE_ARGS+= --with-lib=${PREFIX}/lib/skalibs
|
|
CONFIGURE_ARGS+= --with-include=${PREFIX}/include
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man7
|
|
|
|
.PHONY: do-install-manpages
|
|
post-install: do-install-manpages
|
|
do-install-manpages:
|
|
cd ${WRKDIR}/${PKGBASE}-man-pages-*; for i in 1 7; do \
|
|
for j in man$$i/*.$$i; do \
|
|
${INSTALL_MAN} $$j \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; \
|
|
done \
|
|
done
|
|
|
|
.include "../../devel/skalibs/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|