a8a3c01339
patches to add it). Drop pax from the default USE_TOOLS list. Make bsdtar the default for those places that wanted gtar to extract long links etc, as bsdtar can be built of the tree.
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.54 2008/05/25 21:42:21 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= monotone-0.40
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel scm
|
|
MASTER_SITES= http://monotone.ca/downloads/0.40/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://monotone.ca/
|
|
COMMENT= Free distributed version control system
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GCC_REQD+= 3.0
|
|
GNU_CONFIGURE= yes
|
|
INFO_FILES= yes
|
|
UNLIMIT_RESOURCES+= datasize
|
|
USE_TOOLS+= gmake makeinfo pax
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
CONFIGURE_ARGS+= --with-system-pcre
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.monotone
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
|
|
|
CHECK_INTERPRETER_SKIP+= share/monotone/contrib/*
|
|
CHECK_PORTABILITY_SKIP+= debian/*
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/monotone
|
|
cd ${WRKSRC} && rm -rf contrib/.deps && \
|
|
pax -rw -pp -pm contrib \
|
|
${DESTDIR}${PREFIX}/share/monotone
|
|
cd ${WRKSRC} && pax -rw -pp -pm figures/*.png \
|
|
${DESTDIR}${PREFIX}/share/doc/monotone
|
|
|
|
BUILDLINK_API_DEPENDS.pcre+= pcre>=7.6
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|