freebsd-ports/security/ruby-openssl/Makefile
2002-07-24 17:23:46 +00:00

38 lines
910 B
Makefile

# New ports collection makefile for: Ruby/OpenSSL
# Date created: 20 October 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= openssl
PORTVERSION= 0.1.2a
CATEGORIES= security ruby
MASTER_SITES= http://freesoftware.fsf.org/download/rubypki/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ossl-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_OPENSSL= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CONFIGURE_ARGS= --with-openssl-include="${OPENSSLBASE}/include/openssl" \
--with-openssl-lib="${OPENSSLBASE}/lib"
INSTALL_TARGET= site-install
DOCS= ChangeLog README
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/test/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>