mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
34ce9181df
PR: ports/99092 Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su> Approved by: Lapo Luchini <lapo@lapo.it> (maintainer), ahze (mentor)
68 lines
1.6 KiB
Makefile
68 lines
1.6 KiB
Makefile
# New ports collection makefile for: monotone
|
|
# Date created: 05 Feb 2004
|
|
# Whom: Mark A. Wicks <mwicks@kettering.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= monotone
|
|
PORTVERSION= 0.27
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.venge.net/monotone/downloads/
|
|
|
|
MAINTAINER= lapo@lapo.it
|
|
COMMENT= A distributed version control system with digital signatures
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_GCC= 3.4+
|
|
USE_PERL5_BUILD=yes
|
|
USE_ICONV= yes
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --infodir=${PREFIX}/${INFO_PATH} --mandir=${PREFIX}/man
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
MAKEINFO="makeinfo --no-split"
|
|
|
|
PLIST_FILES= bin/mtn
|
|
INFO= monotone
|
|
MAN1= mtn.1
|
|
PORTDOCS= NEWS UPGRADE monotone.html
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
LIB_DEPENDS= boost_regex.3:${PORTSDIR}/devel/boost-gcc3
|
|
.else
|
|
LIB_DEPENDS= boost_regex.3:${PORTSDIR}/devel/boost
|
|
.endif
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_FILES+= share/locale/de/LC_MESSAGES/monotone.mo \
|
|
share/locale/fr/LC_MESSAGES/monotone.mo \
|
|
share/locale/it/LC_MESSAGES/monotone.mo \
|
|
share/locale/ja/LC_MESSAGES/monotone.mo \
|
|
share/locale/pt_BR/LC_MESSAGES/monotone.mo \
|
|
share/locale/sv/LC_MESSAGES/monotone.mo
|
|
.endif
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/monotone.info*
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\($$(CXX) -Wall\)|\1 ${CXXFLAGS}|' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|