aboutsummaryrefslogtreecommitdiffstats
path: root/misc/jbidwatcher/Makefile
blob: 5e04a9558a1df6177b7a77b90d29987d9aeee9cd (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
# New ports collection makefile for:    jbidwatcher
# Date Created:     24 July 2004
# Whom:         Jose Rodriguez <king@v2project.com>
#
# $FreeBSD$
#

PORTNAME=   jbidwatcher
DISTVERSION=    1.0
CATEGORIES= misc java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
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.3+
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>