summaryrefslogtreecommitdiffstats
path: root/cad/linux-eagle
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-12-29 10:25:54 +0000
committersobomax <sobomax@FreeBSD.org>2001-12-29 10:25:54 +0000
commita25bd4d7b28057f0050f2931d08b4e6cdbd1f52f (patch)
tree59971234ffccb16119501519c1fc5f73bf5d8ecc /cad/linux-eagle
parent101058cb0a30836efed37baac435dd08b84699f3 (diff)
downloadFreeBSD-ports-a25bd4d7b28057f0050f2931d08b4e6cdbd1f52f.zip
FreeBSD-ports-a25bd4d7b28057f0050f2931d08b4e6cdbd1f52f.tar.gz
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-eagle')
-rw-r--r--cad/linux-eagle/Makefile10
-rw-r--r--cad/linux-eagle/pkg-message6
2 files changed, 12 insertions, 4 deletions
diff --git a/cad/linux-eagle/Makefile b/cad/linux-eagle/Makefile
index df8f846..28f3a93 100644
--- a/cad/linux-eagle/Makefile
+++ b/cad/linux-eagle/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-eagle/pkg-message b/cad/linux-eagle/pkg-message
new file mode 100644
index 0000000..f75da44
--- /dev/null
+++ b/cad/linux-eagle/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.
OpenPOWER on IntegriCloud