aboutsummaryrefslogtreecommitdiff
path: root/deskutils/znotes
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-12-16 16:49:17 +0000
committerRene Ladan <rene@FreeBSD.org>2018-12-16 16:49:17 +0000
commit7cbe341ae63754f2ad63dd52f20d9d1b9b312aa5 (patch)
tree892baa84cc0c67b08795b6576e985d83e5a8f6d1 /deskutils/znotes
parent278e6c95a6bbd77f475d8bd167ba51814bb09fc0 (diff)
downloadports-7cbe341ae63754f2ad63dd52f20d9d1b9b312aa5.tar.gz
ports-7cbe341ae63754f2ad63dd52f20d9d1b9b312aa5.zip
Use regular DEPRECATED and EXPIRATION_DATE variables in an "if FLAVOR" block
instead of flavoring the variables themselves. This caused too much hassle for Tools/scripts/rmport. Discussed with: tcberner
Notes
Notes: svn path=/head/; revision=487601
Diffstat (limited to 'deskutils/znotes')
-rw-r--r--deskutils/znotes/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/deskutils/znotes/Makefile b/deskutils/znotes/Makefile
index e7cdc4daed52..0517a55e55d2 100644
--- a/deskutils/znotes/Makefile
+++ b/deskutils/znotes/Makefile
@@ -16,9 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
-qt4_DEPRECATED= Qt4 has been EOL since december 2015
-qt4_EXPIRATION_DATE= 2019-03-15
-
USES= qmake
USE_GL= gl
@@ -28,6 +25,8 @@ GH_PROJECT= zNotes
GH_TAGNAME= 6423c5e
. if ${FLAVOR} == qt4
+DEPRECATED= Qt4 has been EOL since december 2015
+EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= uic_build moc_build rcc_build linguisttools_build corelib gui network xml
. else