diff options
author | bsam <bsam@FreeBSD.org> | 2009-08-03 23:54:19 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2009-08-03 23:54:19 +0800 |
commit | 90d9a8cbdccc9b739246749473ce39f43b0b3974 (patch) | |
tree | 30eaa5bb5c3e7475e051ddb1a89968008c5fc871 /cad/linux-eagle5/Makefile | |
parent | 6ff9737c27f0dff4e7f70873c4d3313699d7ed78 (diff) | |
download | freebsd-ports-gnome-90d9a8cbdccc9b739246749473ce39f43b0b3974.tar.gz freebsd-ports-gnome-90d9a8cbdccc9b739246749473ce39f43b0b3974.tar.zst freebsd-ports-gnome-90d9a8cbdccc9b739246749473ce39f43b0b3974.zip |
Here is a new linux-eagle5 port, the version is 5.5.
PR: ports/133822
Submitted by: Mike Durian <durian@shadetreesoftware.com>
Diffstat (limited to 'cad/linux-eagle5/Makefile')
-rw-r--r-- | cad/linux-eagle5/Makefile | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile index b561e872ed75..10b88c3e55a3 100644 --- a/cad/linux-eagle5/Makefile +++ b/cad/linux-eagle5/Makefile @@ -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 > \ |