ports/185424: [patch] graphic/lensfun upgrade & stagedir support
Matthieu Volat
mazhe at alkumuna.eu
Thu Jan 2 18:30:00 UTC 2014
>Number: 185424
>Category: ports
>Synopsis: [patch] graphic/lensfun upgrade & stagedir support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 02 18:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Matthieu Volat
>Release: 10.0-RC4
>Organization:
>Environment:
FreeBSD freedom.alkumuna.eu 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec 31 17:10:01 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
lensfun 0.2.8 was released last october, while a minor update regarding code, it add many entries in the lenses db and so would be very appreciated in the ports tree.
>How-To-Repeat:
-
>Fix:
here is a patch to update the version, the main changes are PORTVERSION and using BERLIOS as MASTERSITE with fetch(1) options that allows redirection, the means of retrieving sources having changed a bit. it also add stagedir support.
Patch attached with submission follows:
diff -ru lensfun.orig/Makefile lensfun/Makefile
--- lensfun.orig/Makefile 2013-12-14 11:51:26.000000000 +0100
+++ lensfun/Makefile 2014-01-02 19:17:27.000000000 +0100
@@ -2,9 +2,9 @@
# $FreeBSD: graphics/lensfun/Makefile 336435 2013-12-14 10:51:26Z mva $
PORTNAME= lensfun
-PORTVERSION= 0.2.7
+PORTVERSION= 0.2.8
CATEGORIES= graphics
-MASTER_SITES= SF/lensfun.berlios
+MASTER_SITES= BERLIOS
MAINTAINER= danfe at FreeBSD.org
COMMENT= Library for fixing lens geometry distortions
@@ -13,6 +13,7 @@
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+FETCH_ARGS= -Fpr
USES= pkgconfig
USE_BZIP2= yes
USE_GMAKE= yes
@@ -40,9 +41,8 @@
${WRKSRC}/build/tibs/compiler/gcc.mak
${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
-NO_STAGE= yes
post-install:
${LN} -sf lib${PORTNAME}.so \
- ${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
+ ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
.include <bsd.port.mk>
diff -ru lensfun.orig/distinfo lensfun/distinfo
--- lensfun.orig/distinfo 2013-03-05 08:57:10.000000000 +0100
+++ lensfun/distinfo 2014-01-02 19:12:36.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (lensfun-0.2.7.tar.bz2) = 3ddf0747bd6af1ec7d722f8c45dafdd8adfb96c081492b216c14d89f82806477
-SIZE (lensfun-0.2.7.tar.bz2) = 552960
+SHA256 (lensfun-0.2.8.tar.bz2) = f88f97fbc78259a2b2edddef295caf50770901107c8469e54bb5e9699faa1a48
+SIZE (lensfun-0.2.8.tar.bz2) = 628913
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list