Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 23:50:20 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332323 - head/www/dotproject
Message-ID:  <201310312350.r9VNoKAK016917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Thu Oct 31 23:50:20 2013
New Revision: 332323
URL: http://svnweb.freebsd.org/changeset/ports/332323

Log:
  . Add LICENSE
  . Support STAGE
  . Simplify Makefile

Modified:
  head/www/dotproject/Makefile   (contents, props changed)

Modified: head/www/dotproject/Makefile
==============================================================================
--- head/www/dotproject/Makefile	Thu Oct 31 23:49:35 2013	(r332322)
+++ head/www/dotproject/Makefile	Thu Oct 31 23:50:20 2013	(r332323)
@@ -8,34 +8,25 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	garga@FreeBSD.org
 COMMENT=	Open Source Project Management tool
 
+LICENSE=	GPLv2
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 USE_PHP=	gd mysql session zlib
 WANT_PHP_WEB=	yes
 USE_APACHE_RUN=	22+
+NEED_ROOT=	yes
 
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	LDAP
 OPTIONS_DEFAULT=LDAP
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+=	ldap xml
-.endif
-
-post-extract:
-	@${FIND} ${WRKSRC} -type d -name '.svn' | ${XARGS} ${RM} -rf
-	@${FIND} ${WRKSRC} -type f -name '.cvsignore' -delete
+LDAP_USE=	PHP=ldap PHP=xml
 
 do-install:
-	${MKDIR} ${WWWDIR}
-	${CP} -R ${WRKSRC}/* ${WWWDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -R ${WRKSRC}/* ${STAGEDIR}${WWWDIR}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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