aboutsummaryrefslogtreecommitdiffstats
path: root/cad/linux-eagle5
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-29 18:25:54 +0800
committersobomax <sobomax@FreeBSD.org>2001-12-29 18:25:54 +0800
commita25bd4d7b28057f0050f2931d08b4e6cdbd1f52f (patch)
tree59971234ffccb16119501519c1fc5f73bf5d8ecc /cad/linux-eagle5
parent101058cb0a30836efed37baac435dd08b84699f3 (diff)
downloadfreebsd-ports-gnome-a25bd4d7b28057f0050f2931d08b4e6cdbd1f52f.tar.gz
freebsd-ports-gnome-a25bd4d7b28057f0050f2931d08b4e6cdbd1f52f.tar.zst
freebsd-ports-gnome-a25bd4d7b28057f0050f2931d08b4e6cdbd1f52f.zip
Add message explaining that after installation the user have to run the program
as root in order to create registration key in ${DATADIR}. PR: 33286 Submitted by: David <ddavid_3@yahoo.com>
Diffstat (limited to 'cad/linux-eagle5')
-rw-r--r--cad/linux-eagle5/Makefile10
-rw-r--r--cad/linux-eagle5/pkg-message6
2 files changed, 12 insertions, 4 deletions
diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile
index df8f84656610..28f3a93bcdb2 100644
--- a/cad/linux-eagle5/Makefile
+++ b/cad/linux-eagle5/Makefile
@@ -26,7 +26,7 @@ RESTRICTED= "Usage permitted for non-commercial purposes only"
NO_CDROM= "Sale for profit is not permitted"
NO_BUILD= yes
-NO_FILTER_SHLIBS= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
MAN1= eagle.1
@@ -37,10 +37,12 @@ do-install:
${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}
- @${ECHO_MSG} "After installation please enter the command \`eagle' to invoke the product"
- @${ECHO_MSG} "registration (you need to have WRITE ACCESS to ${DATADIR}/bin"
- @${ECHO_MSG} "directory for doing this)."
+ @${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
+.endif
.include <bsd.port.mk>
diff --git a/cad/linux-eagle5/pkg-message b/cad/linux-eagle5/pkg-message
new file mode 100644
index 000000000000..f75da4463604
--- /dev/null
+++ b/cad/linux-eagle5/pkg-message
@@ -0,0 +1,6 @@
+Eagle needs to be run as "root" first, in order to have write access
+to %%PREFIX%%/share/eagle to write a program key file.
+
+Once this has been done, you can delete the "eagle" directory in your
+/root directory, which is created during the initially startup, and
+run it as a normal user.