- Fix config pointing into stagedir
- Strip binaries - Add empty dir to plist
This commit is contained in:
parent
7d98db9cb2
commit
1213e6429a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372989
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue