aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-08-12 18:57:48 +0800
committerleeym <leeym@FreeBSD.org>2003-08-12 18:57:48 +0800
commit2f356c4c51a5527a0a19e436acb2f31f0739a6ae (patch)
tree309f810157d574090469adecc9d2159d6e63724a /irc
parent2345278d2262c9e8c666c585ea171052338459fd (diff)
downloadfreebsd-ports-gnome-2f356c4c51a5527a0a19e436acb2f31f0739a6ae.tar.gz
freebsd-ports-gnome-2f356c4c51a5527a0a19e436acb2f31f0739a6ae.tar.zst
freebsd-ports-gnome-2f356c4c51a5527a0a19e436acb2f31f0739a6ae.zip
Correctly use DOCSDIR (as recommended by portlint).
Also used JAVAJARDIR in Makefile. PR: 55459 Submitted by: Tim Bishop <tim@bishnet.net>
Diffstat (limited to 'irc')
-rw-r--r--irc/pircbot/Makefile10
-rw-r--r--irc/pircbot/pkg-plist96
2 files changed, 53 insertions, 53 deletions
diff --git a/irc/pircbot/Makefile b/irc/pircbot/Makefile
index 026010a08acd..d02573ff4293 100644
--- a/irc/pircbot/Makefile
+++ b/irc/pircbot/Makefile
@@ -20,20 +20,20 @@ NO_BUILD= yes
USE_JAVA= 1.1+
do-install:
- ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${PREFIX}/share/java/classes
+ ${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/pircbot
- (cd ${WRKSRC}/javadocs && ${TAR} -cf - . | ${TAR} -xf - -C ${PREFIX}/share/doc/pircbot)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/javadocs && ${TAR} -cf - . | ${TAR} -xf - -C ${DOCSDIR})
.endif
post-install:
@echo " ---------------------------------------------------------------"
- @echo " To use pircbot add ${PREFIX}/share/java/classes/pircbot.jar to"
+ @echo " To use pircbot add ${JAVAJARDIR}/pircbot.jar to"
@echo " your classpath. A short tutorial can be found here:"
@echo " http://www.jibble.org/pircbot.php"
.if !defined(NOPORTDOCS)
@echo " pircbot javadoc documentation has also been installed in:"
- @echo " ${PREFIX}/share/doc/pircbot"
+ @echo " ${DOCSDIR}"
.endif
@echo " ---------------------------------------------------------------"
diff --git a/irc/pircbot/pkg-plist b/irc/pircbot/pkg-plist
index 51580ed317a2..2555f1d1664b 100644
--- a/irc/pircbot/pkg-plist
+++ b/irc/pircbot/pkg-plist
@@ -1,49 +1,49 @@
share/java/classes/pircbot.jar
-%%PORTDOCS%%share/doc/pircbot/constant-values.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/NickAlreadyInUseException.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/DccChat.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/DccFileTransfer.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/DccManager.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/IdentServer.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/InputThread.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/IrcException.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/OutputThread.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/PircBot.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/Queue.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/Colors.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/ReplyConstants.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/class-use/User.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-use.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-frame.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-summary.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/package-tree.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/DccChat.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/DccFileTransfer.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/DccManager.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/IdentServer.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/InputThread.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/OutputThread.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/PircBot.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/Queue.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/IrcException.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/NickAlreadyInUseException.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/Colors.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/ReplyConstants.html
-%%PORTDOCS%%share/doc/pircbot/org/jibble/pircbot/User.html
-%%PORTDOCS%%share/doc/pircbot/overview-tree.html
-%%PORTDOCS%%share/doc/pircbot/index-all.html
-%%PORTDOCS%%share/doc/pircbot/deprecated-list.html
-%%PORTDOCS%%share/doc/pircbot/allclasses-frame.html
-%%PORTDOCS%%share/doc/pircbot/allclasses-noframe.html
-%%PORTDOCS%%share/doc/pircbot/index.html
-%%PORTDOCS%%share/doc/pircbot/packages.html
-%%PORTDOCS%%share/doc/pircbot/serialized-form.html
-%%PORTDOCS%%share/doc/pircbot/package-list
-%%PORTDOCS%%share/doc/pircbot/help-doc.html
-%%PORTDOCS%%share/doc/pircbot/pircbot-style.css
-%%PORTDOCS%%share/doc/pircbot/stylesheet.css
-%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble/pircbot/class-use
-%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble/pircbot
-%%PORTDOCS%%@dirrm share/doc/pircbot/org/jibble
-%%PORTDOCS%%@dirrm share/doc/pircbot/org
-%%PORTDOCS%%@dirrm share/doc/pircbot
+%%PORTDOCS%%%%DOCSDIR%%/constant-values.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/NickAlreadyInUseException.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/DccChat.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/DccFileTransfer.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/DccManager.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/IdentServer.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/InputThread.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/IrcException.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/OutputThread.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/PircBot.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/Queue.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/Colors.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/ReplyConstants.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/class-use/User.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/package-use.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/package-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/package-summary.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/package-tree.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/DccChat.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/DccFileTransfer.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/DccManager.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/IdentServer.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/InputThread.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/OutputThread.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/PircBot.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/Queue.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/IrcException.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/NickAlreadyInUseException.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/Colors.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/ReplyConstants.html
+%%PORTDOCS%%%%DOCSDIR%%/org/jibble/pircbot/User.html
+%%PORTDOCS%%%%DOCSDIR%%/overview-tree.html
+%%PORTDOCS%%%%DOCSDIR%%/index-all.html
+%%PORTDOCS%%%%DOCSDIR%%/deprecated-list.html
+%%PORTDOCS%%%%DOCSDIR%%/allclasses-frame.html
+%%PORTDOCS%%%%DOCSDIR%%/allclasses-noframe.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/packages.html
+%%PORTDOCS%%%%DOCSDIR%%/serialized-form.html
+%%PORTDOCS%%%%DOCSDIR%%/package-list
+%%PORTDOCS%%%%DOCSDIR%%/help-doc.html
+%%PORTDOCS%%%%DOCSDIR%%/pircbot-style.css
+%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/org/jibble/pircbot/class-use
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/org/jibble/pircbot
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/org/jibble
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/org
+%%PORTDOCS%%@dirrm %%DOCSDIR%%