3f46e719ee
PR: ports/128817 Reported by: Chris Calvey <chris@intelforensics.co.uk> Submitted by: Alexander Logvinov <ports@logvinov.com> (maintainer)
30 lines
1 KiB
Makefile
30 lines
1 KiB
Makefile
# New ports collection makefile for: rubygem-ruby-ole
|
|
# Date created: 30 October 2008
|
|
# Whom: Alexander Logvinov <ports@logvinov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ruby-ole
|
|
PORTVERSION= 1.2.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RF
|
|
|
|
MAINTAINER= ports@logvinov.com
|
|
COMMENT= A library for easy read/write access to OLE compound documents
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_FEATURES= iconv
|
|
USE_RUBYGEMS= yes
|
|
|
|
post-install:
|
|
@${ECHO} bin/oletool > ${TMPPLIST}
|
|
@${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>
|