summaryrefslogblamecommitdiff
path: root/textproc/jdictionary/Makefile
blob: 6b2f8ee5816af9e18519ae919e3540198f784897 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                   
                   
                             
                                          
                              
                               





















                                                                             
# New ports collection makefile for:    jdictionary
# Date created:         23.04.2002
# Whom:                 janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=	jdictionary
PORTVERSION=	1.8
CATEGORIES=	textproc java
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=jdictionary
DISTNAME=	jdictionary-1_8

MAINTAINER=	janos.mohacsi@bsd.hu

RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper \
		${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13

USE_ZIP=	yes
WRKSRC=		${WRKDIR}/jdictionary
NO_BUILD=yes

do-configure:
	@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
		${FILESDIR}/jdictionary.sh > ${WRKDIR}/jdictionary.sh

do-install:
	@if [ ! -d ${PREFIX}/share/java/classes/jdictionary ]; then \
		${MKDIR} ${PREFIX}/share/java/classes/jdictionary; fi
	${CP} ${WRKSRC}/jdictionary.jar                                \
		${PREFIX}/share/java/classes/jdictionary/
	${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary

.include <bsd.port.mk>