7003875294
infrastructure ports (linux_base-c6 and linux-c6*) install i386 CentOS 6 packages. Using c6_64 instead of c6 made them install mixed amd64/i386 CentOS 6 packages and allowed Linux application ports to install amd64 binaries when available. The i386-only configuration was only useful for users of x11/nvidia-driver* which didn't provide Linux amd64 emulation until recently. With x11/nvidia-driver* now supporting Linux amd64 there's no longer a need for i386-only Linux on amd64. Let DEFAULT_VERSIONS+=linux=c6 make Linux infrastructure ports install mixed amd64/i386 CentOS 6 packages, like c6_64 before, and remove support for c6_64 as a value. Replace LINUX_ARCH with ARCH everywhere because they are always the same now.
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= epson-inkjet-printer-201601w
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= print
|
|
MASTER_SITES= https://download3.ebz.epson.net/dsc/f/03/00/05/62/39/770f0f7c12a304ceaec1ce13e5b5740a71522b68/:amd64 \
|
|
https://download3.ebz.epson.net/dsc/f/03/00/05/62/39/f1fd78aacb85fff1a3c59a80dae5a5ac25e33992/:i386
|
|
DISTFILES_amd64=${DISTNAME}-1lsb3.2.x86_64.rpm:amd64
|
|
DISTFILES_i386= ${DISTNAME}-1lsb3.2.i486.rpm:i386
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= CUPS filter for Seiko Epson Color Ink Jet Printers
|
|
|
|
LICENSE= EPSON LGPL21
|
|
LICENSE_COMB= multi
|
|
LICENSE_NAME_EPSON= SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT
|
|
LICENSE_FILE_EPSON= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.EPSON
|
|
LICENSE_FILE_LGPL21= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.LIB
|
|
LICENSE_PERMS_EPSON= none
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/cups/filter/gstoraster:print/cups-filters
|
|
|
|
RESTRICTED= License does not allow redistribution
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_SUB= LINUXBASE=${LINUXBASE} \
|
|
PORTNAME=${PORTNAME}
|
|
USES= linux
|
|
USE_LINUX= cups-libs jpeg
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == i386
|
|
PLIST_SUB+= LIBDIR=lib
|
|
.elif ${ARCH} == amd64
|
|
PLIST_SUB+= LIBDIR=lib64
|
|
.endif
|
|
|
|
post-extract:
|
|
@${GUNZIP_CMD} ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd.gz
|
|
|
|
post-patch:
|
|
@${SED} -i '' '/^\*cupsFilter:/s,/opt/,${LINUXBASE}&,' \
|
|
${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${LINUXBASE}
|
|
${CP} -Rp ${WRKSRC}/opt ${STAGEDIR}${LINUXBASE}
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model/
|
|
${LN} -sf ${LINUXBASE}/opt/${PORTNAME}/ppds/Epson ${STAGEDIR}${PREFIX}/share/cups/model/Epson-201601w
|
|
|
|
.include <bsd.port.mk>
|