summaryrefslogtreecommitdiff
path: root/dns/crossip/Makefile
blob: 40144d3721cc768fbdbcbe55ee9f68d2b7e52c9b (plain)
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
# Created by: Dan Smith <dan@algenta.com>

PORTNAME=	crossip
DISTVERSION=	1.2
PORTREVISION=	5
CATEGORIES=	dns java
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/CrossIP%20${PORTVERSION}

MAINTAINER=	dan@algenta.com
COMMENT=	Java DNS update client for the ThatIP protocol

LICENSE=	GPLv2

USES=		zip
USE_JAVA=	yes

NO_BUILD=	yes

DATADIR=	${JAVASHAREDIR}/${PORTNAME}

SUB_FILES=	crossip.sh

do-install:
	${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/lib/CrossIP.jar ${STAGEDIR}${DATADIR}
	@${INSTALL_SCRIPT} ${WRKDIR}/crossip.sh ${STAGEDIR}${PREFIX}/bin/crossip

.include <bsd.port.mk>