Date: Mon, 10 Aug 2015 15:32:20 +0000 (UTC) From: Gabor Pali <pgj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393873 - head/lang/ghc Message-ID: <201508101532.t7AFWKYL098474@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pgj Date: Mon Aug 10 15:32:19 2015 New Revision: 393873 URL: https://svnweb.freebsd.org/changeset/ports/393873 Log: - Implement a couple of portlint(1) warnings, such as moving the LICENSE block earlier, sort USES. This change also switches to USES=metaport for metaports, like haskell-platform or gtk2hs PR: 201886 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Obtained from: FreeBSD Haskell Modified: head/lang/ghc/Makefile head/lang/ghc/bsd.cabal.mk Modified: head/lang/ghc/Makefile ============================================================================== --- head/lang/ghc/Makefile Mon Aug 10 15:25:48 2015 (r393872) +++ head/lang/ghc/Makefile Mon Aug 10 15:32:19 2015 (r393873) @@ -12,6 +12,9 @@ DISTFILES= ghc-${PORTVERSION}-src${EXTRA MAINTAINER= haskell@FreeBSD.org COMMENT= Compiler for the functional language Haskell +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + ONLY_FOR_ARCHS= i386 amd64 MAKE_JOBS_NUMBER_LIMIT= 4 @@ -28,13 +31,10 @@ LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math USE_AUTOTOOLS= autoconf autoheader USE_PERL5= build -USES= gmake iconv:translit perl5 ncurses tar:bzip2 +USES= gmake iconv:translit ncurses perl5 tar:bzip2 USE_BINUTILS= yes USE_GCC= yes -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE - MAKE_ENV= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 # The configure process accepts,filters and canonicalises Modified: head/lang/ghc/bsd.cabal.mk ============================================================================== --- head/lang/ghc/bsd.cabal.mk Mon Aug 10 15:25:48 2015 (r393872) +++ head/lang/ghc/bsd.cabal.mk Mon Aug 10 15:32:19 2015 (r393873) @@ -13,13 +13,7 @@ MASTER_SITES?= http://hackage.haskell.org/package/${PORTNAME}-${PORTVERSION}/ DIST_SUBDIR?= cabal .else -MASTER_SITES= # empty -DISTFILES= # empty -EXTRACT_ONLY= # empty -NO_FETCH= yes -NO_BUILD= yes -NO_INSTALL= yes -NO_MTREE= yes +USES+= metaport .endif # !METAPORT MAKE_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 DESTDIR=${STAGEDIR} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508101532.t7AFWKYL098474>