svn commit: r350032 - head/devel/stormlib-ghost++

Pawel Pekala pawel at FreeBSD.org
Thu Apr 3 18:01:06 UTC 2014


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>


More information about the svn-ports-all mailing list