svn commit: r343926 - head/sysutils/fusefs-ntfs

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Feb 12 14:43:11 UTC 2014


Author: amdmi3
Date: Wed Feb 12 14:43:10 2014
New Revision: 343926
URL: http://svnweb.freebsd.org/changeset/ports/343926
QAT: https://qat.redports.org/buildarchive/r343926/

Log:
  - Add DOCS option

Modified:
  head/sysutils/fusefs-ntfs/Makefile

Modified: head/sysutils/fusefs-ntfs/Makefile
==============================================================================
--- head/sysutils/fusefs-ntfs/Makefile	Wed Feb 12 14:39:28 2014	(r343925)
+++ head/sysutils/fusefs-ntfs/Makefile	Wed Feb 12 14:43:10 2014	(r343926)
@@ -24,7 +24,7 @@ CONFIGURE_ARGS=	--exec-prefix=${PREFIX} 
 CPPFLAGS+=	-I${WRKSRC}/include/ntfs-3g/ -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	LOCK UBLIO
+OPTIONS_DEFINE=	LOCK UBLIO DOCS
 OPTIONS_DEFAULT=LOCK UBLIO
 LOCK_DESC=	Lock the device when mounting (avoids access)
 UBLIO_DESC=	Enable user space cache for improved speed
@@ -51,14 +51,8 @@ post-patch:
 		${WRKSRC}/libntfs-3g/security.c
 	@${REINPLACE_CMD} -e 's|\($$(AM_CFLAGS)\) \(-I$$(top_srcdir)/include/ntfs-3g\)|\2 \1|' \
 		${WRKSRC}/libntfs-3g/Makefile.in
-.if defined(NOPORTDOCS)
-	@${REINPLACE_CMD} -Ee 's|^(install-data-am:) .*|\1|' \
-		${WRKSRC}/Makefile.in
-.endif
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list