svn commit: r556329 - head/math/nauty

Thierry Thomas thierry at freebsd.org
Thu Nov 26 12:09:57 UTC 2020


Le jeu. 26 nov. 20 à 12:18:21 +0100, Fernando Apesteguía <fernape at FreeBSD.org>
 écrivait :

> Author: fernape
> Date: Thu Nov 26 11:18:20 2020
> New Revision: 556329
> URL: https://svnweb.freebsd.org/changeset/ports/556329
> 
> Log:
>   math/nauty: setting new MAINTAINER
>   
>   moritz at schmi.tt steps up to maintain this port and does some cleaning.
>   
>   Already maintainer of devel/cscope and devel/gindent.
>   
>   PR:	250877
>   Submitted by:	moritz at schmi.tt
> 
> Added:
>   head/math/nauty/pkg-plist   (contents, props changed)
> Modified:
>   head/math/nauty/Makefile
> 
> Modified: head/math/nauty/Makefile
> ==============================================================================
> --- head/math/nauty/Makefile	Thu Nov 26 11:17:02 2020	(r556328)
> +++ head/math/nauty/Makefile	Thu Nov 26 11:18:20 2020	(r556329)
> @@ -4,50 +4,77 @@
>  PORTNAME=	nauty
>  PORTVERSION=	27r1
>  CATEGORIES=	math
> -MASTER_SITES=	http://cs.anu.edu.au/~bdm/nauty/	\
> -		http://pallini.di.uniroma1.it/
> -DISTNAME=	${PORTNAME}${PORTVERSION:S!.!!}
> +MASTER_SITES=	http://pallini.di.uniroma1.it/	\
> +		http://cs.anu.edu.au/~bdm/nauty/
> +DISTNAME=	${PORTNAME}${PORTVERSION}
>  
> -MAINTAINER=	ports at FreeBSD.org
> -COMMENT=	Nauty & Traces are programs for graph automorphisms
> +MAINTAINER=	moritz at schmi.tt
> +COMMENT=	Nauty & Traces are programs for computing graph automorphisms
>  
>  LICENSE=	APACHE20
>  LICENSE_FILE=	${WRKSRC}/COPYRIGHT
>  
>  USES=		gmake
> +
>  GNU_CONFIGURE=	yes
> -CFLAGS+=	-fPIC
>  MAKEFILE=	makefile
>  TEST_TARGET=	check
>  
> -PROGRAMS=	addedgeg amtog assembleg biplabg catg complg converseg copyg	\
> -		countg cubhamg deledgeg delptg directg dreadnaut dretodot dretog\
> -		edgetransg genbg genbgL geng gengL genquarticg genrang		\
> -		genspecialg gentourng gentreeg hamheuristic labelg linegraphg	\
> -		listg multig newedgeg NRswitchg pickg planarg ranlabg shortg	\
> -		showg subdivideg twohamg underlyingg vcolg watercluster2
> +CFLAGS+=	-fPIC
>  
> -PORTDOCS=	nug27.pdf
> -PLIST_FILES=	include/nauty/nauty.h lib/libnauty.a ${PROGRAMS:S!^!bin/!}
> -
>  OPTIONS_DEFINE=	DOCS
>  
> -post-extract:
> -	${RM} ${WRKSRC}/*.a
> -
>  do-install:
>  	${MKDIR} ${STAGEDIR}${PREFIX}/include/nauty
>  	${INSTALL_DATA} ${WRKSRC}/nauty.h ${STAGEDIR}${PREFIX}/include/nauty
>  	# Do not use ${INSTALL_LIB} to strip the library!
>  	${INSTALL_DATA} ${WRKSRC}/nauty.a ${STAGEDIR}${PREFIX}/lib/libnauty.a
> -.for i in ${PROGRAMS}
> -	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
> -.endfor
> +	${INSTALL_PROGRAM} ${WRKSRC}/addedgeg ${STAGEDIR}${PREFIX}/bin
> +	${INSTALL_PROGRAM} ${WRKSRC}/amtog ${STAGEDIR}${PREFIX}/bin
> +	${INSTALL_PROGRAM} ${WRKSRC}/assembleg ${STAGEDIR}${PREFIX}/bin
8<   8<   8<

Is it only me? A .for loop as previously seems more readable than all
these lines of ${INSTALL_PROGRAM}.

(Yes, it produces the same result, this is just a matter of style)
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20201126/2193bb45/attachment.sig>


More information about the svn-ports-all mailing list