blob: 02610cd24047f65c7a4be11293859f243e0f4dbd (
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
37
|
# ex:ts=8 -*-mode: makefile-*-
#
# New ports collection makefile for: ruby-jttui
# Date created: 2003-02-12
# Whom: Alan Eldridge <alane@geeksrus.net>
#
# $FreeBSD$
#
PORTNAME= jttui
PORTVERSION= 200205082055
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= devel ruby
MASTER_SITES= http://klokan.sh.cvut.cz/~jtra/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= jttui.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Textmode User Interface by Jakub Travnik
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DESTDIR}${RUBY_MODDOCDIR}
cd ${WRKSRC}/doc; \
${FIND} . | cpio -pdmv ${DESTDIR}${RUBY_MODDOCDIR}
${CHMOD} -R ugo+rX,ugo-w ${DESTDIR}${RUBY_MODDOCDIR}
${MKDIR} ${DESTDIR}${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${RUBY_MODEXAMPLESDIR}
${CHMOD} ugo+x ${DESTDIR}${RUBY_MODEXAMPLESDIR}/example-*.rb
.endif # !defined(NOPORTDOCS)
.include <bsd.port.post.mk>
|