mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
44 lines
863 B
Makefile
44 lines
863 B
Makefile
# Created by: mm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pxz
|
|
PORTVERSION= 0.20120930
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= mm
|
|
DISTNAME= pxz-git-${PORTVERSION:S/0.//}
|
|
|
|
MAINTAINER= mm@FreeBSD.org
|
|
COMMENT= Parallel LZMA compressor using liblzma
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
PLIST_FILES= bin/pxz
|
|
MAN1= pxz.1
|
|
|
|
MAKE_ENV+= BINDIR=${PREFIX}/bin \
|
|
MANDIR=${MANPREFIX}/man
|
|
|
|
USE_GCC?= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
|
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
.endif
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not link on sparc64
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/CC=.*/CC:=$${CC}/g' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|