00031d4dc5
common subsequence (LCS) algorithm to compute intelligent differences between two sequenced enumerable containers. WWW: http://rubyforge.org/projects/ruwiki/ PR: ports/128591 Submitted by: Daniel Roethlisberger <daniel at roe.ch>
28 lines
1,013 B
Makefile
28 lines
1,013 B
Makefile
# Ports collection makefile for: rubygem-diff-lcs
|
|
# Date created: 2008-11-05
|
|
# Whom: Daniel Roethlisberger <daniel@roe.ch>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= diff-lcs
|
|
PORTVERSION= 1.1.2
|
|
CATEGORIES= textproc rubygems
|
|
MASTER_SITES= RF/ruwiki
|
|
|
|
MAINTAINER= daniel@roe.ch
|
|
COMMENT= LCS-based diff library for ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
|
|
post-install:
|
|
@${ECHO} bin/ldiff >> ${TMPPLIST}
|
|
@${ECHO} bin/htmldiff >> ${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>
|