blob: 074391ac79d437ed7bcb5ab20d32b612d669046a (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: philesight
# Date created: 2009-02-11
# Whom: stas
#
# $FreeBSD$
#
PORTNAME= philesight
PORTVERSION= 20090105
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://zevv.nl/play/code/philesight/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Shows a graphics representation of the filesystem usage
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/cairo.so:${PORTSDIR}/graphics/ruby-cairo \
${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb \
${RUBY_SITELIBDIR}/locale.rb:${PORTSDIR}/devel/ruby-locale2 \
${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
USE_RUBY= yes
NO_BUILD= yes
RUBY_SHEBANG_FILES= ${PORTNAME} ${PORTNAME}.rb ${PORTNAME}.cgi
PLIST_FILES= bin/${PORTNAME} ${RUBY_SITELIBDIR:C,^${PREFIX}/?,,}/${PORTNAME}.rb
.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES= ${PORTNAME}.cgi
.endif
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ruby19
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
. for FILE in ${PORTEXAMPLES}
${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${EXAMPLESDIR}/
. endfor
.endif
.include <bsd.port.post.mk>
|