aboutsummaryrefslogtreecommitdiffstats
path: root/misc/jbidwatcher/Makefile
blob: 5879a50d7c4462024fdf05765787ef6896a89a92 (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:    jbidwatcher
# Date Created:     24 July 2004
# Whom:         Jose Rodriguez <king@v2project.com>
#
# $FreeBSD$
#

PORTNAME=   jbidwatcher
DISTVERSION=    2.0beta10
CATEGORIES= misc java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://www.jbidwatcher.com/rdl/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   JBidwatcher-${DISTVERSION}
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= shurd@sasktel.net
COMMENT=    A Java-based application allowing you to monitor eBay auctions

USE_JAVA=   yes
JAVA_VERSION=   1.5+
NO_BUILD=   yes

PLIST_FILES=    %%JAVAJARDIR%%/${PORTNAME}.jar \
        bin/${PORTNAME}

do-install:
    @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${JAVAJARDIR}/${PORTNAME}.jar
    @${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
        -e "s:%%JAVAJARDIR%%:${JAVAJARDIR}:" \
        ${FILESDIR}/jbidwatcher.sh > ${PREFIX}/bin/${PORTNAME}
    @${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/${PORTNAME}
    @${CHMOD} a+rx ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>