aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-05-26 11:28:16 +0800
committernovel <novel@FreeBSD.org>2005-05-26 11:28:16 +0800
commit7cf91972f6dcbb6ef93db774cd14e19a21ff5906 (patch)
treefe9a316e8a424bd81d6b2d9e533461511813aca7 /deskutils
parent14b95c88ab2c1a85c545d5566e87443a0aaba19c (diff)
downloadfreebsd-ports-gnome-7cf91972f6dcbb6ef93db774cd14e19a21ff5906.tar.gz
freebsd-ports-gnome-7cf91972f6dcbb6ef93db774cd14e19a21ff5906.tar.zst
freebsd-ports-gnome-7cf91972f6dcbb6ef93db774cd14e19a21ff5906.zip
- Install documentation
- Add pkg-message which informs that desklets are designed to be installed manually by user and there are no ports for them
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/adesklets/Makefile15
-rw-r--r--deskutils/adesklets/files/pkg-message.in11
2 files changed, 26 insertions, 0 deletions
diff --git a/deskutils/adesklets/Makefile b/deskutils/adesklets/Makefile
index 7b9b6cd41408..7ce6044945a9 100644
--- a/deskutils/adesklets/Makefile
+++ b/deskutils/adesklets/Makefile
@@ -25,4 +25,19 @@ MAN1= adesklets.1
INFO= adesklets \
adesklets_fr
+SUB_FILES= pkg-message
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *.html
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for i in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/html/en/${i} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/deskutils/adesklets/files/pkg-message.in b/deskutils/adesklets/files/pkg-message.in
new file mode 100644
index 000000000000..75c5d88805fa
--- /dev/null
+++ b/deskutils/adesklets/files/pkg-message.in
@@ -0,0 +1,11 @@
+
+--------------------------------------------------------------------------
+adesklets comes without any desklet by default. Desklets are intended to
+be installed by user, so there are no ports for them. They all are
+availbe here: http://adesklets.sourceforge.net/desklets.html
+
+Read documentation: %%DOCSDIR%%
+(unless build with NOPORTDOCS) or http://adesklets.sourceforge.net/doc/en/
+to know how to install it.
+--------------------------------------------------------------------------
+