Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 20:50:39 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332002 - head/misc/ytree
Message-ID:  <201310292050.r9TKodIf029234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Oct 29 20:50:39 2013
New Revision: 332002
URL: http://svnweb.freebsd.org/changeset/ports/332002

Log:
  Add staging support.

Modified:
  head/misc/ytree/Makefile
  head/misc/ytree/pkg-plist   (contents, props changed)

Modified: head/misc/ytree/Makefile
==============================================================================
--- head/misc/ytree/Makefile	Tue Oct 29 20:49:22 2013	(r332001)
+++ head/misc/ytree/Makefile	Tue Oct 29 20:50:39 2013	(r332002)
@@ -10,21 +10,14 @@ MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	DOS-XTREE(tm) look-a-like file manager
 
 ALL_TARGET=	ytree
-MAN1=		ytree.1
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ytree ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/ytree.conf ${PREFIX}/etc/ytree.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/ytree.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/ytree
+	${INSTALL_PROGRAM} ${WRKSRC}/ytree ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/ytree.conf ${STAGEDIR}${PREFIX}/etc/ytree.conf.sample
+	${INSTALL_MAN} ${WRKSRC}/ytree.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ytree
 .for file in CHANGES README THANKS
-	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ytree
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/doc/ytree
 .endfor
-	@if [ ! -f ${PREFIX}/etc/ytree.conf ]; then \
-		${CP} -p ${PREFIX}/etc/ytree.conf.sample ${PREFIX}/etc/ytree.conf; \
-	fi
-.endif
 
 .include <bsd.port.mk>

Modified: head/misc/ytree/pkg-plist
==============================================================================
--- head/misc/ytree/pkg-plist	Tue Oct 29 20:49:22 2013	(r332001)
+++ head/misc/ytree/pkg-plist	Tue Oct 29 20:50:39 2013	(r332002)
@@ -2,6 +2,7 @@ bin/ytree
 @unexec if cmp -s %D/etc/ytree.conf.sample %D/etc/ytree.conf; then rm -f %D/etc/ytree.conf; fi
 etc/ytree.conf.sample
 @exec if [ ! -f %D/etc/ytree.conf ] ; then cp -p %D/%F %B/ytree.conf; fi
+man/man1/ytree.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/THANKS



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