1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/german/BBBike/Makefile
Wolfram Schneider 3dffb81766 Here's an update from 2.xx to 3.01.
PR:	  ports/23631
Submitted by: Slaven Rezic <eserte@vran.herceg.de>
2000-12-19 11:36:19 +00:00

48 lines
1.3 KiB
Makefile

# 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= 3.01
CATEGORIES= german
MASTER_SITES= http://pub.cs.tu-berlin.de/src/BBBike/
MAINTAINER= eserte@onlineoffice.de
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
USE_PERL5= YES
POD2MAN= pod2man
MAN1= bbbike.1
MYDESTDIR= ${PREFIX}/BBBike
do-build:
cd ${WRKSRC}/ext/BBBikeXS; ${PERL5} Makefile.PL; make all install clean; ${RM} Makefile.old
cd ${WRKSRC}/ext/VirtArray; ${PERL5} Makefile.PL; make all install clean; ${RM} Makefile.old
cd ${WRKSRC}; ${POD2MAN} --lax bbbike.pod > bbbike.1
${MV} ${WRKSRC}/bbbike ${WRKSRC}/bbbike.tmp
${ECHO} "#! ${PERL}" > ${WRKSRC}/bbbike
${CAT} ${WRKSRC}/bbbike.tmp >> ${WRKSRC}/bbbike
${RM} -f ${WRKSRC}/bbbike.tmp
${CHMOD} 0755 ${WRKSRC}/bbbike
BBBIKEEXE= bbbike cbbbike bbbikeclient cmdbbbike
do-install:
-${RM} -rf ${MYDESTDIR}
${CP} -r ${WRKSRC} ${MYDESTDIR}
find ${MYDESTDIR} -exec ${CHMOD} ugo+r {} \;
find ${MYDESTDIR} -perm -u=x -exec ${CHMOD} go+x {} \;
.for f in ${BBBIKEEXE}
-${RM} -f ${PREFIX}/bin/$f
${LN} -s ${MYDESTDIR}/$f ${PREFIX}/bin/$f
.endfor
${INSTALL_MAN} ${WRKSRC}/bbbike.1 ${PREFIX}/man/man1
.include <bsd.port.mk>