svn commit: r429540 - head/devel/nant

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Dec 26 16:43:29 UTC 2016


Author: sunpoet
Date: Mon Dec 26 16:43:27 2016
New Revision: 429540
URL: https://svnweb.freebsd.org/changeset/ports/429540

Log:
  - Change EXAMPLESDIR: unified with other DIRs
  - Convert to options target helper
  - Add GitHub repository to WWW
  - Bump PORTREVISION for package change

Modified:
  head/devel/nant/Makefile
  head/devel/nant/pkg-descr

Modified: head/devel/nant/Makefile
==============================================================================
--- head/devel/nant/Makefile	Mon Dec 26 16:43:22 2016	(r429539)
+++ head/devel/nant/Makefile	Mon Dec 26 16:43:27 2016	(r429540)
@@ -4,6 +4,7 @@
 PORTNAME=	nant
 PORTVERSION=	0.92
 DISTVERSIONSUFFIX=	-src
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
@@ -24,6 +25,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 DATADIR=	${PREFIX}/share/NAnt
 DOCSDIR=	${PREFIX}/share/doc/NAnt
+EXAMPLESDIR=	${PREFIX}/share/examples/NAnt
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/NAnt.build
@@ -31,7 +33,7 @@ post-patch:
 		${WRKSRC}/src/NAnt.Console/App.config \
 		${WRKSRC}/tests/NAnt.Core/Framework.config
 
-post-install:
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
 

Modified: head/devel/nant/pkg-descr
==============================================================================
--- head/devel/nant/pkg-descr	Mon Dec 26 16:43:22 2016	(r429539)
+++ head/devel/nant/pkg-descr	Mon Dec 26 16:43:27 2016	(r429540)
@@ -11,3 +11,4 @@ Because Ant was too Java-specific.
 Because Ant needed the Java runtime. NAnt only needs the .NET or Mono runtime.
 
 WWW: http://nant.sourceforge.net/
+WWW: https://github.com/nant/nant


More information about the svn-ports-head mailing list