freebsd-ports/misc/esniper/Makefile
Sunpoet Po-Chuan Hsieh c401538bea - Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
Submitted by:	sunpoet (myself)
Tested by:	exp-run by linimon
Approved by:	linimon (with portmgr hat)
2012-03-08 08:04:10 +00:00

38 lines
870 B
Makefile

# New ports collection makefile for: esniper
# Date created: 10 April 2005
# Whom: Lewis Thompson <lewiz@compsoc.man.ac.uk>
#
# $FreeBSD$
PORTNAME= esniper
DISTVERSION= 2-27-0
CATEGORIES= misc net
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= ag-freebsd@muc.de
COMMENT= A lightweight console application for sniping ebay auctions
LIB_DEPENDS= curl.6:${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
post-patch:
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/http.c
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample_auction.txt ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample_config.txt ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>