aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-27 23:38:43 +0800
committerarved <arved@FreeBSD.org>2003-01-27 23:38:43 +0800
commit2c0b759b74025fbae5d47aad5b5ae602d156ef9d (patch)
tree9b2150d313ef523b62a31eb7ebf63a62fc372dd6 /cad
parent015c9e9916e1a54f6f3d3bc25b2e37f8ea556a24 (diff)
downloadfreebsd-ports-gnome-2c0b759b74025fbae5d47aad5b5ae602d156ef9d.tar.gz
freebsd-ports-gnome-2c0b759b74025fbae5d47aad5b5ae602d156ef9d.tar.zst
freebsd-ports-gnome-2c0b759b74025fbae5d47aad5b5ae602d156ef9d.zip
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>
Diffstat (limited to 'cad')
-rw-r--r--cad/linux-eagle/Makefile11
-rw-r--r--cad/linux-eagle/pkg-plist1
-rw-r--r--cad/linux-eagle5/Makefile11
-rw-r--r--cad/linux-eagle5/pkg-plist1
4 files changed, 14 insertions, 10 deletions
diff --git a/cad/linux-eagle/Makefile b/cad/linux-eagle/Makefile
index 9adbfb458fac..a510e912cdf5 100644
--- a/cad/linux-eagle/Makefile
+++ b/cad/linux-eagle/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-eagle/pkg-plist b/cad/linux-eagle/pkg-plist
index 38c9045f8cf1..0a79eb2102c5 100644
--- a/cad/linux-eagle/pkg-plist
+++ b/cad/linux-eagle/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
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