svn commit: r418763 - head/graphics/deegree-igeoportal

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jul 19 09:00:33 UTC 2016


Author: amdmi3
Date: Tue Jul 19 09:00:31 2016
New Revision: 418763
URL: https://svnweb.freebsd.org/changeset/ports/418763

Log:
  - Add LICENSE
  - Switch to options helpers
  - Cosmetic fixes

Modified:
  head/graphics/deegree-igeoportal/Makefile

Modified: head/graphics/deegree-igeoportal/Makefile
==============================================================================
--- head/graphics/deegree-igeoportal/Makefile	Tue Jul 19 06:43:52 2016	(r418762)
+++ head/graphics/deegree-igeoportal/Makefile	Tue Jul 19 09:00:31 2016	(r418763)
@@ -12,6 +12,8 @@ DISTNAME=	${PORTNAME}-std_${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Browser based client handling WMS, WFS, and proxy service
 
+LICENSE=	LGPL21+
+
 USES=		zip
 USE_JAVA=	1.6+
 
@@ -34,14 +36,14 @@ OPTIONS_DEFINE=	DOCS
 
 .if ${PORT_OPTIONS:MTOMCAT6}
 TOMCATVER=	apache-tomcat-6.0
-TCPORT=	8180
+TCPORT=		8180
 BUILD_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat6
 RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat6
 .endif
 
 .if ${PORT_OPTIONS:MTOMCAT7}
 TOMCATVER=	apache-tomcat-7.0
-TCPORT=	8080
+TCPORT=		8080
 BUILD_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat7
 RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:www/tomcat7
 .endif
@@ -51,10 +53,11 @@ post-extract:
 	@${TAR} xf ${WRKDIR}/igeoportal-std.war -C ${WRKDIR}/${PORTDIRNAME}
 
 do-install:
-	${INSTALL} -d ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
+	@${MKDIR} ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
 	@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
 
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list