1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Here is a new linux-eagle5 port, the version is 5.5.

PR:		ports/133822
Submitted by:	Mike Durian <durian@shadetreesoftware.com>
This commit is contained in:
Boris Samorodov 2009-08-03 15:54:19 +00:00
parent 0c00f56b9a
commit e03c34de3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238838
5 changed files with 689 additions and 851 deletions

View File

@ -1,29 +1,30 @@
# New ports collection makefile for: linux-eagle
# Date created: 29 December 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
# New ports collection makefile for: linux-eagle5
# Date created: 20 March, 2009
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#
PORTNAME= linux-eagle
EAGLEVERSION?= 4.16r2
EAGLELANG?= eng
PORTNAME= linux-eagle5
EAGLEBASEVERSION?= 5.5
EAGLEBUGFIX?= 0
EAGLEVERSION= ${EAGLEBASEVERSION}.${EAGLEBUGFIX}
PORTVERSION= ${EAGLEVERSION:S/r/./}
PORTREVISION?= 0
CATEGORIES?= cad linux
MASTER_SITES= ftp://ftp.cadsoft.de/pub/program/${EAGLEVERSION}/
DISTNAME= ${PORTNAME:S/linux-//}-lin-${EAGLELANG}-${EAGLEVERSION}
EXTRACT_SUFX= .tgz
MASTER_SITES= ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/
DISTNAME= eagle-${EAGLEVERSION}
DISTFILES= eagle-lin-${EAGLEVERSION}.run
MAINTAINER?= riggs@rrr.de
MAINTAINER?= durian@shadetreesoftware.com
COMMENT?= An easy to use, yet powerful tool for designing printed circuit boards
CONFLICTS?= de-linux-eagle-[0-9]*
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${PORTNAME:S/linux-//}-lin-${EAGLELANG}-${EAGLEVERSION}
DATADIR= ${PREFIX}/share/${PORTNAME:S/linux-//}
EXTRACT_CMD= ${SED}
EXTRACT_BEFORE_ARGS= -e '1,/^__DATA__$$/d'
EXTRACT_AFTER_ARGS= | ${BZCAT} -c 2>/dev/null | ${TAR} -xf -
RESTRICTED= Usage permitted for non-commercial purposes only
NO_CDROM= Sale for profit is not permitted
@ -32,8 +33,9 @@ USE_LINUX= yes
USE_LINUX_APPS= xorglibs
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-deinstall
MAN1= eagle.1
MAN1= eagle5.1
CPIO?= /usr/bin/cpio --quiet -pdum -R
@ -41,9 +43,9 @@ do-install:
@${MKDIR} ${DATADIR}
@ cd ${WRKSRC} && ${FIND} * -type f -print | ${CPIO} ${BINOWN}:${BINGRP} ${DATADIR}
@ cd ${DATADIR} && ${FIND} * -type d -print | ${XARGS} ${CHMOD} 0755
@${INSTALL_MAN} ${DATADIR}/man/eagle.1 ${PREFIX}/man/man1
@${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${FILESDIR}/eagle.sh > ${PREFIX}/bin/eagle
@${CHMOD} 0555 ${PREFIX}/bin/eagle
@${INSTALL_MAN} ${DATADIR}/doc/eagle.1 ${PREFIX}/man/man1/eagle5.1
@${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${FILESDIR}/eagle.sh > ${PREFIX}/bin/eagle5
@${CHMOD} 0555 ${PREFIX}/bin/eagle5
post-install:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \

View File

@ -1,3 +1,4 @@
MD5 (eagle-lin-eng-4.16r2.tgz) = 9648bed26f901ea634a69d18b9c33dce
SHA256 (eagle-lin-eng-4.16r2.tgz) = dc71102780621022c5f3b124bbcde075f23d3e04d624a2985afa733fbae8c7e4
SIZE (eagle-lin-eng-4.16r2.tgz) = 8922532
MD5 (eagle-lin-5.5.0.run) = 5583ff7885f1f1530511cf1c799737c9
SHA256 (eagle-lin-5.5.0.run) =
730d089351aaa11176f32050b4a11bd7f46ee80cabef570a8de64c9e5822fcdc
SIZE (eagle-lin-5.5.0.run) = 26597130

View File

@ -0,0 +1,19 @@
#!/bin/sh
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
DATADIR="%%DATADIR%%"
post-deinstall() {
echo "WARNING: If you will *NOT* use this package anymore, please remote
the"
echo " following file manually:"
echo " ${DATADIR}/bin/eagle.key"
echo
}
case $2 in
POST-DEINSTALL)
post-deinstall
;;
esac

View File

@ -4,3 +4,7 @@ to %%PREFIX%%/share/eagle to write a program key file.
Once this has been done, you can delete the "eagle" directory in your
/root directory, which is created during the initially startup, and
run it as a normal user.
It is entirely possible that you need linux 2.6 emulation support
in the kernel. The /usr/ports/UPDATING entry on 20080318 has
good instructions on how to run linux 2.6.16 kernel emulation.

File diff suppressed because it is too large Load Diff