diff --git a/devel/Makefile b/devel/Makefile index 8e54eb3dc992..2c2b3d687df6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2444,6 +2444,7 @@ SUBDIR += rubygem-stream SUBDIR += rubygem-transactionsimple SUBDIR += rubygem-tzinfo + SUBDIR += rubygem-uuid SUBDIR += rubygem-warbler SUBDIR += rubygem-zentest SUBDIR += rudeconfig diff --git a/devel/rubygem-uuid/Makefile b/devel/rubygem-uuid/Makefile new file mode 100644 index 000000000000..271f36887207 --- /dev/null +++ b/devel/rubygem-uuid/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: rubygem-uuid +# Date created: 06 Nov 2008 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= uuid +PORTVERSION= 2.0.1 +CATEGORIES= devel rubygems +MASTER_SITES= RF/reliable-msg + +MAINTAINER= wenheping@gmail.com +COMMENT= UUID Generator for Ruby + +BUILD_DEPENDS= rubygem-macaddr>=1.0.0:${PORTSDIR}/net/rubygem-macaddr +RUN_DEPENDS= rubygem-macaddr>=1.0.0:${PORTSDIR}/net/rubygem-macaddr + +USE_RUBY= yes +USE_RUBYGEMS= yes + +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 diff --git a/devel/rubygem-uuid/distinfo b/devel/rubygem-uuid/distinfo new file mode 100644 index 000000000000..dc696a836641 --- /dev/null +++ b/devel/rubygem-uuid/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/uuid-2.0.1.gem) = 2dd466c8f378ec060f7dac2501651710 +SHA256 (rubygem/uuid-2.0.1.gem) = c2ccbc2e254abcbb90c04e322c90d4ed67a73dfe0bb69b411290fc4e8be2bcef +SIZE (rubygem/uuid-2.0.1.gem) = 10240 diff --git a/devel/rubygem-uuid/pkg-descr b/devel/rubygem-uuid/pkg-descr new file mode 100644 index 000000000000..e05c2f37366e --- /dev/null +++ b/devel/rubygem-uuid/pkg-descr @@ -0,0 +1,3 @@ +Rubygem-uuid is a UUID generator for Ruby. + +WWW: http://rubyforge.org/projects/reliable-msg/