Changeset View
Changeset View
Standalone View
Standalone View
lang/ghc/bsd.cabal.mk
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# bsd.cabal.mk -- Support for ports based on Haskell Cabal. | # bsd.cabal.mk -- Support for ports based on Haskell Cabal. | ||||
# | # | ||||
# Created by: Gabor Pali <pgj@FreeBSD.org>, | # Created by: Gabor Pali <pgj@FreeBSD.org>, | ||||
# Based on works of Giuseppe Pilichi and Ashish Shukla. | # Based on works of Giuseppe Pilichi and Ashish Shukla. | ||||
# | # | ||||
# Maintained by: haskell@FreeBSD.org | # Maintained by: haskell@FreeBSD.org | ||||
# | # | ||||
.if !defined(SKIP_DEPRECATION_NOTICE) | |||||
mat: This feels reversed. This way, you are touching every port that is not getting deprecated. So… | |||||
DEPRECATED= Haskell libraries are getting pushed out of the ports tree. If you are using this port for development, consider switching to cabal sandboxes (old way), cabal new-build (new way), or use devel/stack. If you believe this port shouldn't be removed, contact haskell@FreeBSD.org | |||||
EXPIRATION_DATE= 2019-03-25 | |||||
.endif | |||||
PACKAGE= ${PORTNAME}-${PORTVERSION} | PACKAGE= ${PORTNAME}-${PORTVERSION} | ||||
.if !defined(METAPORT) && !defined(USE_GITHUB) | .if !defined(METAPORT) && !defined(USE_GITHUB) | ||||
MASTER_SITES?= http://hackage.haskell.org/package/${PACKAGE}/:hackage | MASTER_SITES?= http://hackage.haskell.org/package/${PACKAGE}/:hackage | ||||
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}:hackage | DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}:hackage | ||||
EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX} | EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX} | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 325 Lines • Show Last 20 Lines |
This feels reversed. This way, you are touching every port that is not getting deprecated. So when the libraries go away, you have to touch them again to remove this variable from being set.
You should instead set a DEPRECATED_LIB variable in the haskell library ports, and test for it here.