Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 15:49:09 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343109 - in head: devel/ptlib net-im/ekiga net/opal
Message-ID:  <201402061549.s16Fn9Yd099219@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Feb  6 15:49:09 2014
New Revision: 343109
URL: http://svnweb.freebsd.org/changeset/ports/343109
QAT: https://qat.redports.org/buildarchive/r343109/

Log:
  Stagify.

Modified:
  head/devel/ptlib/Makefile
  head/net-im/ekiga/Makefile
  head/net-im/ekiga/pkg-plist
  head/net/opal/Makefile

Modified: head/devel/ptlib/Makefile
==============================================================================
--- head/devel/ptlib/Makefile	Thu Feb  6 15:29:58 2014	(r343108)
+++ head/devel/ptlib/Makefile	Thu Feb  6 15:49:09 2014	(r343109)
@@ -43,7 +43,6 @@ OPTIONS_DEFAULT=BSDVIDEO SDL V4L JABBER
 BSDVIDEO_DESC=	BSD video support
 DEBUG_DESC=	Install debug library
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
@@ -166,11 +165,15 @@ pre-configure:
 	cd ${WRKSRC}/plugins/ && autoreconf -fi
 
 post-install:
-	${LN} -sf libpt.so.${PORTVERSION} ${PREFIX}/lib/libpt.so.${PVERSION_MAJOR}
-	${LN} -sf libpt.so.${PORTVERSION} ${PREFIX}/lib/libpt.so.${PVERSION_MINOR}
+	${LN} -sf libpt.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PVERSION_MAJOR}
+	${LN} -sf libpt.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PVERSION_MINOR}
 .if ${PORT_OPTIONS:MDEBUG}
-	${LN} -sf libpt_d.so.${PORTVERSION} ${PREFIX}/lib/libpt_d.so.${PVERSION_MAJOR}
-	${LN} -sf libpt_d.so.${PORTVERSION} ${PREFIX}/lib/libpt_d.so.${PVERSION_MINOR}
+	${LN} -sf libpt_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt_d.so.${PVERSION_MAJOR}
+	${LN} -sf libpt_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt_d.so.${PVERSION_MINOR}
 .endif
+	@${CHMOD} 0755 ${STAGEDIR}${PREFIX}/lib/libpt.so.${PORTVERSION} \
+		${STAGEDIR}${PREFIX}/lib/ptlib-${PORTVERSION}/devices/*/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PORTVERSION}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ptlib-${PORTVERSION}/devices/*/*.so
 
 .include <bsd.port.mk>

Modified: head/net-im/ekiga/Makefile
==============================================================================
--- head/net-im/ekiga/Makefile	Thu Feb  6 15:29:58 2014	(r343108)
+++ head/net-im/ekiga/Makefile	Thu Feb  6 15:49:09 2014	(r343109)
@@ -30,8 +30,6 @@ INSTALLS_ICONS=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-I${LOCALBASE}/lib
 
-MAN1=		ekiga.1
-
 OPTIONS_DEFINE=	LDAP NOTIFY EVOLUTION GCONF DBUS AVAHI GNOMEHELP
 OPTIONS_DEFAULT=NOTIFY DBUS GCONF AVAHI
 
@@ -49,7 +47,6 @@ LOUDMOUTH_DESC=	XMPP (jabber) support
 
 # Note that h.323 support is enabled when opal is build with it.
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 PLIST_SUB+=	VERSION=${PORTVERSION}
@@ -168,4 +165,8 @@ CONFIGURE_ARGS+=--disable-gdu
 PLIST_SUB+=	GNOMEHELP="@comment "
 .endif
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ekiga/${PORTVERSION}/libekiga.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ekiga/${PORTVERSION}/plugins/*.so
+
 .include <bsd.port.mk>

Modified: head/net-im/ekiga/pkg-plist
==============================================================================
--- head/net-im/ekiga/pkg-plist	Thu Feb  6 15:29:58 2014	(r343108)
+++ head/net-im/ekiga/pkg-plist	Thu Feb  6 15:49:09 2014	(r343109)
@@ -12,6 +12,7 @@ lib/ekiga/%%VERSION%%/libekiga.la
 %%LDAP%%lib/ekiga/4.0.1/plugins/libgmldap.so
 %%NOTIFY%%lib/ekiga/%%VERSION%%/plugins/libgmlibnotify.so
 %%NOTIFY%%lib/ekiga/%%VERSION%%/plugins/libgmlibnotify.la
+man/man1/ekiga.1.gz
 share/applications/ekiga.desktop
 %%DBUS%%share/dbus-1/services/org.ekiga.Ekiga.service
 %%DBUS%%share/dbus-1/services/org.ekiga.Helper.service

Modified: head/net/opal/Makefile
==============================================================================
--- head/net/opal/Makefile	Thu Feb  6 15:29:58 2014	(r343108)
+++ head/net/opal/Makefile	Thu Feb  6 15:49:09 2014	(r343109)
@@ -58,7 +58,6 @@ LID_DESC=	Light-Weight Identity (incl. x
 UVIDEO_DESC=	RFC4175 uncompressed video RTP payload
 AEC_DESC=	Accoustic echo cancellation
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .ifdef OPALDIR
@@ -293,11 +292,15 @@ CONFIGURE_ARGS+=	--disable-gsmamr \
 			--disable-ruby
 
 post-install:
-	${LN} -sf libopal.so.${PORTVERSION} ${PREFIX}/lib/libopal.so.${PVERSION_MAJOR}
-	${LN} -sf libopal.so.${PORTVERSION} ${PREFIX}/lib/libopal.so.${PVERSION_MINOR}
+	${LN} -sf libopal.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopal.so.${PVERSION_MAJOR}
+	${LN} -sf libopal.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopal.so.${PVERSION_MINOR}
 .if ${PORT_OPTIONS:MDEBUG}
-	${LN} -sf libopal_d.so.${PORTVERSION} ${PREFIX}/lib/libopal_d.so.${PVERSION_MAJOR}
-	${LN} -sf libopal_d.so.${PORTVERSION} ${PREFIX}/lib/libopal_d.so.${PVERSION_MINOR}
+	${LN} -sf libopal_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopal_d.so.${PVERSION_MAJOR}
+	${LN} -sf libopal_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopal_d.so.${PVERSION_MINOR}
 .endif
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopal.so.${PORTVERSION}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/codecs/video/h264_video_pwplugin_helper
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/*/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/opal-${PORTVERSION}/*/*/*.so
 
 .include <bsd.port.mk>



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