- 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
This commit is contained in:
Gabor Pali 2015-08-10 15:32:19 +00:00
parent 94efdc08d5
commit abf6d8422d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393873
2 changed files with 5 additions and 11 deletions

View file

@ -12,6 +12,9 @@ DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
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/gmp
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

View file

@ -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} \