blob: a8add5f54d5c48407a760497e8f522264c1c2f04 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# New ports collection makefile for: gwenhywfar
# Date created: 2005-05-05
# Whom: Peter Cornelius <pcc.at.gmx.net>
#
# $FreeBSD$
#
PORTNAME= gwenhywfar
PORTVERSION= 2.6.2
PORTREVISION= 2
CATEGORIES= devel net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-platform helper library for networking and security applications
OPTIONS= MEMDEBUG "Enable memory debugger statistic" off \
PORTDOCS "Install documentation (requires doxygen)" off
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GETTEXT= yes
USE_OPENSSL= yes
USE_LDCONFIG= ${PREFIX}/lib \
${PREFIX}/lib/gwenhywfar/plugins/38/crypttoken \
${PREFIX}/lib/gwenhywfar/plugins/38/dbio \
${PREFIX}/lib/gwenhywfar/plugins/38/storage
.if !defined(NOPORTEXAMPLES)
# Examples to be installed from ${WRKSRC}/doc
PORTEXAMPLES= STYLE \
apidoc.h \
db2.png \
plugindescr.xml \
plugindescr.xsd \
plugindescr.xsd.in \
testdialog.xml
.endif
.include <bsd.port.pre.mk>
# Enable printing of memory debugger statistic at runtime.
.if defined(WITH_MEMDEBUG)
CONFIGURE_ARGS+= --enable-memtrace
.endif
.if defined(WITH_PORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
CONFIGURE_ARGS+= --enable-full-doc
PORTDOCS= *
.endif
post-build:
.if !defined(NOPORTDOCS) && defined(WITH_PORTDOCS)
@cd ${WRKSRC} && ${MAKE} srcdoc
.endif
post-install:
.if !defined(NOPORTDOCS) && defined(WITH_PORTDOCS)
@${ECHO_CMD} Installing documentation...
${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${FIND} apidoc -mindepth 1 \! -type d \
-exec ${ECHO_CMD} "{} -> ${DOCSDIR}/{}" \; \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DOCSDIR} \;
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_CMD} Installing examples...
${MKDIR} ${EXAMPLESDIR}
.for file in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|