Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 22:20:43 +0000 (UTC)
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340936 - head/audio/lame
Message-ID:  <201401242220.s0OMKhG3060686@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: netchild
Date: Fri Jan 24 22:20:42 2014
New Revision: 340936
URL: http://svnweb.freebsd.org/changeset/ports/340936
QAT: https://qat.redports.org/buildarchive/r340936/

Log:
  Cleanup (the stagedir part allows to install everything and let the plist
  take care about the docs-install or not).
  
  Submitted by:	bapb

Modified:
  head/audio/lame/Makefile

Modified: head/audio/lame/Makefile
==============================================================================
--- head/audio/lame/Makefile	Fri Jan 24 22:12:02 2014	(r340935)
+++ head/audio/lame/Makefile	Fri Jan 24 22:20:42 2014	(r340936)
@@ -15,7 +15,6 @@ USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-nasm --enable-mp3rtp --disable-gtktest
-CONFIGURE_ARGS_PREFIX=	${STAGEDIR}${PREFIX}
 
 RESTRICTED=	patent issues, see http://www.mp3licensing.com/
 
@@ -32,22 +31,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
 		${WRKSRC}/libmp3lame/i386/Makefile.in
 
-.if !${PORT_OPTIONS:MDOCS}
-do-install:
-	@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
-		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-exec
-	@cd ${INSTALL_WRKSRC}/include && ${SETENV} ${MAKE_ENV} ${GMAKE} \
-		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
-	@cd ${INSTALL_WRKSRC}/doc/man && ${SETENV} ${MAKE_ENV} ${GMAKE} \
-		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-data
-.else
-post-install: install-doc
-
-install-doc:
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${DOC_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.post.mk>



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