Date: Thu, 4 Feb 2010 09:55:06 GMT From: Jani Kaarela <jani.kaarela@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143544: Upgrade www/grails to version 1.2.1 Message-ID: <201002040955.o149t6Yw016696@www.freebsd.org> Resent-Message-ID: <201002041000.o14A03nd089509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143544 >Category: ports >Synopsis: Upgrade www/grails to version 1.2.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 04 10:00:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jani Kaarela >Release: 8.0-RELEASE >Organization: Fifth Element Oy >Environment: >Description: Version 1.2.1 of Grails is out, the port needs to be updated. >How-To-Repeat: >Fix: Patch attached with submission follows: --- grails/Makefile 2010-01-13 08:31:52.000000000 +0200 +++ grails-1.2.1/Makefile 2010-02-04 11:43:24.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= grails -DISTVERSION= 1.2.0 +DISTVERSION= 1.2.1 CATEGORIES= www java MASTER_SITES= http://dist.codehaus.org/grails/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -21,14 +21,16 @@ JAVA_VERSION= 1.5+ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} -DATAFILES= LICENSE build.properties build.xml ant conf dist media lib \ - scripts src +DATAFILES= LICENSE README build.properties build.xml ant conf cruise \ + dist lib media plugins samples scripts src SCRIPTFILES= grails grails-debug startGrails .if !defined(NOPORTDOCS) PORTDOCS= api guide index.html css img ref .endif -PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} +PLIST_FILES= ${SCRIPTFILES:S,^,bin/,} \ + ${SCRIPTFILES:S,^,${DATADIR:S,${PREFIX}/,,}/bin/,} +PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}/bin SUB_FILES= set-grails_home.sed pkg-message do-install: @@ -37,11 +39,13 @@ && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \ && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing executables in ${PREFIX}/bin..." + @${ECHO_MSG} -n ">> Installing and symlinking executables..." + @${MKDIR} ${DATADIR}/bin @${REINPLACE_CMD} -f ${WRKDIR}/set-grails_home.sed ${WRKSRC}/bin/startGrails .for file in ${SCRIPTFILES} @${ECHO_MSG} -n " ${file}" - @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${PREFIX}/bin/ + @${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${DATADIR}/bin/${file} + @${LN} -fs ${DATADIR}/bin/${file} ${PREFIX}/bin/${file} .endfor @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002040955.o149t6Yw016696>