2e3253dd21
PR: 133224 Submitted by: Robert Gogolok <gogo@cs.uni-sb.de> (maintainer)
28 lines
1,020 B
Makefile
28 lines
1,020 B
Makefile
# Ports collection makefile for: rubygem-ruby-prof
|
|
# Date created: 27 July 2007
|
|
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ruby-prof
|
|
PORTVERSION= 0.7.3
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= gogo@cs.uni-sb.de
|
|
COMMENT= A fast profiler for Ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
post-install:
|
|
@${ECHO} bin/ruby-prof > ${TMPPLIST}
|
|
@${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>
|