Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 02:41:37 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355103 - in head/devel/phpbt: . files
Message-ID:  <201405250241.s4P2fbNj059969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun May 25 02:41:37 2014
New Revision: 355103
URL: http://svnweb.freebsd.org/changeset/ports/355103
QAT: https://qat.redports.org/buildarchive/r355103/

Log:
  Stageify, and switch to SUB_FILES to show pkg-message.

Added:
  head/devel/phpbt/files/
  head/devel/phpbt/files/pkg-message.in
     - copied unchanged from r355102, head/devel/phpbt/pkg-message
Deleted:
  head/devel/phpbt/pkg-message
Modified:
  head/devel/phpbt/Makefile

Modified: head/devel/phpbt/Makefile
==============================================================================
--- head/devel/phpbt/Makefile	Sun May 25 02:30:15 2014	(r355102)
+++ head/devel/phpbt/Makefile	Sun May 25 02:41:37 2014	(r355103)
@@ -18,16 +18,12 @@ USE_PHP=	ctype pcre posix session tokeni
 NO_BUILD=	YES
 PHPBT=		www/data-dist/phpbt
 PLIST_SUB=	PHPBT=${PHPBT}
+SUB_FILES=	pkg-message
+SUB_LIST+=	PHPBT=${PHPBT}
 
-NO_STAGE=	yes
 do-install:
-	-${MKDIR} ${PREFIX}/${PHPBT}
-	@(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${PHPBT})
-	@${CHOWN} -R www:www ${PREFIX}/${PHPBT}
-
-post-install:
-	@${CAT} ${PKGMESSAGE} | \
-	${SED} -e 's|%%PREFIX%%|${PREFIX}|' | \
-	${SED} -e 's|%%PHPBT%%|${PHPBT}|'
+	-${MKDIR} ${STAGEDIR}${PREFIX}/${PHPBT}
+	@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${PHPBT})
+	@${CHOWN} -R www:www ${STAGEDIR}${PREFIX}/${PHPBT}
 
 .include <bsd.port.mk>

Copied: head/devel/phpbt/files/pkg-message.in (from r355102, head/devel/phpbt/pkg-message)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/phpbt/files/pkg-message.in	Sun May 25 02:41:37 2014	(r355103, copy of r355102, head/devel/phpbt/pkg-message)
@@ -0,0 +1,22 @@
+==========================================================================
+
+FreeBSD phpBugTracker installation instructions:
+
+Optional: Install JpGraph (http://www.aditus.nu/jpgraph/) if you
+wish to use it.
+	 
+1. The phpBugTracker distribution has been installed in:
+
+	%%PREFIX%%/%%PHPBT%%
+
+2. With your web browser, surf to this location.  You will be
+   presented with a web page that will help you configure and install
+   the application.
+
+3. After completing the installation, login and start reporting bugs.
+
+* Note: You must have magic_quotes_gpc set to On either in php.ini
+or in .htaccess (see http://www.php.net/manual/en/configuration.php
+for more info).
+
+==========================================================================



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