Date: Sat, 4 Jan 2014 18:47:05 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r338670 - branches/2014Q1/archivers/packddir Message-ID: <201401041847.s04Il56p047560@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 4 18:47:04 2014 New Revision: 338670 URL: http://svnweb.freebsd.org/changeset/ports/338670 Log: MFH: r338669 Support stage Strip binaries Respect DESTDIR Respect CC (this unbreak building on 10+) Modified: branches/2014Q1/archivers/packddir/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/archivers/packddir/Makefile ============================================================================== --- branches/2014Q1/archivers/packddir/Makefile Sat Jan 4 18:45:44 2014 (r338669) +++ branches/2014Q1/archivers/packddir/Makefile Sat Jan 4 18:47:04 2014 (r338670) @@ -13,16 +13,15 @@ COMMENT= These trivial utilities can unp WRKSRC= ${WRKDIR}/src -NO_STAGE= yes -PLIST_FILES= bin/upackddir -MAN1= upackddir.1 - -.include <bsd.port.pre.mk> +PLIST_FILES= bin/upackddir \ + man/man1/upackddir.1.gz +MAKE_ARGS= CC=${CC} post-patch: - ${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|${PREFIX}|' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|$$(DESTDIR)${PREFIX}|' ${WRKSRC}/Makefile post-install: - ${INSTALL_MAN} ${WRKSRC}/upackddir.1 ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/upackddir.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/upackddir -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401041847.s04Il56p047560>