svn commit: r338656 - head/audio/libtremor

Baptiste Daroussin bapt at FreeBSD.org
Sat Jan 4 17:56:06 UTC 2014


Author: bapt
Date: Sat Jan  4 17:56:05 2014
New Revision: 338656
URL: http://svnweb.freebsd.org/changeset/ports/338656

Log:
  Support stage
  Strip binaries

Modified:
  head/audio/libtremor/Makefile

Modified: head/audio/libtremor/Makefile
==============================================================================
--- head/audio/libtremor/Makefile	Sat Jan  4 17:52:04 2014	(r338655)
+++ head/audio/libtremor/Makefile	Sat Jan  4 17:56:05 2014	(r338656)
@@ -15,7 +15,6 @@ COMMENT=	Integer-only fully Ogg Vorbis c
 SNAP_DATE=	02132004
 WRKSRC=		${WRKDIR}/Tremor
 USE_AUTOTOOLS=	automake autoconf libtool
-NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
@@ -28,17 +27,18 @@ pre-configure:
 
 do-install:
 	for i in ${WRKSRC}/.libs/libvorbisidec.so.1		\
-			${WRKSRC}/.libs/libvorbisidec.so	\
-			${WRKSRC}/.libs/libvorbisidec.a ; do	\
-		${INSTALL_SCRIPT} $$i ${PREFIX}/lib ;		\
+			${WRKSRC}/.libs/libvorbisidec.so; do	\
+		${INSTALL_LIB} $$i ${STAGEDIR}${PREFIX}/lib ;		\
 	done
-	@${MKDIR} ${PREFIX}/include/tremor
+	${INSTALL_DATA} ${WRKSRC}/.libs/libvorbisidec.a \
+		${STAGEDIR}${PREFIX}/lib
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/tremor
 	for i in ${WRKSRC}/config_types.h			\
 			${WRKSRC}/ivorbiscodec.h		\
 			${WRKSRC}/ivorbisfile.h			\
 			${WRKSRC}/ogg.h				\
 			${WRKSRC}/os_types.h ; do		\
-		${INSTALL_SCRIPT} $$i ${PREFIX}/include/tremor ; \
+		${INSTALL_SCRIPT} $$i ${STAGEDIR}${PREFIX}/include/tremor ; \
 	done
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list