d7b67cb509
WWW: http://rubyforge.org/projects/rbase/ PR: ports/127735 Submitted by: Alexander Logvinov <ports at logvinov.com>
26 lines
971 B
Makefile
26 lines
971 B
Makefile
# Ports collection makefile for: rubygem-rbase
|
|
# Date created: 15 September 2008
|
|
# Whom: Alexander Logvinov <ports@logvinov.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rbase
|
|
PORTVERSION= 0.1.2
|
|
CATEGORIES= databases rubygems
|
|
MASTER_SITES= RF
|
|
|
|
MAINTAINER= ports@logvinov.com
|
|
COMMENT= Library to create/read/write to XBase databases (*.DBF files)
|
|
|
|
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>
|