aboutsummaryrefslogtreecommitdiffstats
path: root/net/jicmp/Makefile
blob: a75eb6bf9169b68891b0f67c146bd864aba9bc60 (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
# New ports collection makefile for:    net/jicmp
# Date created:     24 June 2008
# Whom:         Ryan T. Dean <rtdean@cytherianage.net>
#
# $FreeBSD$
#

PORTNAME=   jicmp
PORTVERSION=    1.0.8
CATEGORIES= net java
MASTER_SITES=   SF/opennms

MAINTAINER= rtdean@cytherianage.net
COMMENT=    A Java native interface (JNI) to ICMP (ping)

USE_JAVA=   yes
JAVA_VERSION=   1.5+
JAVA_BUILD= yes
JAVA_RUN=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  JAVA_HOME=${JAVA_HOME}
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  automake:19

PLIST_FILES=    %%JAVAJARDIR%%/jicmp.jar \
        lib/libjicmp.la \
        lib/libjicmp.so

pre-everything::
    @${ECHO_MSG}    ""
    @${ECHO_MSG}    "Installation settings:"
    @${ECHO_MSG}    "   Location of JDK:          ${JAVA_HOME}"
    @${ECHO_MSG}    "   Location of Java port:    ${JAVA_PORT}"
    @${ECHO_MSG}    ""

.include <bsd.port.mk>