freebsd-ports/sysutils/xe/Makefile
Pawel Pekala 0bd3d7bd10 xe is a tool for constructing command lines from file listings or
arguments, which includes the best features of xargs(1) and apply(1).

Benefits over xargs:
- Sane defaults (behaves like xargs -d'\n' -I{} -n1 -r).
- No weird parsing, arguments are separated linewise or by NUL byte.
- Can also take arguments from command-line.
- No shell involved unless -s is used.
- {} replacing possible with multiple arguments.

WWW: https://github.com/chneukirchen/xe/

PR:		211323
Submitted by:	Tobias Kortkamp <t@tobik.me>
2016-07-31 18:31:07 +00:00

26 lines
440 B
Makefile

# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= xe
PORTVERSION= 0.6.1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= t@tobik.me
COMMENT= Simple xargs and apply replacement
LICENSE= CC0-1.0
USE_GITHUB= yes
GH_ACCOUNT= chneukirchen
MAKE_ARGS= CFLAGS="${CFLAGS}" \
MANDIR="${PREFIX}/man"
PLIST_FILES= bin/xe \
man/man1/xe.1.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xe
.include <bsd.port.mk>