Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 22:01:35 +0000 (UTC)
From:      Tim Bishop <tdb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353527 - in head: graphics/jalbum irc/pircbot irc/pircbot/files
Message-ID:  <201405092201.s49M1ZNv002300@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tdb
Date: Fri May  9 22:01:34 2014
New Revision: 353527
URL: http://svnweb.freebsd.org/changeset/ports/353527
QAT: https://qat.redports.org/buildarchive/r353527/

Log:
  - Stage support

Added:
  head/irc/pircbot/files/
  head/irc/pircbot/files/pkg-message.in   (contents, props changed)
Modified:
  head/graphics/jalbum/Makefile
  head/irc/pircbot/Makefile

Modified: head/graphics/jalbum/Makefile
==============================================================================
--- head/graphics/jalbum/Makefile	Fri May  9 21:57:56 2014	(r353526)
+++ head/graphics/jalbum/Makefile	Fri May  9 22:01:34 2014	(r353527)
@@ -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>

Modified: head/irc/pircbot/Makefile
==============================================================================
--- head/irc/pircbot/Makefile	Fri May  9 21:57:56 2014	(r353526)
+++ head/irc/pircbot/Makefile	Fri May  9 22:01:34 2014	(r353527)
@@ -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
+SUB_FILES=	pkg-message
+SUB_LIST=	JAVAJARDIR=${JAVAJARDIR}
+
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${JAVAJARDIR}
-.ifndef(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${CP} -r ${WRKSRC}/javadocs/* ${DOCSDIR}/
-.endif
-
-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} "    ---------------------------------------------------------------"
+	${INSTALL_DATA} ${WRKSRC}/pircbot.jar ${STAGEDIR}${JAVAJARDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} -r ${WRKSRC}/javadocs/* ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Added: head/irc/pircbot/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/pircbot/files/pkg-message.in	Fri May  9 22:01:34 2014	(r353527)
@@ -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%%
+---------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405092201.s49M1ZNv002300>