aboutsummaryrefslogtreecommitdiffstats
path: root/german/BBBike/Makefile
blob: 4b8df46a0a19f4eab280cd96c4737e1e15061d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    BBBike
# Version required: 2.x
# Date created:     Fri Aug 14 15:32:26 CEST 1998
# Whom:         Slaven Rezic <eserte@cs.tu-berlin.de>
#
# $Id: Makefile,v 1.3 1998/08/29 10:20:20 wosch Exp $
#

DISTNAME=   BBBike-2.48
CATEGORIES= german
MASTER_SITES=   http://pub.cs.tu-berlin.de/src/BBBike/

MAINTAINER= eserte@cs.tu-berlin.de

BUILD_DEPENDS=  ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk

USE_PERL5=      YES
PERLEXE=    perl5
POD2MAN=    pod2man

MAN1=       bbbike.1

MYDESTDIR=  ${PREFIX}/BBBike

do-build:
    cd ${WRKSRC}/ext/BBBikeXS; ${PERLEXE} Makefile.PL; make all install clean; $(RM) Makefile.old
    cd ${WRKSRC}/ext/VirtArray; ${PERLEXE} Makefile.PL; make all install clean; $(RM) Makefile.old
    cd ${WRKSRC}; ${POD2MAN} --lax bbbike.pod > bbbike.1

do-install:
    -${RM} -rf ${MYDESTDIR}
    ${CP} -r  ${WRKSRC} ${MYDESTDIR}
    -${RM} -f ${PREFIX}/bin/bbbike ${PREFIX}/bin/cbbbike
    ${LN} -s  ${MYDESTDIR}/bbbike ${PREFIX}/bin/bbbike
    ${LN} -s  ${MYDESTDIR}/cbbbike ${PREFIX}/bin/cbbbike
    ${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${PREFIX}/man/man1

.include <bsd.port.mk>