blob: 0f0fc5a327c47f257d15f72fab161bd830fa1f23 (
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
|
# Created by: 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
NO_STAGE= yes
.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>
|