aboutsummaryrefslogtreecommitdiff
path: root/cad
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
parentb907d4a817d9647674d246e40dcf625feb052e6e (diff)
downloadports-2504f939a547a670d20898997479e5231fffe674.tar.gz
ports-2504f939a547a670d20898997479e5231fffe674.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/linux-eagle/Makefile10
-rw-r--r--cad/linux-eagle/pkg-message6
-rw-r--r--cad/linux-eagle5/Makefile10
-rw-r--r--cad/linux-eagle5/pkg-message6
4 files changed, 24 insertions, 8 deletions
diff --git a/cad/linux-eagle/Makefile b/cad/linux-eagle/Makefile
index df8f84656610..28f3a93bcdb2 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 000000000000..f75da4463604
--- /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.
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.