blob: 2d9502946f241ced0a4c34ebb5946b64bd6592d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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
OPTIONS_DEFINE= DOCS
USES= gmake
NO_WRKSUBDIR= yes
MAKEFILE= makefile
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
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
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|