freebsd-ports/cad/linux-eagle5/Makefile
Thomas Zander 9ec61d6d20
cad/linux-eagle5: Fix fetch error, mark deprecated
Details:
- Cadsoft, the EAGLE vendor, was acquired by Autodesk a while ago. The
  EAGLE 5 series was discontinued since, and is superseded by Autodesk
  EAGLE 9.
- Mark deprecated, scheduled for removal at the end of the 2022. Until
  then, the distfile remains available through a LOCAL mirror.

MFH:		2022Q2
2022-04-16 11:26:32 +02:00

54 lines
1.6 KiB
Makefile

# Created by: Michael Durian <durian@shadetreesoftware.com>
PORTNAME= eagle5
PORTVERSION= ${EAGLEVERSION}
PORTREVISION= 7
CATEGORIES= cad linux
MASTER_SITES= LOCAL/riggs/${PORTNAME} \
ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/
PKGNAMEPREFIX= linux-
DISTNAME= eagle-lin-${EAGLEVERSION}
EXTRACT_SUFX= .run
MAINTAINER= riggs@FreeBSD.org
COMMENT= Easy to use, yet powerful tool for designing printed circuit boards
LICENSE= Eagle
LICENSE_NAME= Eagle End User License Agreement
LICENSE_FILE= ${WRKSRC}/doc/license_en.txt
# Usage permitted for non-commercial purposes only
# Sale for profit is not permitted
# Copying the software is only allowed for backup by an individual licensee
LICENSE_PERMS= auto-accept
DEPRECATED= Deprecated upstream, superseded by Autodesk EAGLE 9
EXPIRATION_DATE= 2022-12-31
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${DISTNAME:S/lin-//}
EXTRACT_CMD= ${SED}
EXTRACT_BEFORE_ARGS= -e '1,/^__DATA__$$/d'
EXTRACT_AFTER_ARGS= | ${BZCAT} -c 2>/dev/null | ${TAR} -xf -
EAGLEBASEVERSION= 5.12
EAGLEBUGFIX= 0
EAGLEVERSION= ${EAGLEBASEVERSION}.${EAGLEBUGFIX}
USES= linux
USE_LINUX= xorglibs jpeg png
NO_BUILD= yes
SUB_FILES= pkg-deinstall pkg-message
DESKTOP_ENTRIES= "Eagle5" "Tool for designing printed circuit boards" \
${DATADIR}/ulp/eagle.bmp \
"eagle" "Development;Electronics;Engineering;" false
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR})
${INSTALL_MAN} ${STAGEDIR}${DATADIR}/doc/eagle.1 ${STAGEDIR}${PREFIX}/man/man1/eagle.1
${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${FILESDIR}/eagle.sh > ${STAGEDIR}${PREFIX}/bin/eagle
.include <bsd.port.mk>