2001-12-26 16:12:17 +00:00
|
|
|
# New ports collection makefile for: linux-eagle
|
|
|
|
# Date created: 29 December 2001
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= eagle
|
|
|
|
PKGNAMEPREFIX= linux-
|
2002-08-20 17:31:09 +00:00
|
|
|
EAGLEVERSION= 4.09r2
|
2001-12-26 16:12:17 +00:00
|
|
|
PORTVERSION= ${EAGLEVERSION:S/r/./}
|
|
|
|
CATEGORIES= cad
|
|
|
|
MASTER_SITES= ftp://ftp.cadsoft.de/pub/program/${EAGLEVERSION}/
|
|
|
|
DISTNAME= ${PORTNAME}-${EAGLEVERSION}e
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-08-27 16:09:32 +00:00
|
|
|
MAINTAINER= riggs@rrr.de
|
2001-12-26 16:12:17 +00:00
|
|
|
|
2002-08-03 10:57:04 +00:00
|
|
|
RUN_DEPENDS= ${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
|
2001-12-26 16:12:17 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${EAGLEVERSION}
|
|
|
|
|
|
|
|
RESTRICTED= "Usage permitted for non-commercial purposes only"
|
|
|
|
NO_CDROM= "Sale for profit is not permitted"
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2001-12-29 10:25:54 +00:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2001-12-26 16:12:17 +00:00
|
|
|
|
|
|
|
MAN1= eagle.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${DATADIR} --unlink -xf -
|
|
|
|
${LN} -sf ${DATADIR}/bin/eagle ${PREFIX}/bin/eagle
|
|
|
|
${INSTALL_MAN} ${DATADIR}/man/eagle.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
post-install:
|
2001-12-29 10:25:54 +00:00
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
|
|
|
|
${PKGMESSAGE}
|
|
|
|
.if !defined(BATCH)
|
2001-12-26 16:12:17 +00:00
|
|
|
@${ECHO_MSG}
|
2001-12-29 10:25:54 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-12-26 16:12:17 +00:00
|
|
|
@${ECHO_MSG}
|
2001-12-29 10:25:54 +00:00
|
|
|
.endif
|
2001-12-26 16:12:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|