aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rubygem-lockfile/Makefile
blob: 6d1a1930ba9dc44bf95818368c0bea18edd3e9e7 (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
29
30
# New ports collection makefile for:    rubygem-lockfile
# Date created:     2009-01-25
# Whom:         Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#

PORTNAME=   lockfile
PORTVERSION=    1.4.3
CATEGORIES= devel rubygems
MASTER_SITES=   RF/codeforpeople

MAINTAINER= dhn@FreeBSD.org
COMMENT=    A ruby library for creating NFS safe lockfiles

USE_RUBY=   yes
USE_RUBYGEMS=   yes
USE_RAKE=   yes

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