Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2014 15:20:21 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339784 - head/devel/silentbob
Message-ID:  <201401151520.s0FFKLVR089824@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Wed Jan 15 15:20:21 2014
New Revision: 339784
URL: http://svnweb.freebsd.org/changeset/ports/339784
QAT: https://qat.redports.org/buildarchive/r339784/

Log:
  - Unmute INSTALL_DATA
  - Make docs unconditional to stage
    * Remove bsd.port.options.mk, accordingly
  - Improve REINPLACE_CMD statement
  
  Pointed out by:	danfe@ (on ports-committers@ and svn-ports-all@)

Modified:
  head/devel/silentbob/Makefile

Modified: head/devel/silentbob/Makefile
==============================================================================
--- head/devel/silentbob/Makefile	Wed Jan 15 15:19:52 2014	(r339783)
+++ head/devel/silentbob/Makefile	Wed Jan 15 15:20:21 2014	(r339784)
@@ -18,17 +18,13 @@ PLIST_FILES=	bin/silentbob
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${RM} ${WRKSRC}/CMakeCache.txt
-	@${REINPLACE_CMD} -e 's|/usr/lib/silent_bob/|${PREFIX}/lib/silent_bob/|' \
+	@${REINPLACE_CMD} -e '/lib\/silent_bob/s|/usr|${PREFIX}|' \
 		${WRKSRC}/src/init.cxx
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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