aboutsummaryrefslogtreecommitdiffstats
path: root/russian/rubygem-rutils/Makefile
blob: 6b259a9aae2bb1e8da274d37e9480e6e94bad6a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Ports collection makefile for:    rubygem-rutils
# Date created:             04 January 2007
# Whom:                 Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$

PORTNAME=   rutils
PORTVERSION=    0.2.5
CATEGORIES= russian devel rubygems
MASTER_SITES=   RF

MAINTAINER= ports@logvinov.com
COMMENT=    Simple processing of russian strings

USE_RUBY=   yes
USE_RUBYGEMS=   yes

post-install:
    @${ECHO} bin/gilensize > ${TMPPLIST}
    @${ECHO} bin/rutilize >> ${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>