svn commit: r303465 - head/multimedia/mlt

Alexey Dokuchaev danfe at FreeBSD.org
Sun Sep 2 17:45:33 UTC 2012


On Sat, Sep 01, 2012 at 09:46:27AM +0000, Alberto Villa wrote:
> -LICENSE=	LGPL21 GPLv2 GPLv3
> +LICENSE=	GPLv2 GPLv3 LGPL21
>  LICENSE_COMB=	multi
> -LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING
>  LICENSE_FILE_GPLv2=	${WRKSRC}/GPL
>  LICENSE_FILE_GPLv3=	${WRKSRC}/GPLv3
> +LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING

Any special reason to install copies of standard licenses?

> +GTK2_DESC=	GTK+ 2 support (images, text rendering...)

It seems that we commonly do not put space after GTK+ (e.g. GTK+1, GTK+2).

> +LIB_DEPENDS+=	avformat:${PORTSDIR}/multimedia/ffmpeg
>  CONFIGURE_ARGS+=	--enable-avformat \
>  			--avformat-swscale

You could have saved a line in CONFIGURE_ARGS here since both options would
fit on one line.  \ makes sense for long argument list to improve
readability and "svn blame" output, but not in this particular case.

> -.ifndef(WITHOUT_GTK2)
> +.if ${PORT_OPTIONS:MGTK2}
>  LIB_DEPENDS+=	exif.12:${PORTSDIR}/graphics/libexif

You also could've dropped shlib version number here (and below), unless
particular ABI is indeed required (in this case, it should been mentioned
in commit log or Makefile comment).

>  pre-configure:
> -	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
> +	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \

These seem unnecessary and just shadow whom to "svn blame".  Also, perhaps
global modifier is superfluous here (also below).

./danfe



More information about the svn-ports-all mailing list