1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/textproc/rubygem-markaby/Makefile
Martin Wilke a508c630d7 Markaby is a templating language for Ruby, with a plugin for Rails,
which allows you to write HTML templates in pure-Ruby (a la Builder.)

WWW:	http://markaby.rubyforge.org/
2008-12-28 16:08:38 +00:00

32 lines
1.0 KiB
Makefile

# New ports collection makefile for: rubygem-markaby
# Date created: 28, Dec 2008
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= markaby
PORTVERSION= 0.5
CATEGORIES= textproc rubygems
MASTER_SITES= RF
MAINTAINER= miwi@FreeBSD.org
COMMENT= HTML Markup as Ruby
BUILD_DEPENDS= rubygem-builder>0:${PORTSDIR}/devel/rubygem-builder
RUN_DEPENDS= rubygem-builder>0:${PORTSDIR}/devel/rubygem-builder
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>