diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:04:31 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 23:04:31 +0000 |
commit | 6c249d26a1e7a358fff2e8d6f8cd1e918d2ca654 (patch) | |
tree | e12b44e8df3aba3c46fc08ca19f3f6b1ae490dd0 /net/rubygem-macaddr | |
parent | b527b770102ec11c6d560c2ce44d7b40166379b9 (diff) | |
download | ports-6c249d26a1e7a358fff2e8d6f8cd1e918d2ca654.tar.gz ports-6c249d26a1e7a358fff2e8d6f8cd1e918d2ca654.zip |
Notes
Diffstat (limited to 'net/rubygem-macaddr')
-rw-r--r-- | net/rubygem-macaddr/Makefile | 27 | ||||
-rw-r--r-- | net/rubygem-macaddr/distinfo | 3 | ||||
-rw-r--r-- | net/rubygem-macaddr/pkg-descr | 4 |
3 files changed, 34 insertions, 0 deletions
diff --git a/net/rubygem-macaddr/Makefile b/net/rubygem-macaddr/Makefile new file mode 100644 index 000000000000..f9e3bd757d88 --- /dev/null +++ b/net/rubygem-macaddr/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: rubygem-macaddr +# Date created: 05 Nov 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= macaddr +PORTVERSION= 1.0.0 +CATEGORIES= net rubygems +MASTER_SITES= RF/codeforpeople + +MAINTAINER= wenheping@gmail.com +COMMENT= Cross Platform Mac Address Determination for Ruby + +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 <bsd.port.mk> diff --git a/net/rubygem-macaddr/distinfo b/net/rubygem-macaddr/distinfo new file mode 100644 index 000000000000..d489798108bb --- /dev/null +++ b/net/rubygem-macaddr/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/macaddr-1.0.0.gem) = 29aec4bb915f39c99204c467fde37ee9 +SHA256 (rubygem/macaddr-1.0.0.gem) = c3c9dac7852ed1a5997a7a37f225d675318cc1c828d53dfb2bddbd522b09affd +SIZE (rubygem/macaddr-1.0.0.gem) = 6144 diff --git a/net/rubygem-macaddr/pkg-descr b/net/rubygem-macaddr/pkg-descr new file mode 100644 index 000000000000..95063de371ac --- /dev/null +++ b/net/rubygem-macaddr/pkg-descr @@ -0,0 +1,4 @@ +Rubygem-macaddr is a cross platform mac address determination +for ruby. + +WWW: http://codeforpeople.com/lib/ruby |