freebsd-ports/devel/rubygem-trollop/Makefile
Martin Wilke 70e73aa960 Trollop is a commandline option parser for Ruby that gets out of your way.
One line of code per option is all you need to write. For that, you get a
nice automatically-generated help page (fit to your screen size!), robust
option parsing, command subcompletion, and sensible defaults for everything
you don't specify.

WWW:	http://trollop.rubyforge.org/

PR:		ports/130240
Submitted by:	Dennis Herrmann <adox at mcx2.org>
2009-01-08 17:52:53 +00:00

28 lines
984 B
Makefile

# New ports collection makefile for: rubygem-trollop
# Date created: 06/01/2009
# Whom: Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#
PORTNAME= trollop
PORTVERSION= 1.10.2
CATEGORIES= devel rubygems
MASTER_SITES= RF/trollop
MAINTAINER= adox@mcx2.org
COMMENT= A commandline option parser for Ruby that gets out of your way
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>