Martin Wilke 8dfd861090 The validatable library can be included with any Ruby class and provide
validations similar to ActiveRecord's. The library follows ActiveRecord's
lead for features that are similar and introduces new features.

WWW:	http://validatable.rubyforge.org/
2008-12-28 16:03:11 +00:00

29 lines
965 B
Makefile

# New ports collection makefile for: rubygem-validatable
# Date created: 28, Dec 2008
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= validatable
PORTVERSION= 1.6.7
CATEGORIES= devel rubygems
MASTER_SITES= RF
MAINTAINER= miwi@FreeBSD.org
COMMENT= Library for adding database/object validations
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>