openbsd-ports/sysutils/moreutils/Makefile
2020-11-06 14:30:33 +00:00

39 lines
820 B
Makefile

# $OpenBSD: Makefile,v 1.22 2020/11/06 14:30:33 sthen Exp $
COMMENT = miscellaneous unix tools
V = 0.64
DISTNAME = moreutils_$V.orig
PKGNAME = moreutils-$V
WRKDIST = ${WRKDIR}/moreutils-$V
EXTRACT_SUFX = .tar.xz
CATEGORIES = sysutils
HOMEPAGE = https://joeyh.name/code/moreutils/
MAINTAINER = Stuart Henderson <stu.ports@spacehopper.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += c
MASTER_SITES = ${MASTER_SITE_DEBIAN:=main/m/moreutils/}
BUILD_DEPENDS = textproc/docbook-xsl
RUN_DEPENDS = devel/p5-IPC-Run \
devel/p5-Time-Duration \
devel/p5-Time-TimeDate
MAKE_FLAGS = DOCBOOKXSL=${LOCALBASE}/share/xsl/docbook
FAKE_FLAGS = PREFIX=${PREFIX}
USE_GMAKE = Yes
NO_TEST = Yes
post-install:
mv ${PREFIX}/bin/parallel{,.moreutils}
mv ${PREFIX}/man/man1/parallel{,.moreutils}.1
.include <bsd.port.mk>