aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2019-06-08 23:59:46 +0800
committerTijl Coosemans <tijl@FreeBSD.org>2019-06-08 23:59:46 +0800
commitbb5cf6c4f3c10d3eff9b5891aa38093e483e4a60 (patch)
tree0dd599c3bd3c385b989cd2ccb511ac9a39bb8c32 /print
parent4bafa67ea0cfc5c54e5d698ef3aeaff8cd3115ad (diff)
downloadfreebsd-ports-gnome-bb5cf6c4f3c10d3eff9b5891aa38093e483e4a60.tar.gz
freebsd-ports-gnome-bb5cf6c4f3c10d3eff9b5891aa38093e483e4a60.tar.zst
freebsd-ports-gnome-bb5cf6c4f3c10d3eff9b5891aa38093e483e4a60.zip
Address some portlint warnings in the Linux infrastructure ports.
Eliminate LINUXNAME from port Makefiles. This was just a helper variable without special meaning outside port Makefiles but several developers have copied it to new ports where it was then unused, apparently thinking that it did have some special meaning.
Diffstat (limited to 'print')
-rw-r--r--print/linux-c6-cups-libs/Makefile7
-rw-r--r--print/linux-c7-cups-libs/Makefile12
-rw-r--r--print/linux-c7-freetype/Makefile3
-rw-r--r--print/linux-c7-harfbuzz/Makefile3
4 files changed, 14 insertions, 11 deletions
diff --git a/print/linux-c6-cups-libs/Makefile b/print/linux-c6-cups-libs/Makefile
index f4f65de6142d..1cd60b65c249 100644
--- a/print/linux-c6-cups-libs/Makefile
+++ b/print/linux-c6-cups-libs/Makefile
@@ -7,16 +7,17 @@ DISTVERSIONSUFFIX= -81.el6_10
PORTREVISION= 10
CATEGORIES= print linux
PKGNAMESUFFIX= -libs
-LIB_DISTNAMES= ${LINUXNAME}-${DISTVERSIONFULL}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Common UNIX Printing System libraries
-DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
-LINUXNAME= ${PORTNAME}${PKGNAMESUFFIX}
USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX= avahi-libs gnutls jpeg png tiff
USE_LINUX_RPM= yes
+LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
+
+DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+
.include <bsd.port.mk>
diff --git a/print/linux-c7-cups-libs/Makefile b/print/linux-c7-cups-libs/Makefile
index 203d1fc1bc2b..140f365491dc 100644
--- a/print/linux-c7-cups-libs/Makefile
+++ b/print/linux-c7-cups-libs/Makefile
@@ -7,21 +7,21 @@ DISTVERSIONSUFFIX= -35.el7
PORTREVISION= 5
CATEGORIES= print linux
PKGNAMESUFFIX= -libs
-LIB_DISTNAMES= ${LINUXNAME}-${DISTVERSIONFULL}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Common UNIX Printing System libraries
-CONFLICTS= linux-c6-${LINUXNAME}-[0-9]*
-
-DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
-DOCSDIR= ${PREFIX}/usr/share/doc/${LINUXNAME}-${PORTVERSION}
-LINUXNAME= ${PORTNAME}${PKGNAMESUFFIX}
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= avahi-libs openssl
USE_LINUX_RPM= yes
+LIB_DISTNAMES= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
+
+CONFLICTS= linux-c6-${PORTNAME}${PKGNAMESUFFIX}-[0-9]*
+DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
+
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>
diff --git a/print/linux-c7-freetype/Makefile b/print/linux-c7-freetype/Makefile
index 570f45d90a5e..ee1cdfcb7105 100644
--- a/print/linux-c7-freetype/Makefile
+++ b/print/linux-c7-freetype/Makefile
@@ -8,12 +8,13 @@ CATEGORIES= print linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= Font rendering engine (Linux CentOS ${LINUX_DIST_VER})
-DESCR= ${.CURDIR}/../${PORTNAME}2/pkg-descr
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= png
USE_LINUX_RPM= yes
+DESCR= ${.CURDIR}/../${PORTNAME}2/pkg-descr
+
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>
diff --git a/print/linux-c7-harfbuzz/Makefile b/print/linux-c7-harfbuzz/Makefile
index 059a8cc9c3b7..1847dbbc7202 100644
--- a/print/linux-c7-harfbuzz/Makefile
+++ b/print/linux-c7-harfbuzz/Makefile
@@ -8,12 +8,13 @@ CATEGORIES= print linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= OpenType text shaping engine (Linux CentOS ${LINUX_DIST_VER})
-DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX= graphite2
USE_LINUX_RPM= yes
+DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>