Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 18:58:38 GMT
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171011: Create a netty.jar symlink pointing at the current version
Message-ID:  <201208241858.q7OIwc9i045026@red.freebsd.org>
Resent-Message-ID: <201208241900.q7OJ07sW056425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171011
>Category:       ports
>Synopsis:       Create a netty.jar symlink pointing at the current version
>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:   Fri Aug 24 19:00:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steven Kreuzer
>Release:        8.2-RELEASE-p9
>Organization:
>Environment:
>Description:
symlink %%JAVAJARDIR%%/netty.jar to %%JAVAJARDIR%%/netty-${PORTVERSION}
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 303025)
+++ Makefile	(working copy)
@@ -8,6 +8,7 @@
 PORTNAME=	netty
 PORTVERSION=	3.2.3
 DISTVERSIONSUFFIX=.Final-dist
+PORTREVISION=	1
 CATEGORIES=	java devel
 MASTER_SITES=	SF/jboss/Netty%20Project/Netty%20${PORTVERSION}.Final/
 
@@ -24,7 +25,8 @@
 DOCSDIR=	${PREFIX}/share/doc/${UNIQUENAME}
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}.Final
 
-PLIST_FILES=	%%JAVAJARDIR%%/netty-${PORTVERSION}.jar
+PLIST_FILES=	%%JAVAJARDIR%%/netty-${PORTVERSION}.jar \
+		%%JAVAJARDIR%%/netty.jar
 
 PORTDATA=	*
 .if !defined(NOPORTDOCS)
@@ -37,6 +39,7 @@
 	${MKDIR} ${JAVAJARDIR}
 	${INSTALL_DATA} ${WRKSRC}/jar/netty-${PORTVERSION}.Final.jar ${JAVAJARDIR}/netty-${PORTVERSION}.jar
 	cd ${WRKSRC} && ${COPYTREE_SHARE} src ${DATADIR}
+	${LN} -nfs ${JAVAJARDIR}/netty-${PORTVERSION}.jar ${JAVAJARDIR}/netty.jar
 
 .if !defined(NOPORTDOCS)
 	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}


>Release-Note:
>Audit-Trail:
>Unformatted:



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