mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
32 lines
1.0 KiB
Makefile
32 lines
1.0 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: rubygem-twitter4r
|
|
# Date created: Jul 9, 2007
|
|
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= twitter4r
|
|
PORTVERSION= 0.3.0
|
|
CATEGORIES= net rubygems
|
|
MASTER_SITES= RF
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= Twitter client API in pure Ruby
|
|
|
|
BUILD_DEPENDS= rubygem-json>=0.4.3:${PORTSDIR}/devel/rubygem-json
|
|
RUN_DEPENDS= rubygem-json>=0.4.3:${PORTSDIR}/devel/rubygem-json
|
|
|
|
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>
|