Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 18:01:05 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350032 - head/devel/stormlib-ghost++
Message-ID:  <201404031801.s33I15j7007055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Apr  3 18:01:05 2014
New Revision: 350032
URL: http://svnweb.freebsd.org/changeset/ports/350032
QAT: https://qat.redports.org/buildarchive/r350032/

Log:
  - Add staging support
  - Switch to PLIST_FILES PLIST_DIRS, plist is small
  - Strip library

Deleted:
  head/devel/stormlib-ghost++/pkg-plist
Modified:
  head/devel/stormlib-ghost++/Makefile

Modified: head/devel/stormlib-ghost++/Makefile
==============================================================================
--- head/devel/stormlib-ghost++/Makefile	Thu Apr  3 18:00:06 2014	(r350031)
+++ head/devel/stormlib-ghost++/Makefile	Thu Apr  3 18:01:05 2014	(r350032)
@@ -15,10 +15,19 @@ PROJECTHOST=	ghostplusplus
 PROJECTVERSION=	17.1
 
 USES=		dos2unix gmake zip
+USE_LDCONFIG=	yes
+
+PLIST_FILES=	include/StormLib/StormLib.h \
+		include/StormLib/StormPort.h \
+		lib/libStorm.so
+PLIST_DIRS=	include/StormLib
 
 WRKSRC=		${WRKDIR}/ghost/StormLib/stormlib
 
-USE_LDCONFIG=	yes
+post-patch:
+	@${REINPLACE_CMD} 's|PREFIX|DESTDIR)$$(&|' ${WRKSRC}/Makefile
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libStorm.so
 
-NO_STAGE=	yes
 .include <bsd.port.mk>



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