Lines 5-11
Link Here
|
5 |
# $FreeBSD: ports/security/dazuko/Makefile,v 1.3 2005/09/10 18:37:39 pav Exp $ |
5 |
# $FreeBSD: ports/security/dazuko/Makefile,v 1.3 2005/09/10 18:37:39 pav Exp $ |
6 |
|
6 |
|
7 |
PORTNAME= dazuko |
7 |
PORTNAME= dazuko |
8 |
PORTVERSION= 2.1.0 |
8 |
PORTVERSION= 2.2.0 |
9 |
CATEGORIES= security |
9 |
CATEGORIES= security |
10 |
MASTER_SITES= http://dazuko.org/files/ |
10 |
MASTER_SITES= http://dazuko.org/files/ |
11 |
|
11 |
|
Lines 13-30
Link Here
|
13 |
COMMENT= A common interface for 3rd party file access control |
13 |
COMMENT= A common interface for 3rd party file access control |
14 |
|
14 |
|
15 |
HAS_CONFIGURE= yes |
15 |
HAS_CONFIGURE= yes |
|
|
16 |
SUB_FILES= pkg-message |
17 |
|
18 |
OPTIONS= EXAMPLEC "Install example programs written in C" off |
16 |
|
19 |
|
17 |
.include <bsd.port.pre.mk> |
20 |
.include <bsd.port.pre.mk> |
18 |
|
21 |
|
19 |
.if ${OSVERSION} >= 600000 |
22 |
.if defined(WITH_EXAMPLEC) |
20 |
IGNORE= "Only supports FreeBSD 4.X and 5.X" |
23 |
EXAMPLEC_FLAG= true |
|
|
24 |
PLIST_FILES= share/examples/${PORTNAME}/example share/examples/${PORTNAME}/example_mt |
25 |
PLIST_DIRS= share/examples/${PORTNAME} |
21 |
.endif |
26 |
.endif |
22 |
|
27 |
|
|
|
28 |
post-configure: |
29 |
${REINPLACE_CMD} -e 's|^NOMAN|NO_MAN|g' ${WRKSRC}/library/Makefile |
30 |
|
23 |
do-install: |
31 |
do-install: |
24 |
${MKDIR} ${PREFIX}/modules/ |
32 |
.if defined(EXAMPLEC_FLAG) |
25 |
${INSTALL_DATA} ${WRKSRC}/dazuko.ko ${PREFIX}/modules/dazuko.ko |
33 |
@cd ${WRKSRC}/example_c && \ |
|
|
34 |
${MAKE} |
35 |
@${MKDIR} ${EXAMPLESDIR} |
36 |
@${INSTALL_DATA} ${WRKSRC}/example_c/example ${WRKSRC}/example_c/example_mt ${EXAMPLESDIR} |
37 |
.endif |
38 |
|
39 |
@${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -DMODULES_WITH_WORLD install |
26 |
|
40 |
|
27 |
post-install: |
41 |
post-install: |
28 |
${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL |
42 |
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
|
|
43 |
@${CAT} ${PKGMESSAGE} |
29 |
|
44 |
|
30 |
.include <bsd.port.post.mk> |
45 |
.include <bsd.port.post.mk> |