1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/java/netty/Makefile
Thomas Abthorpe e0ac1afbf4 - The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
2012-01-09 15:41:08 +00:00

46 lines
1.0 KiB
Makefile

# ports collection makefile for: netty
# Date created: 2011-01-16
# Whom: Mikhail T. <michael@fun-box.ru>
#
# $FreeBSD$
#
PORTNAME= netty
PORTVERSION= 3.2.3
DISTVERSIONSUFFIX=.Final-dist
CATEGORIES= java devel
MASTER_SITES= SF/jboss/Netty%20Project/Netty%20${PORTVERSION}.Final/
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= Java NIO client server framework
LICENSE= AL2
USE_JAVA= yes
USE_BZIP2= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
DATADIR= ${PREFIX}/share/${UNIQUENAME}
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.Final
PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar
PORTDATA= *
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/jar/netty-${PORTVERSION}.Final.jar ${JAVAJARDIR}/netty-${PORTVERSION}.jar
cd ${WRKSRC} && ${COPYTREE_SHARE} src ${DATADIR}
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.post.mk>