Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 21:30:44 +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: r401825 - head/devel/libghthash
Message-ID:  <201511172130.tAHLUie1001633@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 17 21:30:44 2015
New Revision: 401825
URL: https://svnweb.freebsd.org/changeset/ports/401825

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/devel/libghthash/Makefile

Modified: head/devel/libghthash/Makefile
==============================================================================
--- head/devel/libghthash/Makefile	Tue Nov 17 21:30:28 2015	(r401824)
+++ head/devel/libghthash/Makefile	Tue Nov 17 21:30:44 2015	(r401825)
@@ -10,7 +10,8 @@ MASTER_SITES=	http://www.ipd.bth.se/ska/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Generic Hash Table
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		autoreconf libtool
 GNU_CONFIGURE=	yes
@@ -35,9 +36,13 @@ PLIST_FILES=	include/ght_hash_table.h \
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-post-install:
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${STAGEDIR}${EXAMPLESDIR})
 



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