freebsd-ports/devel/rubygem-metaid/Makefile
Martin Wilke 1b017b8629 MetAid adds a few innocent methods to Object and Module to make
metaprogramming easier. For the lore of metaprogramming see Seeing
Metaclasses Clearly and Chapter Six of Why's (Poignant) Guide to Ruby.

WWW:	http://rubyforge.org/projects/metaid/
2008-12-28 16:04:54 +00:00

28 lines
935 B
Makefile

# New ports collection makefile for: rubygem-metaid
# Date created: 28, Dec 2008
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= metaid
PORTVERSION= 1.0
CATEGORIES= devel rubygems
MASTER_SITES= RF
MAINTAINER= miwi@FreeBSD.org
COMMENT= Ruby metaprogramming helpers
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_RAKE= 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>