blob: 4f8b9c5e564a380e8560a41b3dc50993c1daa585 (
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
|
# Ports collection makefile for: rubygem-prawn
# Date created: 29 Oct 2008
# Whom: wenheping@gmail.com
#
# $FreeBSD$
PORTNAME= prawn
PORTVERSION= 0.4.0
CATEGORIES= print rubygems
MASTER_SITES= RF/prawn
MAINTAINER= wenheping@gmail.com
COMMENT= Fast pure Ruby PDF generator
BUILD_DEPENDS= rubygem-prawn-layout>=0.1.0:${PORTSDIR}/print/rubygem-prawn-layout
RUN_DEPENDS= rubygem-prawn-layout>=0.1.0:${PORTSDIR}/print/rubygem-prawn-layout
USE_RUBY= yes
USE_RUBYGEMS= yes
GEM_NAME= ${DISTNAME}
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>
|