Update default GEM_NAME

Change default GEM_NAME from ${PORTNAME}-${PORTVERSION} to ${DISTNAME} to avoid
unnecessary GEM_NAME setting in ports Makefile

Differential Revision:	https://reviews.FreeBSD.org/D9250
PR:		216267
Exp-run by:	antoine
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-21 17:29:23 +00:00
parent 6a9bf9dff6
commit 3dea99e482
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432064
16 changed files with 3 additions and 27 deletions

View File

@ -36,7 +36,7 @@ DOC_DIR= ${GEMS_BASE_DIR}/doc
CACHE_DIR= ${GEMS_BASE_DIR}/cache
SPEC_DIR= ${GEMS_BASE_DIR}/specifications
EXT_DIR= ${GEMS_BASE_DIR}/extensions
GEM_NAME?= ${PORTNAME}-${PORTVERSION}
GEM_NAME?= ${DISTNAME}
GEM_LIB_DIR?= ${GEMS_DIR}/${GEM_NAME}
GEM_DOC_DIR?= ${DOC_DIR}/${GEM_NAME}
GEM_SPEC?= ${SPEC_DIR}/${GEM_NAME}.gemspec

View File

@ -15,7 +15,6 @@ LICENSE= ISCL
LIB_DEPENDS= libbsdconv.so:converters/bsdconv
CONFIGURE_ARGS= --with-bsdconv-dir=${LOCALBASE}
GEM_NAME= ${DISTNAME}
USE_RUBY= yes
USES= gem

View File

@ -12,9 +12,7 @@ COMMENT= Encode/decode Adobe's binary-to-text encoding of the same name
LICENSE= MIT
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -25,7 +25,7 @@ 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:C/(\.[0-9]+)$//}
GEM_NAME= ${DISTNAME:R}
GEM_LIB_DIR= ${GEMS_DIR}/${GEM_NAME}
GEM_DOC_DIR= ${DOC_DIR}/${GEM_NAME}
GEM_SPEC= ${SPEC_DIR}/${GEM_NAME}.gemspec

View File

@ -10,10 +10,7 @@ DISTNAME= Platform-${PORTVERSION}
MAINTAINER= don@na.rim.or.jp
COMMENT= Hopefully robust platform sensing
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -5,7 +5,7 @@ PORTNAME= popen4
PORTVERSION= 0.1.4
CATEGORIES= devel rubygems
MASTER_SITES= RG
DISTNAME= ${GEM_NAME}
DISTNAME= POpen4-${PORTVERSION}
MAINTAINER= ruby@FreeBSD.org
COMMENT= Cross platform API for managing child processes
@ -17,9 +17,7 @@ RUN_DEPENDS= rubygem-open4>=0.4.0:devel/rubygem-open4 \
rubygem-platform>=0.4.0:devel/rubygem-platform
NO_ARCH= yes
USE_RUBY= yes
USES= gem
GEM_NAME= POpen4-${PORTVERSION}
.include <bsd.port.mk>

View File

@ -14,10 +14,7 @@ RUN_DEPENDS= rubygem-rubyinlineaccel>=0.0.1:devel/rubygem-rubyinlineaccel
LICENSE= GPLv2
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -15,7 +15,6 @@ LICENSE= MIT
RUN_DEPENDS= rubygem-zentest>=4.3:devel/rubygem-zentest
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem shebangfix

View File

@ -15,10 +15,7 @@ RUN_DEPENDS= rubygem-rubyinline>=3.6.3:devel/rubygem-rubyinline
LICENSE= GPLv2
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -13,7 +13,6 @@ COMMENT= Ruby Unit Testing Utility
LICENSE= MIT
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -13,7 +13,6 @@ COMMENT= Ruby library which implements the HMAC algorithm
USE_RUBY= yes
USES= gem
GEM_NAME= ${DISTNAME}
DEPRECATED= Use www/rubygem-ruby-hmac instead
EXPIRATION_DATE= 2017-01-28

View File

@ -18,7 +18,6 @@ RUN_DEPENDS= rubygem-json>=1.1.9:devel/rubygem-json \
NO_ARCH= yes
USE_RUBY= yes
GEM_NAME= ${PORTNAME}-${DISTVERSION}
USES= gem
.include <bsd.port.mk>

View File

@ -11,9 +11,7 @@ DISTNAME= scriptNugget-ruby-${PORTVERSION}
MAINTAINER= tj@FreeBSD.org
COMMENT= Framework for an intelligence driven security - Script Nugget Ruby
GEM_NAME= ${DISTNAME}
NO_ARCH= yes
USE_RUBY= yes
USES= gem shebangfix
SHEBANG_FILES= lib/razorback.rb

View File

@ -14,7 +14,6 @@ LICENSE= APACHE20
RUN_DEPENDS= rubygem-ffi>=0:devel/rubygem-ffi
GEM_NAME= ${PORTNAME}-${DISTVERSIONFULL}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -11,9 +11,7 @@ COMMENT= Simple, easy to extend drop in replacement for pygments
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
GEM_NAME= ${PORTNAME}-${DISTVERSION}
NO_ARCH= yes
USE_RUBY= yes
USES= gem

View File

@ -12,7 +12,6 @@ COMMENT= Module for using Textile in Ruby
LICENSE= MIT
GEM_NAME= ${DISTNAME}
USE_RUBY= yes
USES= gem