freebsd-ports/databases/rubygem-activerecord-jdbc-adapter/Makefile
Martin Wilke 58927a3d3f - Update to 0.9
PR:		129357
Submitted by:	Alexander Logvinov <ports@logvinov.com> (maintainer)
2008-12-06 14:22:51 +00:00

29 lines
1.1 KiB
Makefile

# Ports collection makefile for: rubygem-activerecord-jdbc-adapter
# Date created: 22 July 2008
# Whom: Alexander Logvinov <ports@logvinov,com>
#
# $FreeBSD$
PORTNAME= activerecord-jdbc-adapter
PORTVERSION= 0.9
CATEGORIES= databases rubygems java
MASTER_SITES= RF
MASTER_SITE_SUBDIR= jruby-extras
MAINTAINER= ports@logvinov.com
COMMENT= JDBC adapter for ActiveRecord, for use within JRuby on Rails
RUN_DEPENDS= jruby:${PORTSDIR}/lang/jruby
USE_RUBY= yes
USE_RUBYGEMS= 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>