Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 11:58:46 +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: r375437 - head/lang/fpc
Message-ID:  <201412241158.sBOBwkDU085065@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 24 11:58:46 2014
New Revision: 375437
URL: https://svnweb.freebsd.org/changeset/ports/375437
QAT: https://qat.redports.org/buildarchive/r375437/

Log:
  - Use proper command for manpage installation
  - Strip binaries
  
  Approved by:	bapt

Modified:
  head/lang/fpc/Makefile

Modified: head/lang/fpc/Makefile
==============================================================================
--- head/lang/fpc/Makefile	Wed Dec 24 11:58:39 2014	(r375436)
+++ head/lang/fpc/Makefile	Wed Dec 24 11:58:46 2014	(r375437)
@@ -115,8 +115,8 @@ do-install:
 # 	Installng fpcmake
 	@cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} install ${MAKE_ARGS}
 # 	Installing manpages
-	${INSTALL_DATA} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5
+	${INSTALL_MAN} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5
 
 post-install:
 	if [ -e "${STAGEDIR}${PREFIX}/bin/${PPNAME}" ]; then ${RM} -f "${STAGEDIR}${PREFIX}/bin/${PPNAME}"; fi
@@ -124,6 +124,10 @@ post-install:
 	${SH} "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" "${STAGEDIR}${PREFIX}/etc"
 	@${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \
 		-e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' ${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fpc*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mk*ins
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ppu*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/ppc*
 
 .else
 .include "${MASTERDIR}/Makefile.units"



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