summaryrefslogtreecommitdiff
path: root/cad/linux-eagle5
diff options
context:
space:
mode:
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.