54 lines
1.0 KiB
Makefile
54 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2006/11/26 22:47:57 matthieu Exp $
|
|
|
|
COMMENT= "GIT - Tree History Storage Tool"
|
|
|
|
V= 1.4.4.1
|
|
DISTNAME= git-${V}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://git.or.cz/
|
|
|
|
MAINTAINER= matthieu@openbsd.org
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
git-manpages-${V}${EXTRACT_SUFX}
|
|
|
|
WANTLIB= c crypto iconv z
|
|
|
|
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
|
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
PYTHON_VER= 2.4
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
BUILD_DEPENDS= ::archivers/gtar \
|
|
::devel/p5-Error
|
|
RUN_DEPENDS= ::lang/python/${PYTHON_VER} \
|
|
::x11/tk/8.4 \
|
|
::net/rsync
|
|
LIB_DEPENDS= curl.>=3::net/curl \
|
|
expat.>=4::textproc/expat
|
|
|
|
MAKE_ENV= prefix=${PREFIX} \
|
|
PYTHON_PATH=${LOCALBASE}/bin/python${PYTHON_VER} \
|
|
CC="${CC}" \
|
|
CFLAGS="${CFLAGS}"
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
cd ${WRKDIR} ; \
|
|
pax -rw -s,man7/git.7,man1/git.1, man* ${PREFIX}/man
|
|
|
|
.include <bsd.port.mk>
|