Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 23:10:59 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343554 - head/multimedia/subtools
Message-ID:  <201402092310.s19NAxBq081355@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Feb  9 23:10:58 2014
New Revision: 343554
URL: http://svnweb.freebsd.org/changeset/ports/343554
QAT: https://qat.redports.org/buildarchive/r343554/

Log:
  Support stage

Modified:
  head/multimedia/subtools/Makefile

Modified: head/multimedia/subtools/Makefile
==============================================================================
--- head/multimedia/subtools/Makefile	Sun Feb  9 23:05:52 2014	(r343553)
+++ head/multimedia/subtools/Makefile	Sun Feb  9 23:10:58 2014	(r343554)
@@ -10,6 +10,8 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Command-line tools for movie subtitles in SubRipper format
 
+OPTIONS_DEFINE=	DOCS
+
 USE_PYTHON=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}/src
 EXECS=		srtshift srtrate
@@ -17,7 +19,6 @@ PYEXECS=	udvd2srt.py udvdshift.py
 PORTDOCS=	CHANGELOG.TXT LICENSE.TXT README.TXT TODO.TXT
 PLIST_FILES=	${EXECS:S/^/bin\//} ${PYEXECS:S/^/bin\//}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,
,,g;s,^.*#!.*python.*$$,#!${PYTHON_CMD},' ${WRKSRC}/*
 
@@ -27,11 +28,9 @@ do-build:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${EXECS:S/^/${WRKSRC}\//} ${PREFIX}/bin/
-	${INSTALL_SCRIPT} ${PYEXECS:S/^/${WRKSRC}\//} ${PREFIX}/bin/
-.ifndef(NOPORTDOCS)
-	${INSTALL} -d ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${EXECS:S/^/${WRKSRC}\//} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${PYEXECS:S/^/${WRKSRC}\//} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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