aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/hpack.non-usa.only/Makefile
blob: 27c7ac05fb38f5715d162f722b83c69a65cfe2d7 (plain) (blame)
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
# Created by: ache
# $FreeBSD$

PORTNAME=   hpack
PORTVERSION=    0.79a
CATEGORIES= archivers
MASTER_SITES=   ftp://ftp.franken.de/pub/crypt/misc/ \
        http://ftp.tugraz.at/mirror/crypto/programs/hpack/
DISTNAME=   hpack79src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Multi-System Archiver with open keys PGP-based security

USE_CSTD=   gnu89
NO_WRKSUBDIR=   yes
MAKEFILE=   makefile
ALL_TARGET= freebsd
MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX}
INSTALL_TARGET= freebsd.install

post-patch:
.for f in language/language.c cli.c
    @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${f}
.endfor

post-install:
    @${INSTALL_DATA} ${WRKSRC}/docs/hpack.cfg ${STAGEDIR}${PREFIX}/etc/hpack.cfg.dist

.include <bsd.port.mk>