# $NetBSD: Makefile.common,v 1.5 2008/02/10 19:00:27 tnn Exp $ # # used by devel/scmgit-base/Makefile # used by devel/scmgit-docs/Makefile DISTNAME= git-${GIT_VERSION} CATEGORIES= devel scm MASTER_SITES?= http://www.kernel.org/pub/software/scm/git/ MAINTAINER?= pancake@phreaker.net HOMEPAGE?= http://git.or.cz/ PKG_DESTDIR_SUPPORT= user-destdir GIT_VERSION= 1.5.4 .include "../../mk/bsd.fast.prefs.mk" .if "${PKGPATH}" != "devel/scmgit" PATCHDIR= ${.CURDIR}/../scmgit-base/patches DISTINFO_FILE= ${.CURDIR}/../scmgit-base/distinfo USE_TOOLS+= gmake tar perl sh EXTRACT_USING= gtar MAKE_ENV+= PERL_PATH=${PERL5:Q} MAKE_ENV+= SHELL_PATH=${SH:Q} MAKE_ENV+= TAR=${TAR:Q} MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib LIBS.SunOS+= -liconv CFLAGS.NetBSD+= -D_NETBSD_SOURCE AUTO_MKDIRS?= yes .endif