pkgsrc/lang/execline/Makefile
schmonz 989458a1e3 Update to 2.8.1.0. From the changelog:
- Adaptation to skalibs-2.11.0.0.
- New binary: case. It compares a value against a series of regular
  expressions, executing into another command line on the first match.
2021-09-29 09:53:57 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2021/09/29 09:53:57 schmonz Exp $
DISTNAME= execline-2.8.1.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.1.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 *.$$i; do \
${INSTALL_MAN} $$j \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; \
done \
done
.include "../../devel/skalibs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"