forked from Lainports/freebsd-ports
table support and other layout. WWW: http://rubyforge.org/projects/prawn/ PR: ports/130813 Submitted by: wenheping at gmail.com
27 lines
984 B
Makefile
27 lines
984 B
Makefile
# Ports collection makefile for: rubygem-prawn-layout
|
|
# Date created: 21 Jan 2009
|
|
# Whom: wenheping@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= prawn-layout
|
|
PORTVERSION= 0.1.0
|
|
CATEGORIES= print rubygems
|
|
MASTER_SITES= RF/prawn
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= An Prawn Extension to Provides Table Support and Other 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>
|