A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
# New ports collection makefile for: BBBike
|
|
|
|
# Date created: Fri Aug 14 15:32:26 CEST 1998
|
|
|
|
# Whom: Slaven Rezic <eserte@cs.tu-berlin.de>
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= BBBike
|
2005-12-20 13:40:54 +01:00
|
|
|
PORTVERSION= 3.15
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
CATEGORIES= german
|
2002-07-30 18:07:49 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2004-03-29 22:57:58 +02:00
|
|
|
MASTER_SITE_SUBDIR= bbbike
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
|
2003-01-13 16:01:56 +01:00
|
|
|
MAINTAINER= slaven@rezic.de
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= A route-finder for cyclists in Berlin and Brandenburg
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
|
2004-01-21 10:59:10 +01:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk \
|
|
|
|
${BUILD_DEPENDS}
|
1998-08-27 03:34:53 +02:00
|
|
|
|
2000-12-19 12:36:19 +01:00
|
|
|
USE_PERL5= YES
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
POD2MAN= pod2man
|
|
|
|
|
|
|
|
MAN1= bbbike.1
|
|
|
|
|
|
|
|
MYDESTDIR= ${PREFIX}/BBBike
|
|
|
|
|
2002-09-06 14:56:13 +02:00
|
|
|
.if !defined(PERL_VER) || ${PERL_VER} == 5.005
|
2004-03-29 22:57:58 +02:00
|
|
|
LOCAL_PERL_ARCH= ${PERL_ARCH}
|
|
|
|
.else
|
|
|
|
LOCAL_PERL_ARCH= ${PERL_VER}/${ARCH}-freebsd
|
2001-05-09 11:49:48 +02:00
|
|
|
.endif
|
2004-03-29 22:57:58 +02:00
|
|
|
PLIST_SUB= LOCAL_PERL_ARCH=${LOCAL_PERL_ARCH}
|
2001-05-09 11:49:48 +02:00
|
|
|
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
do-build:
|
2004-01-21 10:59:10 +01:00
|
|
|
cd ${WRKSRC}/ext && ${MAKE} PERL=${PERL5} all install
|
|
|
|
cd ${WRKSRC}/ext && ${MAKE} PERL=${PERL5} clean
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
cd ${WRKSRC}; ${POD2MAN} --lax bbbike.pod > bbbike.1
|
2000-12-19 12:36:19 +01:00
|
|
|
${MV} ${WRKSRC}/bbbike ${WRKSRC}/bbbike.tmp
|
2002-01-29 11:53:27 +01:00
|
|
|
${ECHO_CMD} "#! ${PERL}" > ${WRKSRC}/bbbike
|
2000-12-19 12:36:19 +01:00
|
|
|
${CAT} ${WRKSRC}/bbbike.tmp >> ${WRKSRC}/bbbike
|
|
|
|
${RM} -f ${WRKSRC}/bbbike.tmp
|
|
|
|
${CHMOD} 0755 ${WRKSRC}/bbbike
|
|
|
|
|
2004-01-21 10:59:10 +01:00
|
|
|
BBBIKEEXE= bbbike cbbbike bbbikeclient cmdbbbike smsbbbike
|
2006-09-13 12:53:35 +02:00
|
|
|
PLIST_IN= ${PKGDIR}/pkg-plist.in
|
2004-03-29 22:57:58 +02:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
.if !defined(PERL_VER) || ${PERL_VER} == 5.005
|
2005-12-20 13:40:54 +01:00
|
|
|
LOCAL_PERL_ARCH=`${PERL5} -MConfig -e '$$x = qq{$$Config{archname}}; $$x =~ s{/}{\\\\/}g; print $$x'`; \
|
|
|
|
${SED} -e "s/%%LOCAL_PERL_ARCH%%/$$LOCAL_PERL_ARCH/g" < ${PLIST_IN} > ${PLIST}
|
2004-03-29 22:57:58 +02:00
|
|
|
.else
|
2005-12-20 13:40:54 +01:00
|
|
|
LOCAL_PERL_ARCH=`${PERL5} -MConfig -e '$$x = qq{$$Config{version}/$$Config{archname}}; $$x =~ s{/}{\\\\/}g; print $$x'`; \
|
|
|
|
${SED} -e "s/%%LOCAL_PERL_ARCH%%/$$LOCAL_PERL_ARCH/g" < ${PLIST_IN} > ${PLIST}
|
2004-03-29 22:57:58 +02:00
|
|
|
.endif
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
-${RM} -rf ${MYDESTDIR}
|
2004-01-21 10:59:10 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${PREFIX}/man/man1
|
2004-03-29 22:57:58 +02:00
|
|
|
${CP} -r ${WRKSRC} ${MYDESTDIR}
|
|
|
|
${RM} -f ${MYDESTDIR}/bbbike.1
|
|
|
|
${FIND} ${MYDESTDIR} | ${XARGS} ${CHMOD} ugo+r
|
|
|
|
${FIND} ${MYDESTDIR} -perm -u=x | ${XARGS} ${CHMOD} go+x
|
2000-12-19 12:36:19 +01:00
|
|
|
.for f in ${BBBIKEEXE}
|
|
|
|
-${RM} -f ${PREFIX}/bin/$f
|
|
|
|
${LN} -s ${MYDESTDIR}/$f ${PREFIX}/bin/$f
|
|
|
|
.endfor
|
A route-finder for cyclists in Berlin and Brandenburg (only german).
BBBike computes the shortes and fastest way between point A and B,
depending on the number of traffic lights, crosses, one way streets,
wind force, air temperature, mountains and human power.
BBBike has a cute GUI and map, including most streets, rivers and
lakes, railways stations, and subway stations. It has several
interface to other online database: phone book, zip code, Berlin city
map, eplus mobil phone map of Brandenburg.
1998-08-26 11:55:38 +02:00
|
|
|
|
2005-12-20 13:40:54 +01:00
|
|
|
.include <bsd.port.mk>
|