freebsd-ports/archivers/szip/Makefile

40 lines
809 B
Makefile
Raw Normal View History

# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
# $FreeBSD$
PORTNAME= szip
PORTVERSION= 1.12b
PORTREVISION= 2
CATEGORIES= archivers
2008-07-25 19:40:58 +02:00
MASTER_SITES= http://www.compressconsult.com/szip/ \
ftp://ftp.sai.msu.su/pub/unix/Archivers/
DISTNAME= sz${PORTVERSION:S/.//}_src
2011-06-29 23:10:22 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast compression utility
USE_GMAKE= yes
WRKSRC= ${WRKDIR}
PLIST_FILES= bin/${PORTNAME}
2006-07-23 16:22:12 +02:00
PORTDOCS= *.txt
.include <bsd.port.options.mk>
2006-07-23 16:22:12 +02:00
post-patch:
@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
2006-07-23 16:22:12 +02:00
${WRKSRC}/makefile
do-build:
${GMAKE} -C ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/*.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>