build, otherwise not. Use the PLIST_VARS stuff to handle the PLIST file. Enabled by default to respect previous behaviour.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.6 2008/04/21 16:34:45 xtraeme Exp $
|
|
#
|
|
|
|
.include "${.CURDIR}/../scmgit/Makefile.common"
|
|
|
|
PKGNAME= scmgit-base-${GIT_VERSION}
|
|
COMMENT= GIT Tree History Storage Tool (base package)
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= git-[0-9]* # misc/git
|
|
|
|
USE_LANGUAGES= c99
|
|
USE_TOOLS+= perl:run sh:run msgfmt
|
|
|
|
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
CONFIGURE_ARGS+= --with-curl=${BUILDLINK_PREFIX.curl:Q}
|
|
CONFIGURE_ARGS+= --with-expat=${BUILDLINK_PREFIX.expat:Q}
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv:Q}
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib:Q}
|
|
|
|
BUILD_TARGET= all
|
|
INSTALL_TARGET= install
|
|
|
|
PERL5_CONFIGURE= no
|
|
PERL5_PACKLIST= auto/Git/.packlist
|
|
REPLACE_PERL+= *.perl */*.perl */*/*.perl
|
|
|
|
#.include "../../mk/emacs.mk" # XXX TODO (see patch-ad)
|
|
|
|
.include "options.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|