diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-27 15:38:43 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-01-27 15:38:43 +0000 |
commit | 805150e26f5a4ad51c5308805c60dd3d668cb803 (patch) | |
tree | d8ecc6159cc3289475547f60b8ff21353f2593b6 /cad/linux-eagle | |
parent | Add Entry for linux-eagle ports, from ports Makefile: (diff) |
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>
Notes
Notes:
svn path=/head/; revision=74087
Diffstat (limited to 'cad/linux-eagle')
-rw-r--r-- | cad/linux-eagle/Makefile | 11 | ||||
-rw-r--r-- | cad/linux-eagle/pkg-plist | 1 |
2 files changed, 7 insertions, 5 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 |