eaa5761898
- Pass maintainership to submitter PR: 129412 Submitted by: Wen Heping <wenheping@gmail.com>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
# New ports collection makefile for: ruby-hmac
|
|
# Date created: 20 February 2002
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hmac
|
|
PORTVERSION= 0.3.2
|
|
CATEGORIES= security ruby
|
|
MASTER_SITES= RF/ruby-hmac
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= A Ruby library which implements the HMAC algorithm
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
GEM_NAME= ${DISTNAME}
|
|
|
|
post-install:
|
|
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
|
|
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|