summaryrefslogtreecommitdiffstats
path: root/security/dazuko/Makefile
blob: 5b6178d2891e86587bb77028d2c4c0d6e6991cb8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	dazuko
# Date created:				01 March 2004
# Whom:					Rob Evers <rob@debank.tv>
#
# $FreeBSD$

PORTNAME=	dazuko
PORTVERSION=	2.3.2
CATEGORIES=	security
MASTER_SITES=	http://dazuko.org/files/

MAINTAINER=	acm@FreeBSD.org
COMMENT=	A common interface for 3rd party file access control

HAS_CONFIGURE=	yes
SUB_FILES=	pkg-message

OPTIONS=	EXAMPLEC	"Install C example programs"	on

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700000
BROKEN=		Currently does not support -CURRENT
.endif

.if defined(WITH_EXAMPLEC)
PLIST_FILES=	%%EXAMPLESDIR%%/example %%EXAMPLESDIR%%/example_mt
PLIST_DIRS=	%%EXAMPLESDIR%%
.endif

post-configure:
	${REINPLACE_CMD} -e 's|^NOMAN|NO_MAN|g' ${WRKSRC}/library/Makefile

do-install:
.if defined(WITH_EXAMPLEC)
	@cd ${WRKSRC}/example_c && \
		${MAKE}
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/example_c/example ${WRKSRC}/example_c/example_mt ${EXAMPLESDIR}
.endif

	@${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -DMODULES_WITH_WORLD install

post-install:
	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud