1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/sysutils/ckl/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

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: ckl
# Date created: 1 June 2010
# Whom: Tomaz Muraus <kami@k5-storitve.net>
#
# $FreeBSD$
#
PORTNAME= ckl
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= http://packages.cloudkick.com/releases/ckl/
DISTNAME= ckl-${PORTVERSION}
MAINTAINER= kami@k5-storitve.net
COMMENT= A command line tool for noting when something was changed on a machine
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_SCONS= yes
USE_BZIP2= yes
PORTDOCS= CHANGES LICENSE NOTICE README
post-patch:
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/ckl.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ckl ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${MKDIR} ${EXAMPLESDIR}/webapp
(cd ${WRKSRC}/webapp/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/webapp)
.endif
${INSTALL_DATA} ${PATCHDIR}/cloudkick.conf.example ${PREFIX}/etc/cloudkick.conf.sample
@if [ ! -f ${PREFIX}/etc/cloudkick.conf ]; then \
${INSTALL_DATA} -p ${PREFIX}/etc/cloudkick.conf.sample ${PREFIX}/etc/cloudkick.conf ; \
fi
.include <bsd.port.mk>