# New ports collection makefile for: Ruby/OpenSSL # Date created: 20 October 2001 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= openssl PORTVERSION= 0.2.0.p2 CATEGORIES= security ruby MASTER_SITES= http://savannah.nongnu.org/download/rubypki/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ossl-${PORTVERSION:S/.p/-pre/} EXTRACT_SUFX= .tgz DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= A Ruby module which wraps OpenSSL USE_OPENSSL= yes USE_RUBY= yes USE_RUBY_EXTCONF= yes CONFIGURE_ARGS= --with-openssl-include="${OPENSSLBASE}/include" \ --with-openssl-lib="${OPENSSLBASE}/lib" INSTALL_TARGET= site-install DOCS= ChangeLog LEGAL README ToDo post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODEXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif .include