Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 11:27:06 +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: r402483 - head/devel/dotconf
Message-ID:  <201511271127.tARBR6e3001182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Nov 27 11:27:05 2015
New Revision: 402483
URL: https://svnweb.freebsd.org/changeset/ports/402483

Log:
  - Add LICENSE_FILE
  - Switch to options helpers

Modified:
  head/devel/dotconf/Makefile

Modified: head/devel/dotconf/Makefile
==============================================================================
--- head/devel/dotconf/Makefile	Fri Nov 27 11:26:25 2015	(r402482)
+++ head/devel/dotconf/Makefile	Fri Nov 27 11:27:05 2015	(r402483)
@@ -11,21 +11,24 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple, powerful configuration-file parser
 
 LICENSE=	LGPL21
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		pathfix pkgconfig libtool
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^SUBDIR/s|=.*|= src|' ${WRKSRC}/Makefile.in
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for ex in README argdouble caseinsensitive context duplicates errorhandler \
 	fallback libpool maketest.sh modules noinline simple



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