Date: Sat, 29 Aug 2015 12:08:12 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395550 - head/misc/ytree Message-ID: <201508291208.t7TC8C4a083886@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Aug 29 12:08:11 2015 New Revision: 395550 URL: https://svnweb.freebsd.org/changeset/ports/395550 Log: - Add LICENSE - Switch to options helpers - Switch to @sample Approved by: portmgr blanket Modified: head/misc/ytree/Makefile head/misc/ytree/pkg-plist Modified: head/misc/ytree/Makefile ============================================================================== --- head/misc/ytree/Makefile Sat Aug 29 12:07:55 2015 (r395549) +++ head/misc/ytree/Makefile Sat Aug 29 12:08:11 2015 (r395550) @@ -9,6 +9,9 @@ MASTER_SITES= http://www.han.de/~werner/ MAINTAINER= olgeni@FreeBSD.org COMMENT= DOS-XTREE(tm) look-a-like file manager +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + ALL_TARGET= ytree OPTIONS_DEFINE= DOCS @@ -17,6 +20,8 @@ do-install: ${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 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ytree .for file in CHANGES README THANKS ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/doc/ytree Modified: head/misc/ytree/pkg-plist ============================================================================== --- head/misc/ytree/pkg-plist Sat Aug 29 12:07:55 2015 (r395549) +++ head/misc/ytree/pkg-plist Sat Aug 29 12:08:11 2015 (r395550) @@ -1,7 +1,5 @@ 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 +@sample etc/ytree.conf.sample man/man1/ytree.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508291208.t7TC8C4a083886>