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/
29 lines
965 B
Makefile
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>
|