1998-07-20 02:39:04 +00:00
|
|
|
# New ports collection makefile for: bjorb
|
1999-06-02 07:23:49 +00:00
|
|
|
# Version required: 0.5.5p1
|
1998-07-20 02:39:04 +00:00
|
|
|
# Date created: May 16, 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: issei@jp.FreeBSD.org
|
1998-08-30 15:35:08 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-07-20 02:39:04 +00:00
|
|
|
#
|
|
|
|
|
1999-03-26 08:51:52 +00:00
|
|
|
DISTNAME= bjorb-0.5.5p1
|
1998-07-20 02:39:04 +00:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= ftp://ftp.hitachi-ms.co.jp/pub/bjorb/
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= issei@jp.FreeBSD.org
|
1998-07-20 02:39:04 +00:00
|
|
|
|
1998-08-30 15:35:08 +00:00
|
|
|
.if defined(USA_RESIDENT) && ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} You must set variable USA_RESIDENT to YES, if you are USA resident
|
|
|
|
@${ECHO} or to NO, if you aren\'t USA resident to build this package.
|
|
|
|
@${ECHO} You must also have installed RSAREF if you are USA resident.
|
|
|
|
@${FALSE}
|
|
|
|
.elif defined(USA_RESIDENT)
|
|
|
|
.if ${USA_RESIDENT} == YES
|
1998-09-25 10:20:21 +00:00
|
|
|
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
1998-08-30 15:35:08 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
1999-03-26 08:51:52 +00:00
|
|
|
BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl
|
|
|
|
RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl
|
1998-07-20 02:39:04 +00:00
|
|
|
|
|
|
|
RESTRICTED= "Cryptography"
|
|
|
|
|
|
|
|
.if !defined(BATCH)
|
|
|
|
INSTALL_TARGET= install certificate
|
|
|
|
.endif
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
1999-06-02 07:23:49 +00:00
|
|
|
CFLAGS+= -I${PREFIX}/include/openssl
|
1998-08-30 15:35:08 +00:00
|
|
|
CONFIGURE_ARGS= --with-ssltop=${PREFIX}
|
1998-07-20 02:39:04 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
DOCSRC= ${WRKDIR}/${DISTNAME}
|
1998-08-30 15:35:08 +00:00
|
|
|
DOCS= ChangeLog \
|
|
|
|
COPYRIGHT \
|
|
|
|
INSTALL \
|
1998-07-20 02:39:04 +00:00
|
|
|
README \
|
1998-08-30 15:35:08 +00:00
|
|
|
ChangeLog.jp \
|
1998-07-20 02:39:04 +00:00
|
|
|
COPYRIGHT.jp \
|
|
|
|
INSTALL.jp \
|
|
|
|
README.jp \
|
|
|
|
doc/bjorb.conf.5.jp.txt \
|
|
|
|
doc/features.jp
|
1998-08-30 15:35:08 +00:00
|
|
|
EXAMPLES= doc/sample/bjorb.conf.doc
|
1998-07-20 02:39:04 +00:00
|
|
|
|
|
|
|
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.mk>
|