aboutsummaryrefslogtreecommitdiffstats
path: root/databases/java-sqlrelay/Makefile
blob: 14117784a472b761554227688c477d522fcb23f1 (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
# New ports collection makefile for:    Java module for SQL Relay
# Date created:     2 July 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   ${SQLRELAY_PORTNAME}
PORTVERSION=    ${SQLRELAY_PORTVERSION}
PORTREVISION=   1
CATEGORIES= databases java
MASTER_SITES=   # none
PKGNAMEPREFIX=  java-
DISTFILES=  # none

MAINTAINER= ports@FreeBSD.org
COMMENT=    Java classes to access to SQL Relay

EXTRACT_DEPENDS=    ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch
BUILD_DEPENDS=  ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11
LIB_DEPENDS=    sqlrclient.0:${SQLRELAY_PORTDIR}
RUN_DEPENDS=    ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11

JDK_VERSION?=       1.1.8

DEPRECATED= Depends on obsolete version of jdk
EXPIRATION_DATE=2007-08-22

WRKSRC=     ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC=   ${WRKSRC}/src/api/java
INSTALL_WRKSRC= ${BUILD_WRKSRC}
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
        --with-java-prefix="${LOCALBASE}/jdk${JDK_VERSION}"

.include "${.CURDIR}/../sqlrelay/Makefile.common"

do-extract:
    ${MKDIR} ${WRKDIR}
    ${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
    ${RM} -f ${WRKSRC}/config.cache

.include <bsd.port.mk>