aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-liquid/Makefile
blob: 4a56ed26abe5edc5a9f553613c423d50af3cdb37 (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
31
32
33
34
35
36
# New ports collection makefile for:    ruby-liquid
# Date created:     6 October 2008
# Whom:         stas
#
# $FreeBSD$
#

PORTNAME=   liquid
PORTVERSION=    2.0.0
CATEGORIES= textproc ruby
MASTER_SITES=   RF
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz
DIST_SUBDIR=    ruby

MAINTAINER= stas@FreeBSD.org
COMMENT=    A non evaling template engine for ruby

USE_RUBY=   yes
NO_BUILD=   yes

SADIR=      ${RUBY_SITELIBDIR}
DOCS=       CHANGELOG README.txt History.txt

do-install:
    ${MKDIR} ${SADIR}/liquid/tags ${SADIR}/liquid/extras
    ${INSTALL_DATA} ${WRKSRC}/lib/liquid.rb ${SADIR}/
    ${INSTALL_DATA} ${WRKSRC}/lib/liquid/*.rb ${SADIR}/liquid/
    ${INSTALL_DATA} ${WRKSRC}/lib/liquid/tags/*.rb ${SADIR}/liquid/tags/
    ${INSTALL_DATA} ${WRKSRC}/lib/extras/*.rb ${SADIR}/liquid/extras/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODDOCDIR}/
    ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>