1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Do not silence installation message

- Remove superfluous /
- Use . instead of \* for COPYTREE_SHARE

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-01-03 17:50:09 +00:00
parent 3978b005a7
commit 9a3c297cae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405170

View File

@ -57,14 +57,14 @@ post-patch:
pre-configure:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
post-install: .SILENT
${MKDIR} ${STAGEDIR}/${DATADIR}/tiger_2011
(cd ${WRKSRC}/extras/tiger_geocoder/tiger_2011/ && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/tiger_2011/ "! ( -name *\.orig -o -name *\.bak )" )
${MKDIR} ${STAGEDIR}/${DATADIR}/utils
(cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak )" )
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/shp2pgsql
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/pgsql2shp
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/liblwgeom-${PORTVERSION}.so
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/postgresql/postgis-2.1.so
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/tiger_2011
(cd ${WRKSRC}/extras/tiger_geocoder/tiger_2011/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_2011/ "! ( -name *\.orig -o -name *\.bak )" )
${MKDIR} ${STAGEDIR}${DATADIR}/utils
(cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak )" )
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/shp2pgsql
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgsql2shp
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblwgeom-${PORTVERSION}.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/postgis-2.1.so
.include <bsd.port.mk>