svn commit: r420241 - head/www/phpbb3

Pawel Pekala pawel at FreeBSD.org
Mon Aug 15 15:24:32 UTC 2016


Author: pawel
Date: Mon Aug 15 15:24:31 2016
New Revision: 420241
URL: https://svnweb.freebsd.org/changeset/ports/420241

Log:
  - Update maintainer's email [1]
  - Port is architecture neutral
  - Use option helper for DOCS installation
  
  PR:		211747 [1]
  Submitted by:	Jochen Neumeister (maintainer) [1]

Modified:
  head/www/phpbb3/Makefile

Modified: head/www/phpbb3/Makefile
==============================================================================
--- head/www/phpbb3/Makefile	Mon Aug 15 15:12:00 2016	(r420240)
+++ head/www/phpbb3/Makefile	Mon Aug 15 15:24:31 2016	(r420241)
@@ -8,7 +8,7 @@ MASTER_SITES=	https://www.phpbb.com/file
 PKGNAMESUFFIX=	3
 DISTNAME=	phpBB-${PORTVERSION}
 
-MAINTAINER=	jochen at jochen-neumeister.de
+MAINTAINER=	joneum at bsdproject.de
 COMMENT=	PHP-based bulletin board / discussion forum system
 
 LICENSE=	GPLv2
@@ -25,6 +25,7 @@ PHPBBURL?=	phpBB3
 
 WRKSRC=		${WRKDIR}/phpBB3
 NO_BUILD=	yes
+NO_ARCH=	yes
 SUB_FILES=	pkg-message
 SUB_LIST=	PHPBBURL="${PHPBBURL}" \
 		PHPBBDIR="${PHPBBDIR}"
@@ -35,8 +36,6 @@ PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
 PKGOPTS=	${FILESDIR}/pkg-opts
 PORTDOCS=	*
 
-.include <bsd.port.options.mk>
-
 options:
 	@${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
 	@${CAT} ${PKGOPTS}
@@ -50,11 +49,11 @@ pre-everything::
 .endif
 
 do-install:
-.	if ${PORT_OPTIONS:MDOCS}
-		@${MKDIR} ${STAGEDIR}${DOCSDIR}
-		cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.	endif
 	${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR}
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list