aboutsummaryrefslogtreecommitdiffstats
path: root/german/BBBike/Makefile
blob: 562998a7df749bb9a92caa9f019581cda251d54b (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
# Date created:     Fri Aug 14 15:32:26 CEST 1998
# Whom:         Slaven Rezic <eserte@cs.tu-berlin.de>
#
# $FreeBSD$
#

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

MAINTAINER= eserte@cs.tu-berlin.de

BUILD_DEPENDS=  ${LOCALBASE}/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>