1998-07-20 02:39:04 +00:00
|
|
|
# New ports collection makefile for: bjorb
|
1998-08-30 15:35:08 +00:00
|
|
|
# Version required: 0.5.4p4
|
1998-07-20 02:39:04 +00:00
|
|
|
# Date created: May 16, 1998
|
1998-08-30 15:35:08 +00:00
|
|
|
# Whom: issei@jp.FreeBSD.ORG
|
|
|
|
#
|
1999-03-26 08:51:52 +00:00
|
|
|
# $Id: Makefile,v 1.4 1999/01/10 14:11:17 dirk Exp $
|
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/
|
|
|
|
|
1998-08-30 15:35:08 +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
|
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>
|