aboutsummaryrefslogtreecommitdiffstats
path: root/security/bjorb/Makefile
blob: 886502b123691ac8b0e5befc409623f652658e2a (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
# New ports collection makefile for:    bjorb
# Date created:     May 16, 1998
# Whom:         issei@jp.FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   bjorb
PORTVERSION=    0.5.5p1
CATEGORIES= security
MASTER_SITES=   ftp://ftp.hitachi-ms.co.jp/pub/bjorb/

MAINTAINER= ports@FreeBSD.org

USE_OPENSSL=    YES

.if !defined(BATCH)
INSTALL_TARGET=     install certificate
.endif

USE_AUTOCONF=   yes
CFLAGS+=    -I${OPENSSLINC}/openssl
CONFIGURE_ARGS= --with-ssltop=${OPENSSLBASE} --with-ssllib=${OPENSSLLIB}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
WRKSRC=     ${WRKDIR}/${DISTNAME}/src
DOCSRC=     ${WRKDIR}/${DISTNAME}
DOCS=       ChangeLog \
        COPYRIGHT \
        INSTALL \
        README \
        ChangeLog.jp \
        COPYRIGHT.jp \
        INSTALL.jp \
        README.jp \
        doc/bjorb.conf.5.jp.txt \
        doc/features.jp
EXAMPLES=   doc/sample/bjorb.conf.doc

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500035
BROKEN=     "Does not compile on 5.0"
.endif

post-install:
    @${INSTALL_SCRIPT} ${DOCSRC}/doc/sample/bjorb.sh ${PREFIX}/etc/rc.d/bjorb.sh.sample
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/bjorb
.for i in ${DOCS}
    @${INSTALL_DATA} ${DOCSRC}/$i ${PREFIX}/share/doc/bjorb
.endfor
    @${MKDIR} ${PREFIX}/share/examples/bjorb
.for i in ${EXAMPLES}
    @${INSTALL_DATA} ${DOCSRC}/$i ${PREFIX}/share/examples/bjorb
.endfor
.endif

.include <bsd.port.post.mk>