2013-09-20 17:03:26 +00:00
|
|
|
# Created by: Ulf Lilleengen
|
2005-11-09 20:40:59 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-06-17 13:37:23 +00:00
|
|
|
PORTNAME= baz
|
2005-11-09 20:40:59 +00:00
|
|
|
PORTVERSION= 1.4.2
|
2013-10-20 19:20:15 +00:00
|
|
|
PORTREVISION= 13
|
2005-11-09 20:40:59 +00:00
|
|
|
CATEGORIES= devel
|
2006-12-30 14:33:47 +00:00
|
|
|
MASTER_SITES= http://bazaar-vcs.org/releases/src/obsolete/
|
2005-11-09 20:40:59 +00:00
|
|
|
DISTNAME= bazaar_${PORTVERSION}
|
|
|
|
|
2009-07-02 14:23:09 +00:00
|
|
|
MAINTAINER= ulf.lilleengen@gmail.com
|
2005-11-09 20:40:59 +00:00
|
|
|
COMMENT= An implementation of the GNU Arch RCS protocol in C by Canonical
|
|
|
|
|
2007-04-13 16:08:44 +00:00
|
|
|
BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \
|
2005-11-09 20:40:59 +00:00
|
|
|
gdiff:${PORTSDIR}/textproc/diffutils \
|
|
|
|
gtar:${PORTSDIR}/archivers/gtar
|
2012-01-21 17:40:15 +00:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2010-07-30 22:14:49 +00:00
|
|
|
LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29 \
|
2013-10-20 19:20:15 +00:00
|
|
|
libgpgme.so:${PORTSDIR}/security/gpgme
|
2005-11-09 20:40:59 +00:00
|
|
|
|
2010-06-03 09:35:56 +00:00
|
|
|
CONFLICTS= gd-2.*
|
|
|
|
|
2013-09-16 08:39:20 +00:00
|
|
|
USES= gettext gmake perl5
|
|
|
|
USE_PERL5= build
|
2005-11-09 20:40:59 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2009-11-19 22:07:43 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2005-11-09 20:40:59 +00:00
|
|
|
|
|
|
|
MAN1= baz.1
|
|
|
|
|
|
|
|
MAJORVERSION= 1.4
|
|
|
|
BASEWRKDIR= ${WRKDIR}/thelove@canonical.com---dists--bazaar--${MAJORVERSION}
|
|
|
|
WRKSRC= ${BASEWRKDIR}/src/=build
|
|
|
|
PATCH_WRKSRC= ${BASEWRKDIR}
|
|
|
|
LDFLAGS+= -L ${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I ${LOCALBASE}/include ${LDFLAGS}
|
|
|
|
|
2013-09-20 17:03:26 +00:00
|
|
|
NO_STAGE= yes
|
2005-11-09 20:40:59 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
|
|
|
|
# I know the CFLAGS export is ugly, but it's the only way i've gotten bazaars
|
|
|
|
# own autotools to detect libraries the "correct" way.
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && export CFLAGS="${CFLAGS}" \
|
|
|
|
&& ../configure --prefix ${PREFIX} \
|
|
|
|
--with-gnu-patch gpatch \
|
|
|
|
--with-gnu-diff gdiff \
|
|
|
|
--with-gnu-diff3 gdiff3 \
|
|
|
|
--with-gnu-tar gtar
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${BASEWRKDIR}/src/baz-manpage && ${PERL} generate-manpage.pl ${MAN1}\
|
|
|
|
&& \
|
|
|
|
${INSTALL_MAN} ${BASEWRKDIR}/src/baz-manpage/${MAN1} \
|
|
|
|
${MAN1PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|