fattr.rb supercedes attributes.rb as that library, even though it added only one method to the global namespace, collided too frequently with user code in particular rails' code. WWW: http://codeforpeople.com/lib/ruby/fattr/ PR: ports/128662 Submitted by: Wen Heping <wenheping at gmail.com>
27 lines
933 B
Makefile
27 lines
933 B
Makefile
# New ports collection makefile for: rubygem-fattr
|
|
# Date created: 07, Nov 2008
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fattr
|
|
PORTVERSION= 1.0.3
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RF/codeforpeople
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= A Fatter Attr 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>
|