Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 14:11:42 +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: r359846 - head/sysutils/vobcopy
Message-ID:  <201406301411.s5UEBgh3019109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jun 30 14:11:41 2014
New Revision: 359846
URL: http://svnweb.freebsd.org/changeset/ports/359846
QAT: https://qat.redports.org/buildarchive/r359846/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Modified:
  head/sysutils/vobcopy/Makefile

Modified: head/sysutils/vobcopy/Makefile
==============================================================================
--- head/sysutils/vobcopy/Makefile	Mon Jun 30 13:52:33 2014	(r359845)
+++ head/sysutils/vobcopy/Makefile	Mon Jun 30 14:11:41 2014	(r359846)
@@ -19,14 +19,12 @@ CONFIGURE_ARGS=	--with-lfs --with-dvdrea
 
 ALL_TARGET=	${PORTNAME}
 
-MAN1=	vobcopy.1
-
-PLIST_FILES=	bin/vobcopy
+PLIST_FILES=	bin/vobcopy man/man1/vobcopy.1.gz
 PORTDOCS=	COPYING Changelog README TODO \
 		alternative_programs.txt
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-extract:
 	@${CHMOD} a+x ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -58,14 +56,14 @@ post-configure:
 		${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${PREFIX}/bin/vobcopy
+	@${INSTALL_PROGRAM} ${WRKSRC}/vobcopy ${STAGEDIR}${PREFIX}/bin/vobcopy
 	@${INSTALL_MAN} ${WRKSRC}/vobcopy.1${MAN1_SUFX} \
-		${MANPREFIX}/man/man1/vobcopy.1
+		${STAGEDIR}${MANPREFIX}/man/man1/vobcopy.1
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${INSTALL} -d ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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