a08939f4dc
Those ports builds perfectly fine with bmake
35 lines
788 B
Makefile
35 lines
788 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
|
|
|
|
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>
|