Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2014 15:25:12 +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: r359774 - in head/sysutils/tbku: . files
Message-ID:  <201406291525.s5TFPCEp080728@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun Jun 29 15:25:11 2014
New Revision: 359774
URL: http://svnweb.freebsd.org/changeset/ports/359774
QAT: https://qat.redports.org/buildarchive/r359774/

Log:
  1: Stagify.
  2: use options helper to handle PORTDOCS.
  
  Approved by:	portmgr@ (blanket approval)

Added:
  head/sysutils/tbku/files/
  head/sysutils/tbku/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/tbku/Makefile

Modified: head/sysutils/tbku/Makefile
==============================================================================
--- head/sysutils/tbku/Makefile	Sun Jun 29 15:21:20 2014	(r359773)
+++ head/sysutils/tbku/Makefile	Sun Jun 29 15:25:11 2014	(r359774)
@@ -9,16 +9,19 @@ MASTER_SITES=	http://www.tundraware.com/
 MAINTAINER=	tbku@tundraware.com
 COMMENT=	A Tool For Incremental And Imaging Backups
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in WHATSNEW.txt tbku-license.txt tbku.html tbku.pdf tbku.ps tbku.txt \
 	Imaging-FreeBSD-With-tbku.txt     Imaging-FreeBSD-With-tbku.html \
 	Imaging-FreeBSD-With-tbku.pdf     Imaging-FreeBSD-With-tbku.ps  \
 	Imaging-SUSE-Linux-With-tbku.txt  Imaging-SUSE-Linux-With-tbku.html \
 	Imaging-SUSE-Linux-With-tbku.pdf  Imaging-SUSE-Linux-With-tbku.ps
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Added: head/sysutils/tbku/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tbku/files/patch-Makefile	Sun Jun 29 15:25:11 2014	(r359774)
@@ -0,0 +1,12 @@
+--- Makefile.orig	2014-06-29 23:22:47.157452107 +0800
++++ Makefile	2014-06-29 23:23:00.688449516 +0800
+@@ -2,7 +2,7 @@
+ # $Id: Makefile,v 1.102 2008/03/19 23:05:08 tundra Exp $
+ 
+ install:
+-	${BSD_INSTALL_SCRIPT} tbku   ${PREFIX}/bin
+-	${BSD_INSTALL_MAN}    tbku.1.gz ${PREFIX}/man/cat1
++	${BSD_INSTALL_SCRIPT} tbku   $(DESTDIR)${PREFIX}/bin
++	${BSD_INSTALL_MAN}    tbku.1.gz $(DESTDIR)${PREFIX}/man/cat1
+ 
+ all:  # Nothing to do here



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