svn commit: r320734 - in head/math/algotutor: . files

Kevin Lo kevlo at FreeBSD.org
Thu Jun 13 06:40:02 UTC 2013


Baptiste Daroussin wrote:
> On Thu, Jun 13, 2013 at 06:11:34AM +0000, Kevin Lo wrote:
>> Author: kevlo
>> Date: Thu Jun 13 06:11:34 2013
>> New Revision: 320734
>> URL: http://svnweb.freebsd.org/changeset/ports/320734
>>
>> Log:
>>    Don't hard code the perl version. While here, fix MASTER_SITES.
>>    
>>    PR:	ports/179489
>>    Submitted by:	Javad Kouhi <javad dot kouhi at gmail.com>
>>
>> Modified:
>>    head/math/algotutor/Makefile
>>    head/math/algotutor/files/patch-algotutor
>>    head/math/algotutor/pkg-descr
>>
>> Modified: head/math/algotutor/Makefile
>> ==============================================================================
>> --- head/math/algotutor/Makefile	Thu Jun 13 05:54:33 2013	(r320733)
>> +++ head/math/algotutor/Makefile	Thu Jun 13 06:11:34 2013	(r320734)
>> @@ -1,19 +1,14 @@
>> -# New ports collection makefile for:	algotutor
>> -# Date created:		19 January 2005
>> -# Whom:			Kevin Lo <kevlo at FreeBSD.org>
>> -#
>>   # $FreeBSD$
>> -#
>>   
>>   PORTNAME=	algotutor
>>   PORTVERSION=	0.8.6
>> -PORTREVISION=	3
>> +PORTREVISION=	4
>>   CATEGORIES=	math
>> -MASTER_SITES=	http://saturn.stu.edu.tw/~ckhung/dl/
>> +MASTER_SITES=	http://www.cyut.edu.tw/~ckhung/dl/
>>   EXTRACT_SUFX=	.tgz
>>   
>>   MAINTAINER=	kevlo at FreeBSD.org
>> -COMMENT=	An interactive tutorial for algorithms and data structures
>> +COMMENT=	Interactive tutorial for algorithms and data structures
>>   
>>   BUILD_DEPENDS=	p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk
>>   RUN_DEPENDS:=	${BUILD_DEPENDS}
>> @@ -31,6 +26,8 @@ LIBFILES=	BST.pm Board.pm Collection.pm
>>   post-patch:
>>   	${REINPLACE_CMD}  -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/algotutor
>>   	${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor
>> +	${REINPLACE_CMD} -e 's,!!PERL_VERSION!!,${PERL_VERSION},' \
>> +		${WRKSRC}/algotutor
> Are you sure you shouldn't use PERL_VER ? since yesterday site_perl is not
> lib/perl5/site_perl/${PERL_VERSION} anymore but lib/perl5/site_perl/${PERL_VER}

Geez! Fixed it. Thanks for pointing that out.

>
> regards,
> Bapt

     Kevin


More information about the svn-ports-all mailing list