Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 01:43:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408525 - head/devel/nini
Message-ID:  <201602090143.u191hPD5019769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Feb  9 01:43:24 2016
New Revision: 408525
URL: https://svnweb.freebsd.org/changeset/ports/408525

Log:
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/devel/nini/Makefile

Modified: head/devel/nini/Makefile
==============================================================================
--- head/devel/nini/Makefile	Tue Feb  9 01:37:27 2016	(r408524)
+++ head/devel/nini/Makefile	Tue Feb  9 01:43:24 2016	(r408525)
@@ -15,13 +15,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		mono zip
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 WRKSRC=		${WRKDIR}/Nini
 NINI_VERSION=	${PORTVERSION:C/([0-9]*\.[0-9]*).*/\1/}
 SUB_FILES=	${PORTNAME}.pc
-SUB_LIST+=	PORTVERSION=${PORTVERSION} \
+SUB_LIST=	PORTVERSION=${PORTVERSION} \
 		NINI_VERSION=${NINI_VERSION}
-PLIST_SUB+=	NINI_VERSION=${NINI_VERSION}
+PLIST_SUB=	NINI_VERSION=${NINI_VERSION}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
@@ -29,9 +30,10 @@ do-install:
 	@(cd ${INSTALL_WRKSRC}/Bin/Mono/1.1/Release && ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil -root ${STAGEDIR}${PREFIX}/lib/ -gacdir ${STAGEDIR}${PREFIX}/lib -package ${PORTNAME}-${NINI_VERSION} -i Nini.dll)
 	${INSTALL_DATA} ${WRKDIR}/nini.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/nini-${NINI_VERSION}.pc
 
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	(cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/Docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+do-install-DOCS-on:
+	@(cd ${WRKSRC}/Docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+do-install-EXAMPLES-on:
+	@(cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 .include <bsd.port.mk>



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