aboutsummaryrefslogtreecommitdiff
path: root/cad/linux-eagle5
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-01-27 15:38:43 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-01-27 15:38:43 +0000
commit805150e26f5a4ad51c5308805c60dd3d668cb803 (patch)
treed8ecc6159cc3289475547f60b8ff21353f2593b6 /cad/linux-eagle5
parent0dd0d0dc84c1440f25737ec1fd9fd498ee60225a (diff)
downloadports-805150e26f5a4ad51c5308805c60dd3d668cb803.tar.gz
ports-805150e26f5a4ad51c5308805c60dd3d668cb803.zip
Notes
Diffstat (limited to 'cad/linux-eagle5')
-rw-r--r--cad/linux-eagle5/Makefile11
-rw-r--r--cad/linux-eagle5/pkg-plist1
2 files changed, 7 insertions, 5 deletions
diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile
index 9adbfb458fac..a510e912cdf5 100644
--- a/cad/linux-eagle5/Makefile
+++ b/cad/linux-eagle5/Makefile
@@ -9,6 +9,7 @@ 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}
@@ -31,11 +32,13 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= eagle.1
+CPIO?= /usr/bin/cpio --quiet -pdum -R
+
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
+ @${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 > \
diff --git a/cad/linux-eagle5/pkg-plist b/cad/linux-eagle5/pkg-plist
index 38c9045f8cf1..0a79eb2102c5 100644
--- a/cad/linux-eagle5/pkg-plist
+++ b/cad/linux-eagle5/pkg-plist
@@ -651,7 +651,6 @@ share/eagle/ulp/ulpmessage.ulp
share/eagle/ulp/unidat.ulp
share/eagle/ulp/useful-routines.ulp
share/eagle/ulp/warning.bmp
-share/eagle/uninstall
@unexec rm -f %D/share/eagle/bin/eagle.key || true
@dirrm share/eagle/ulp
@dirrm share/eagle/scr