Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 16:53:05 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405644 - head/www/grails
Message-ID:  <201601091653.u09Gr5fQ047813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Jan  9 16:53:04 2016
New Revision: 405644
URL: https://svnweb.freebsd.org/changeset/ports/405644

Log:
  - Remove deprecated @dirrm
  - Use option helper
  - Add NO_ARCH
  
  Approved by:	portmgr blanket

Modified:
  head/www/grails/Makefile

Modified: head/www/grails/Makefile
==============================================================================
--- head/www/grails/Makefile	Sat Jan  9 16:26:04 2016	(r405643)
+++ head/www/grails/Makefile	Sat Jan  9 16:53:04 2016	(r405644)
@@ -16,6 +16,7 @@ USES=		zip
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
+NO_ARCH=	yes
 DATADIR=	${JAVASHAREDIR}/${PORTNAME}
 DATAFILES=	LICENSE README build.gradle build.properties gradle.properties \
 		gradlew conf dist gradle lib media plugins scripts src
@@ -43,6 +44,8 @@ do-install:
 	@${LN} -fs ${DATADIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file}
 .endfor
 	@${ECHO_MSG} " [ DONE ]"
+
+do-install-DOCS-on:
 	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
 	@cd ${WRKSRC}/doc \
 	  && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
@@ -52,8 +55,5 @@ do-install:
 post-install:
 	@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \
 	  ${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-	@${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d 2>/dev/null | \
-	  ${SED} -ne 's,^${WRKSRC},@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-	@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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