summaryrefslogtreecommitdiff
path: root/cad/linux-eagle5
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-12-29 10:25:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-12-29 10:25:54 +0000
commit2504f939a547a670d20898997479e5231fffe674 (patch)
treedf018168d758f970c5ada05df89040b2e5409644 /cad/linux-eagle5
parentAdd freebirth 0.3.2, a bass synthesizer, step sequencer, and sample (diff)
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>
Notes
Notes: svn path=/head/; revision=52350
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.