Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 13:24:53 +0000 (UTC)
From:      MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357987 - in head/misc/lv: . files
Message-ID:  <201406161324.s5GDOreF005578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sanpei
Date: Mon Jun 16 13:24:53 2014
New Revision: 357987
URL: http://svnweb.freebsd.org/changeset/ports/357987
QAT: https://qat.redports.org/buildarchive/r357987/

Log:
  stage support

Modified:
  head/misc/lv/Makefile
  head/misc/lv/files/patch-src_Makefile.in
  head/misc/lv/pkg-plist

Modified: head/misc/lv/Makefile
==============================================================================
--- head/misc/lv/Makefile	Mon Jun 16 13:12:21 2014	(r357986)
+++ head/misc/lv/Makefile	Mon Jun 16 13:24:53 2014	(r357987)
@@ -17,19 +17,16 @@ LICENSE_FILE=	${WRKSRC}/../GPL.txt
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 GNU_CONFIGURE=	yes
 
-MAN1=		lv.1
-
 OPTIONS_DEFINE=	DOCS
 OPTIONS_DEFAULT=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKDIR}/${DISTNAME}; \
-	${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})
+	${INSTALL_DATA} *.html hello.sample* ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/misc/lv/files/patch-src_Makefile.in
==============================================================================
--- head/misc/lv/files/patch-src_Makefile.in	Mon Jun 16 13:12:21 2014	(r357986)
+++ head/misc/lv/files/patch-src_Makefile.in	Mon Jun 16 13:24:53 2014	(r357987)
@@ -1,5 +1,19 @@
 --- Makefile.in.orig	2004-01-06 16:22:17.000000000 +0900
-+++ Makefile.in	2007-06-28 13:24:06.000000000 +0900
++++ Makefile.in	2014-06-16 21:40:34.440747700 +0900
+@@ -9,11 +9,11 @@
+ srcdir=	@srcdir@
+ VPATH=	@srcdir@
+ 
+-prefix=	@prefix@
++prefix=	${DESTDIR}/@prefix@
+ exec_prefix=	@exec_prefix@
+ bindir=	@bindir@
+ libdir=	@libdir@
+-mandir=	@mandir@
++mandir=	${DESTDIR}/@mandir@
+ 
+ lvlibdir=	$(libdir)/lv
+ distdir = lv$(VERSION)
 @@ -41,7 +41,7 @@
  all:	lv
  

Modified: head/misc/lv/pkg-plist
==============================================================================
--- head/misc/lv/pkg-plist	Mon Jun 16 13:12:21 2014	(r357986)
+++ head/misc/lv/pkg-plist	Mon Jun 16 13:24:53 2014	(r357987)
@@ -1,9 +1,10 @@
 bin/lv
 bin/lgrep
 lib/lv/lv.hlp
+man/man1/lv.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/hello.sample
 %%PORTDOCS%%%%DOCSDIR%%/hello.sample.gif
 %%PORTDOCS%%%%DOCSDIR%%/index.html
 %%PORTDOCS%%%%DOCSDIR%%/relnote.html
-@dirrm lib/lv
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry lib/lv
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%



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