svn commit: r402483 - head/devel/dotconf

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Nov 27 11:27:07 UTC 2015


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 at 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


More information about the svn-ports-all mailing list