aboutsummaryrefslogtreecommitdiff
path: root/security/reop/Makefile
blob: 4e311d7e47e6f7e587ac2097dd33daf22c3550f3 (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
30
31
32
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=	reop
PORTVERSION=	2.1.0
PORTREVISION=	4
CATEGORIES=	security

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Reasonable Expectation Of Privacy

LIB_DEPENDS=	libsodium.so:security/libsodium

USES=		gmake
USE_GITHUB=	yes
GH_ACCOUNT=	tedu

MAKEFILE=	GNUmakefile
MAKE_ARGS+=	CPPFLAGS="-D_NSIG=NSIG" \
		CFLAGS+="-I${LOCALBASE}/include -Iother -Wno-pointer-sign" \
		PREFIX="${STAGEDIR}${PREFIX}"

PLIST_FILES=	bin/reop \
		man/man1/reop.1.gz

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>