- Fully support staging (there were some ${STAGEDIR} statements but NO_STAGE

was still defined)
- also strip binaries and shared objects
This commit is contained in:
Emanuel Haupt 2014-02-08 21:19:56 +00:00
parent 2fab0630c9
commit 069a29a27b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343390

View file

@ -33,7 +33,6 @@ MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
CXXFLAGS+= -I${LOCALBASE}/include
USES= gmake
NO_STAGE= yes
USE_LDCONFIG= yes
USE_ZIP= yes
@ -66,5 +65,7 @@ post-patch:
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libespeak.so*
.include <bsd.port.mk>