Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 21:54:30 +0200 (EET)
From:      Johannes Jost Meixner <xmj@chaot.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        thomas.e.zander@googlemail.com
Subject:   ports/187507: [PATCH] cad/linux-eagle5: Stage, partial Makefile cleanup
Message-ID:  <14343055954416820675.enqueue@mx12.chaot.net>
Resent-Message-ID: <201403122000.s2CK00GW069406@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187507
>Category:       ports
>Synopsis:       [PATCH] cad/linux-eagle5: Stage, partial Makefile cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Jost Meixner
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
Goldener Grund OUe
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #4: Sun Mar  9 15:34:03 EET
>Description:
- Stagify
- Partial makefile cleanup

Port maintainer (thomas.e.zander@googlemail.com) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.12 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- linux-eagle5-5.12.0.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 347999)
+++ Makefile	(working copy)
@@ -2,15 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	linux-eagle5
-EAGLEBASEVERSION?=	5.12
-EAGLEBUGFIX?=	0
-EAGLEVERSION=	${EAGLEBASEVERSION}.${EAGLEBUGFIX}
 PORTVERSION=	${EAGLEVERSION:S/r/./}
-PORTREVISION?=	3
+PORTREVISION?=	4
 CATEGORIES?=	cad linux
 MASTER_SITES=	ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/
-DISTNAME=	eagle-${EAGLEVERSION}
-DISTFILES=	eagle-lin-${EAGLEVERSION}.run
+DISTNAME=	eagle-lin-${EAGLEVERSION}
+EXTRACT_SUFX=	.run
 
 MAINTAINER?=	thomas.e.zander@googlemail.com
 COMMENT?=	An easy to use, yet powerful tool for designing printed circuit boards
@@ -27,6 +24,10 @@
 
 CONFLICTS=	linux-eagle-* de-linux-eagle-*
 
+EAGLEBASEVERSION?=	5.12
+EAGLEBUGFIX?=	0
+EAGLEVERSION=	${EAGLEBASEVERSION}.${EAGLEBUGFIX}
+
 USE_LINUX=	yes
 USE_LINUX_APPS=	xorglibs jpeg png
 NO_BUILD=	yes
@@ -33,34 +34,23 @@
 PKGMESSAGE=	${WRKDIR}/pkg-message
 SUB_FILES=	pkg-deinstall
 
-MAN1=		eagle.1
-
 CPIO?=		/usr/bin/cpio --quiet -pdum -R
 
 DESKTOP_ENTRIES=	"Eagle5" "Tool for designing printed circuit boards" \
 			${DATADIR}/ulp/eagle.bmp \
-			"eagle" "Development;Electronics;Engineering;" "false"
+			"eagle" "Development;Electronics;Engineering;" false
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 PLIST_SUB+=	LINUXBASE=${LINUXBASE}
 
-.if ${OSVERSION} < 700055
-IGNORE=	FreeBSD>=7.X is needed with Linux emulation 2.6.x.
-.elif ${OSVERSION} < 800076 && \
-	(!defined(OVERRIDE_LINUX_NONBASE_PORTS) || \
-	 !(${OVERRIDE_LINUX_NONBASE_PORTS} == f10))
-IGNORE=	needs non-default linux ports (define OVERRIDE_LINUX_BASE_PORT=f10 and OVERRIDE_LINUX_NONBASE_PORTS=f10)
-.endif
-
 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}/doc/eagle.1 ${PREFIX}/man/man1/eagle.1
-	@${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${FILESDIR}/eagle.sh > ${PREFIX}/bin/eagle
-	@${CHMOD} 0555 ${PREFIX}/bin/eagle
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@ cd ${WRKSRC} && ${FIND} * -type f -print | ${CPIO} ${BINOWN}:${BINGRP} ${STAGEDIR}${DATADIR}
+	@ cd ${STAGEDIR}${DATADIR} && ${FIND} * -type d -print | ${XARGS} ${CHMOD} 0755
+	@${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
+	@${CHMOD} 0555 ${STAGEDIR}${PREFIX}/bin/eagle
 
 post-install:
 	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
--- linux-eagle5-5.12.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14343055954416820675.enqueue>