Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 07:44:17 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332952 - head/shells/p5-Term-ShellUI
Message-ID:  <201311060744.rA67iHxi067294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Nov  6 07:44:16 2013
New Revision: 332952
URL: http://svnweb.freebsd.org/changeset/ports/332952

Log:
  Support STAGEDIR.

Modified:
  head/shells/p5-Term-ShellUI/Makefile
  head/shells/p5-Term-ShellUI/pkg-plist

Modified: head/shells/p5-Term-ShellUI/Makefile
==============================================================================
--- head/shells/p5-Term-ShellUI/Makefile	Wed Nov  6 07:42:18 2013	(r332951)
+++ head/shells/p5-Term-ShellUI/Makefile	Wed Nov  6 07:44:16 2013	(r332952)
@@ -12,21 +12,17 @@ MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Fully-featured shell-like command line environment
 
 BUILD_DEPENDS=	p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu
-RUN_DEPENDS=	p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		perl5
 USE_PERL5=	configure
 
-MAN3=		Term::ShellUI.3 \
-		Text::Shellwords::Cursor.3
-
-NO_STAGE=	yes
 post-install:
 .if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}/
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
 	cd ${WRKSRC}/examples/ && ${INSTALL_SCRIPT} \
-		fileman-example synopsis synopsis-big tui-sample ${EXAMPLESDIR}/
+		fileman-example synopsis synopsis-big tui-sample ${STAGEDIR}${EXAMPLESDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/shells/p5-Term-ShellUI/pkg-plist
==============================================================================
--- head/shells/p5-Term-ShellUI/pkg-plist	Wed Nov  6 07:42:18 2013	(r332951)
+++ head/shells/p5-Term-ShellUI/pkg-plist	Wed Nov  6 07:44:16 2013	(r332952)
@@ -1,3 +1,5 @@
+%%PERL5_MAN3%%/Term::ShellUI.3.gz
+%%PERL5_MAN3%%/Text::Shellwords::Cursor.3.gz
 %%SITE_PERL%%/Term/ShellUI.pm
 %%SITE_PERL%%/Text/Shellwords/Cursor.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ShellUI/.packlist
@@ -5,8 +7,8 @@
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis-big
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tui-sample
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ShellUI
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ShellUI
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term
 @dirrmtry %%SITE_PERL%%/Text/Shellwords
 @dirrmtry %%SITE_PERL%%/Text



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