aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-gems
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-12 09:42:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-12 09:42:24 +0000
commit1f3dec8e390b9d0ceeeb7eed841b7303c7ae62e9 (patch)
tree18e7b718f5d21dbf5d971adae41d7371f9b360b0 /devel/ruby-gems
parent7d138add1b10acdbbbb097debfa8782ef0e03b63 (diff)
Notes
Diffstat (limited to 'devel/ruby-gems')
-rw-r--r--devel/ruby-gems/Makefile.common18
1 files changed, 14 insertions, 4 deletions
diff --git a/devel/ruby-gems/Makefile.common b/devel/ruby-gems/Makefile.common
index ad1e68cc4b7e..03398c150bac 100644
--- a/devel/ruby-gems/Makefile.common
+++ b/devel/ruby-gems/Makefile.common
@@ -20,15 +20,25 @@ GEMS_DIR= ${GEMS_BASE_DIR}/gems
DOC_DIR= ${GEMS_BASE_DIR}/doc
CACHE_DIR= ${GEMS_BASE_DIR}/cache
SPEC_DIR= ${GEMS_BASE_DIR}/specifications
+GEM_NAME= ${PORTNAME}-${PORTVERSION}
+GEM_LIB_DIR= ${GEMS_DIR}/${GEM_NAME}
+GEM_DOC_DIR= ${DOC_DIR}/${GEM_NAME}
+GEM_SPEC= ${SPEC_DIR}/${GEM_NAME}.gemspec
+GEM_CACHE= ${CACHE_DIR}/${GEM_NAME}.gem
PLIST_SUB+= PORTVERSION="${PORTVERSION}" \
REV="${REV}" \
GEMS_BASE_DIR="lib/ruby/gems/${REV}" \
- GEMS_DIR="${GEMS_BASE_DIR}/gems" \
- DOC_DIR="${GEMS_BASE_DIR}/doc" \
- CACHE_DIR="${GEMS_BASE_DIR}/cache" \
- SPEC_DIR="${GEMS_BASE_DIR}/specifications" \
+ GEMS_DIR="${GEMS_DIR}" \
+ DOC_DIR="${DOC_DIR}" \
+ CACHE_DIR="${CACHE_DIR}" \
+ SPEC_DIR="${SPEC_DIR}" \
PORT="${PORTNAME}-${PORTVERSION}" \
+ GEM_NAME="${GEM_NAME}" \
+ GEM_LIB_DIR="${GEM_LIB_DIR}" \
+ GEM_DOC_DIR="${GEM_DOC_DIR}" \
+ GEM_SPEC="${GEM_SPEC}" \
+ GEM_CACHE="${GEM_CACHE}" \
EXTRACT_SUFX="${EXTRACT_SUFX}"
RUBYGEMBIN= ${LOCALBASE}/bin/gem