1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/cad/linux-eagle/Makefile
Tilman Keskinoz 805150e26f Use cpio instead of tar to fix permission problems.
Remove a file from pkg-plist. Bump PORTREVISION

PR:		47532
Submitted by:	Thomas E. Zander <riggs@hadiko.de>
2003-01-27 15:38:43 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: linux-eagle
# Date created: 29 December 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= linux-eagle
EAGLEVERSION?= 4.09r2
EAGLELANG?= e
PORTVERSION= ${EAGLEVERSION:S/r/./}
PORTREVISION?= 1
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
RUN_DEPENDS= ${LINUXBASE}/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
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}
@${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>