1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/archivers/szip/Makefile
2021-04-06 16:31:07 +02:00

35 lines
776 B
Makefile

# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
PORTNAME= szip
PORTVERSION= 1.12b
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://www.compressconsult.com/szip/ \
ftp://ftp.sai.msu.su/pub/unix/Archivers/
DISTNAME= sz${PORTVERSION:S/.//}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast compression utility
NO_WRKSUBDIR= yes
MAKEFILE= makefile
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>