blob: 62097010daad43354096639f2a2851f43d7ea75f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: linux-eagle
# Date created: 29 December 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= linux-eagle
EAGLEVERSION?= 4.11
EAGLELANG?= e
PORTVERSION= ${EAGLEVERSION:S/r/./}
CATEGORIES?= cad linux
MASTER_SITES= ftp://ftp.cadsoft.de/pub/program/${EAGLEVERSION}/
DISTNAME= ${PORTNAME:S/linux-//}-${EAGLEVERSION}${EAGLELANG}
EXTRACT_SUFX= .tgz
MAINTAINER?= riggs@rrr.de
COMMENT?= An easy to use, yet powerful tool for designing printed circuit boards
RUN_DEPENDS= ${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
CONFLICTS?= de-linux-eagle-*
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME:S/linux-//}-${EAGLEVERSION}
DATADIR= ${PREFIX}/share/${PORTNAME:S/linux-//}
RESTRICTED= "Usage permitted for non-commercial purposes only"
NO_CDROM= "Sale for profit is not permitted"
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= eagle.1
CPIO?= /usr/bin/cpio --quiet -pdum -R
do-install:
@${MKDIR} ${DATADIR}
@ cd ${WRKSRC} && ${FIND} * -type f -print | ${CPIO} ${BINOWN}:${BINGRP} ${DATADIR}
@ cd ${DATADIR} && ${FIND} * -type d -print | ${XARGS} ${CHMOD} 0755
@${LN} -sf ${DATADIR}/bin/eagle ${PREFIX}/bin/eagle
@${INSTALL_MAN} ${DATADIR}/man/eagle.1 ${PREFIX}/man/man1
post-install:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
${PKGMESSAGE}
.if !defined(BATCH)
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.endif
.include <bsd.port.mk>
|