svn commit: r463287 - head/dns/libidn

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Mar 1 09:03:03 UTC 2018


Author: amdmi3
Date: Thu Mar  1 09:03:03 2018
New Revision: 463287
URL: https://svnweb.freebsd.org/changeset/ports/463287

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Pet portlint
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/dns/libidn/Makefile

Modified: head/dns/libidn/Makefile
==============================================================================
--- head/dns/libidn/Makefile	Thu Mar  1 08:33:02 2018	(r463286)
+++ head/dns/libidn/Makefile	Thu Mar  1 09:03:03 2018	(r463287)
@@ -10,11 +10,14 @@ MASTER_SITES=	GNU
 MAINTAINER=	gaod at hychen.org
 COMMENT=	Internationalized Domain Names command line tool
 
+LICENSE=	GPLv2+ LGPL3+
+LICENSE_COMB=	dual
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/COPYINGv2
+LICENSE_FILE_LGPL3+ =	${WRKSRC}/COPYING.LESSERv3
+
+USES=		gmake iconv libtool localbase makeinfo pathfix perl5 pkgconfig
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
-USES=		gmake iconv libtool makeinfo pathfix perl5 pkgconfig
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 
@@ -22,7 +25,7 @@ INFO=		libidn
 
 OPTIONS_DEFINE=	DOCS NLS
 
-OPTIONS_SUB=yes
+OPTIONS_SUB=	yes
 
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
@@ -31,8 +34,8 @@ post-patch:
 	@${REINPLACE_CMD} -e '/^Libs.private:/s/$$/ @LTLIBINTL@/' \
 		${WRKSRC}/libidn.pc.in
 
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in FAQ NEWS README
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor


More information about the svn-ports-all mailing list