mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
This commit is contained in:
parent
256e6797b3
commit
78e2945cc4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353527
@ -23,10 +23,9 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
||||
|
||||
SUB_FILES= jalbum.sh
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC} && ${TAR} -cf - * | ${TAR} -xf - -C ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/jalbum.sh ${PREFIX}/bin/jalbum
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
cd ${WRKSRC} && ${TAR} -cf - * | ${TAR} -xf - -C ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/jalbum.sh ${STAGEDIR}${PREFIX}/bin/jalbum
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -6,34 +6,24 @@ PORTVERSION= 1.5.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= irc java
|
||||
MASTER_SITES= http://www.jibble.org/files/ \
|
||||
ftp://ftp.i-scream.org/pub/www.jibble.org/files/ \
|
||||
http://www.i-scream.org/pub/www.jibble.org/files/
|
||||
|
||||
MAINTAINER= tdb@FreeBSD.org
|
||||
COMMENT= PircBot Java IRC Bot Framework
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= zip
|
||||
NO_BUILD= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_JAVA= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${JAVAJARDIR}
|
||||
.ifndef(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${CP} -r ${WRKSRC}/javadocs/* ${DOCSDIR}/
|
||||
.endif
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= JAVAJARDIR=${JAVAJARDIR}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} " ---------------------------------------------------------------"
|
||||
@${ECHO_MSG} " To use pircbot add ${JAVAJARDIR}/pircbot.jar to"
|
||||
@${ECHO_MSG} " your classpath. A short tutorial can be found here:"
|
||||
@${ECHO_MSG} " http://www.jibble.org/pircbot.php"
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} " pircbot javadoc documentation has also been installed in:"
|
||||
@${ECHO_MSG} " ${DOCSDIR}"
|
||||
.endif
|
||||
@${ECHO_MSG} " ---------------------------------------------------------------"
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${STAGEDIR}${JAVAJARDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${CP} -r ${WRKSRC}/javadocs/* ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
9
irc/pircbot/files/pkg-message.in
Normal file
9
irc/pircbot/files/pkg-message.in
Normal file
@ -0,0 +1,9 @@
|
||||
---------------------------------------------------------------
|
||||
To use pircbot add %%JAVAJARDIR%%/pircbot.jar to
|
||||
your classpath. A short tutorial can be found here:
|
||||
http://www.jibble.org/pircbot.php
|
||||
|
||||
If you have the DOCS option enabled the pircbot javadoc
|
||||
documentation will also have been installed in:
|
||||
%%DOCSDIR%%
|
||||
---------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user