[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / sitecopy

File: [cvs.NetBSD.org] / pkgsrc / www / sitecopy / Makefile (download)

Revision 1.63, Wed Oct 26 10:32:06 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.62: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.63 2022/10/26 10:32:06 wiz Exp $

DISTNAME=		sitecopy-0.16.6
PKGREVISION=		17
CATEGORIES=		www
MASTER_SITES=		http://www.manyfish.co.uk/sitecopy/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://www.manyfish.co.uk/sitecopy/
COMMENT=		Utility for synchronizing remote and local web sites
LICENSE=		gnu-gpl-v2

USE_FEATURES=		getopt_long
USE_TOOLS+=		gmake msgfmt
USE_PKGLOCALEDIR=	yes

GNU_CONFIGURE=		yes
#CONFIGURE_ARGS+=	--with-included-neon
CONFIGURE_ARGS+=	--with-libxml2

# The build process doesn't correctly find the header for GNU fnmatch, which
# is provided in ${WRKSRC}/lib.  Help the compiler by linking the header
# to ${WRKSRC} and explicitly passing -I. to the compiler.
#
CFLAGS+=		-I.

pre-build:
	${RM} -f ${WRKSRC}/fnmatch.h
	${LN} -sf ${WRKSRC}/lib/fnmatch.h ${WRKSRC}/fnmatch.h

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/neon/buildlink3.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"