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

PORTNAME=   netcomponents
PORTVERSION=    1.3.8
PORTREVISION=   2
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

RESTRICTED= May not redistribute except as part of a new software product

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>