diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-11-21 19:56:10 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-11-21 19:56:10 +0800 |
commit | b9c88f9176cb509afddbf778cda0a20fcc6606dc (patch) | |
tree | 81918ffb4dd9acc89ae936b9a1df4101c92bde66 /astro/astrometry | |
parent | dbc73e7b31d8e2dc16c08264b687f54618b4ed53 (diff) | |
download | freebsd-ports-gnome-b9c88f9176cb509afddbf778cda0a20fcc6606dc.tar.gz freebsd-ports-gnome-b9c88f9176cb509afddbf778cda0a20fcc6606dc.tar.zst freebsd-ports-gnome-b9c88f9176cb509afddbf778cda0a20fcc6606dc.zip |
- Fix config pointing into stagedir
- Strip binaries
- Add empty dir to plist
Diffstat (limited to 'astro/astrometry')
-rw-r--r-- | astro/astrometry/Makefile | 10 | ||||
-rw-r--r-- | astro/astrometry/pkg-plist | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/astro/astrometry/Makefile b/astro/astrometry/Makefile index 16b39b7291aa..89d065ec3a15 100644 --- a/astro/astrometry/Makefile +++ b/astro/astrometry/Makefile @@ -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> diff --git a/astro/astrometry/pkg-plist b/astro/astrometry/pkg-plist index f11c4c0f83f3..c6719a5378be 100644 --- a/astro/astrometry/pkg-plist +++ b/astro/astrometry/pkg-plist @@ -257,3 +257,4 @@ astrometry/lib/python/astrometry/util/w3c_validator.py astrometry/lib/python/astrometry/util/yanny.py astrometry/ups/astrometry_net.cfg.template astrometry/ups/astrometry_net.table +@dir astrometry/data |