1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/archivers/szip/Makefile
2013-10-16 11:27:24 +00:00

36 lines
775 B
Makefile

# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
# $FreeBSD$
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
USES= gmake
WRKSRC= ${WRKDIR}
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
post-patch:
@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
${WRKSRC}/makefile
do-build:
${GMAKE} -C ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>