summaryrefslogtreecommitdiff
path: root/java/netcomponents/Makefile
blob: ae12da6a6ddd6561ef2fe0d49d8fde36ec2937d5 (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
# Created by: Ernst de Haan <znerd@FreeBSD.org>

PORTNAME=	netcomponents
PORTVERSION=	1.3.8
PORTREVISION=	3
CATEGORIES=	java net
MASTER_SITES=	http://www.savarese.org/oro/downloads/
DISTNAME=	NetComponents-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Java library with common network protocol implementations

# Converted from RESTRICTED
LICENSE=	NetComponents
LICENSE_NAME=	NetComponents
LICENSE_TEXT=	May not redistribute except as part of a new software product
LICENSE_PERMS=	auto-accept

PLIST_FILES=	%%JAVAJARDIR%%/${JARFILE}
USES=		zip
USE_JAVA=	yes
WRKSRC=		${WRKDIR}/NetComponents-1.3.8a
NO_BUILD=	yes

JARFILE=	NetComponents.jar

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=		must be manually fetched from ${MASTER_SITES}.  Download\
		${DISTFILES}, place it in ${DISTDIR} and restart this build
.endif

do-install:
	${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}

.include <bsd.port.post.mk>