38b18b1d77
While here, clean up whitespace and install punigz as hardlink. Take maintainer as discussed with Thomas Pfaff. OK jca
34 lines
691 B
Makefile
34 lines
691 B
Makefile
# $OpenBSD: Makefile,v 1.7 2018/07/10 13:32:44 kn Exp $
|
|
|
|
# __builtin_clz
|
|
NOT_FOR_ARCHS= ${GCC3_ARCHS}
|
|
|
|
COMMENT = parallel implementation of gzip utilizing multiple cores
|
|
|
|
DISTNAME = pigz-2.4
|
|
REVISION = 0
|
|
CATEGORIES = archivers
|
|
HOMEPAGE = https://zlib.net/pigz/
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# zlib + Apache
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB = c m pthread z
|
|
|
|
MASTER_SITES = https://zlib.net/pigz/
|
|
|
|
MAKE_FLAGS = CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -Wall -Wextra"
|
|
|
|
ALL_TARGET = pigz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/pigz ${PREFIX}/bin
|
|
cd ${PREFIX}/bin && ln -f pigz unpigz
|
|
${INSTALL_MAN} ${WRKSRC}/pigz.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|