aboutsummaryrefslogtreecommitdiffstats
path: root/java/netcomponents/Makefile
blob: c06f9711ed549dc16cbe28abc4052ee16181c5c9 (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
# New ports collection makefile for:    NetComponents
# Date created:             November 9, 2002
# Whom:                 Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#

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

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

USE_JAVA=   1.1+
USE_ZIP=    yes
WRKSRC=     ${WRKDIR}/NetComponents-1.3.8a
NO_BUILD=   yes

JAVASHAREDIR=   ${PREFIX}/share/java
JARDIR=     ${JAVASHAREDIR}/classes
JARFILE=    NetComponents.jar

do-install:
    @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}..."
    @${CP} ${WRKSRC}/${JARFILE} ${JARDIR}/
    @${ECHO} " [ DONE ]"

    @${ECHO} -n ">> Fixing permissions..."
    @${CHMOD} 644 ${JARDIR}/${JARFILE}
    @${ECHO} " [ DONE ]"

.include <bsd.port.mk>