Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 11:56:11 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372989 - head/astro/astrometry
Message-ID:  <201411211156.sALBuBP6055328@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Nov 21 11:56:10 2014
New Revision: 372989
URL: https://svnweb.freebsd.org/changeset/ports/372989
QAT: https://qat.redports.org/buildarchive/r372989/

Log:
  - Fix config pointing into stagedir
  - Strip binaries
  - Add empty dir to plist

Modified:
  head/astro/astrometry/Makefile
  head/astro/astrometry/pkg-plist

Modified: head/astro/astrometry/Makefile
==============================================================================
--- head/astro/astrometry/Makefile	Fri Nov 21 11:34:04 2014	(r372988)
+++ head/astro/astrometry/Makefile	Fri Nov 21 11:56:10 2014	(r372989)
@@ -3,7 +3,7 @@
 
 PORTNAME=	astrometry
 PORTVERSION=	0.46
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	astro
 MASTER_SITES=	http://www.astrometry.net/downloads/
 DISTNAME=	${PORTNAME}.net-${PORTVERSION}
@@ -33,4 +33,12 @@ post-patch:
 	@${REINPLACE_CMD} -e '/CCTEST/s,\\|warning:,,' \
 		${WRKSRC}/util/makefile.common
 
+post-install:
+	@${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' \
+		${STAGEDIR}${PREFIX}/${PORTNAME}/etc/${PORTNAME}.cfg
+	@${FIND} ${STAGEDIR}${PREFIX}/${PORTNAME}/bin -type f -not -name "*.py" \
+		-exec ${STRIP_CMD} {} \;
+	@${FIND} ${STAGEDIR}${PREFIX}/${PORTNAME}/lib -type f -name "*.so" \
+		-exec ${STRIP_CMD} {} \;
+
 .include <bsd.port.mk>

Modified: head/astro/astrometry/pkg-plist
==============================================================================
--- head/astro/astrometry/pkg-plist	Fri Nov 21 11:34:04 2014	(r372988)
+++ head/astro/astrometry/pkg-plist	Fri Nov 21 11:56:10 2014	(r372989)
@@ -257,3 +257,4 @@ astrometry/lib/python/astrometry/util/w3
 astrometry/lib/python/astrometry/util/yanny.py
 astrometry/ups/astrometry_net.cfg.template
 astrometry/ups/astrometry_net.table
+@dir astrometry/data



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411211156.sALBuBP6055328>