sthen 3d6b2ab2bd fiddle with docbook input files for moreutils, the round-trip through xsltproc
results in some missing whitespace i.e. "use\n<command>pee cat ...</command>"
ends up as "usepee cat" not "use pee cat".
2022-06-30 08:58:08 +00:00

38 lines
772 B
Makefile

COMMENT = miscellaneous unix tools
V = 0.65
REVISION = 0
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>