blob: 7720f4243085156613548b9c4a5496a2cef3a147 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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= michael@fun-box.ru
COMMENT= Java NIO client server framework
LICENSE= ASL
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>
|