aboutsummaryrefslogtreecommitdiffstats
path: root/misc/esniper/Makefile
blob: 90a8b0bce2766abf236e644a7ac6c2abb38c9b92 (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
# Created by: Lewis Thompson <lewiz@compsoc.man.ac.uk>
# $FreeBSD$

PORTNAME=   esniper
DISTVERSION=    2-28-0
PORTREVISION=   1
CATEGORIES= misc net
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= ag-freebsd@muc.de
COMMENT=    Lightweight console application for sniping ebay auctions

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-curl-config=${LOCALBASE}/bin/curl-config
USE_OPENSSL=    yes

MAN1=       esniper.1

PLIST_FILES=    bin/esniper

PORTEXAMPLES=   sample_auction.txt sample_config.txt

NO_STAGE=   yes

OPTIONS_DEFINE= EXAMPLES 

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>