Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2014 19:08:53 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347137 - head/sysutils/philesight
Message-ID:  <201403051908.s25J8rG4053637@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Mar  5 19:08:53 2014
New Revision: 347137
URL: http://svnweb.freebsd.org/changeset/ports/347137
QAT: https://qat.redports.org/buildarchive/r347137/

Log:
  - Stage support
  - Depend on rubygem-cairo instead of deprecated ruby-cairo
  Note: i'm not sure this port works correctly, the generated png seems to
  always contain: "path '' not found in database"

Modified:
  head/sysutils/philesight/Makefile

Modified: head/sysutils/philesight/Makefile
==============================================================================
--- head/sysutils/philesight/Makefile	Wed Mar  5 19:04:06 2014	(r347136)
+++ head/sysutils/philesight/Makefile	Wed Mar  5 19:08:53 2014	(r347137)
@@ -3,7 +3,7 @@
 
 PORTNAME=	philesight
 PORTVERSION=	20090105
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 MASTER_SITES=	http://zevv.nl/play/code/philesight/
 EXTRACT_SUFX=	.tgz
@@ -11,7 +11,7 @@ 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 \
+RUN_DEPENDS=	rubygem-cairo>=0:${PORTSDIR}/graphics/rubygem-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
@@ -21,25 +21,17 @@ 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>
+OPTIONS_DEFINE=	EXAMPLES
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-ruby19
 
 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
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${RUBY_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403051908.s25J8rG4053637>