diff options
author | olgeni <olgeni@FreeBSD.org> | 2013-10-30 04:50:39 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2013-10-30 04:50:39 +0800 |
commit | 95c3b4435a1e172c514e83ca0349ad93f35a3495 (patch) | |
tree | 367e31c7c908b1a78fe075b28f5bb23648672864 /misc | |
parent | 29439dbbbac633433ebb5a27d5278e9c116ae8f8 (diff) | |
download | freebsd-ports-gnome-95c3b4435a1e172c514e83ca0349ad93f35a3495.tar.gz freebsd-ports-gnome-95c3b4435a1e172c514e83ca0349ad93f35a3495.tar.zst freebsd-ports-gnome-95c3b4435a1e172c514e83ca0349ad93f35a3495.zip |
Add staging support.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ytree/Makefile | 17 | ||||
-rw-r--r-- | misc/ytree/pkg-plist | 1 |
2 files changed, 6 insertions, 12 deletions
diff --git a/misc/ytree/Makefile b/misc/ytree/Makefile index 0e21d7a07ecc..b0b79eefe98c 100644 --- a/misc/ytree/Makefile +++ b/misc/ytree/Makefile @@ -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> diff --git a/misc/ytree/pkg-plist b/misc/ytree/pkg-plist index db2cab8562ff..5c1b92026df1 100644 --- a/misc/ytree/pkg-plist +++ b/misc/ytree/pkg-plist @@ -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 |