aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/edonkey-gui-gtk-urlslave/Makefile5
-rw-r--r--net/edonkey-gui-gtk-urlslave/pkg-message9
2 files changed, 13 insertions, 1 deletions
diff --git a/net/edonkey-gui-gtk-urlslave/Makefile b/net/edonkey-gui-gtk-urlslave/Makefile
index 4e9d735b1e4a..54fcd2c8d3cb 100644
--- a/net/edonkey-gui-gtk-urlslave/Makefile
+++ b/net/edonkey-gui-gtk-urlslave/Makefile
@@ -23,7 +23,7 @@ NO_BUILD= yes
BINARY_NAME= ed2k_urlslave
post-extract:
- @${GREP} '#' ${WRKSRC}/${BINARY_NAME} > ${WRKDIR}/README
+ @${GREP} '^#' ${WRKSRC}/${BINARY_NAME} | ${GREP} -v '/usr/bin/perl' > ${WRKDIR}/README
post-patch:
@${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${BINARY_NAME}
@@ -36,4 +36,7 @@ do-install:
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
+post-install:
+ @${SED} -e 's|/usr/local/|${PREFIX}/|' ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/net/edonkey-gui-gtk-urlslave/pkg-message b/net/edonkey-gui-gtk-urlslave/pkg-message
new file mode 100644
index 000000000000..5f8ba719ce95
--- /dev/null
+++ b/net/edonkey-gui-gtk-urlslave/pkg-message
@@ -0,0 +1,9 @@
+ ATTENTIONATTENTION:
+
+Please make sure that you read
+/usr/local/share/doc/edonkey-gui-gtk-urlslave/README. It contains important
+information about configuring and finally enabling edonkey-gui-gtk-urlslave
+within the GNOME Desktop.
+
+This port/package merely installed the program, you now need to
+configure it and enable it.