svn commit: r378255 - head/net-mgmt/flowd

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Feb 1 17:49:27 UTC 2015


Author: amdmi3
Date: Sun Feb  1 17:49:26 2015
New Revision: 378255
URL: https://svnweb.freebsd.org/changeset/ports/378255
QAT: https://qat.redports.org/buildarchive/r378255/

Log:
  - Install stuff in pre-install target - this is needed for perl5.mk's fix-perl-things target to run correctly as it's run before post-install
  - Fix strip
  - Remove @dirrm* from pkg-plist

Modified:
  head/net-mgmt/flowd/Makefile
  head/net-mgmt/flowd/pkg-plist

Modified: head/net-mgmt/flowd/Makefile
==============================================================================
--- head/net-mgmt/flowd/Makefile	Sun Feb  1 17:40:01 2015	(r378254)
+++ head/net-mgmt/flowd/Makefile	Sun Feb  1 17:49:26 2015	(r378255)
@@ -58,7 +58,7 @@ post-build:
 	( cd ${WRKSRC} && ${PYTHON_CMD} setup.py build )
 .endif
 
-post-install:
+pre-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@@ -66,7 +66,9 @@ post-install:
 
 .if ${PORT_OPTIONS:MPERL}
 	( cd ${WRKSRC}/Flowd-perl && ${MAKE_CMD} install )
+	@${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
+	@${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
 .endif
 
 .if ${PORT_OPTIONS:MPYTHON}

Modified: head/net-mgmt/flowd/pkg-plist
==============================================================================
--- head/net-mgmt/flowd/pkg-plist	Sun Feb  1 17:40:01 2015	(r378254)
+++ head/net-mgmt/flowd/pkg-plist	Sun Feb  1 17:49:26 2015	(r378255)
@@ -28,6 +28,3 @@ sbin/flowd
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sockclient.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/wormsuspects.pl
- at dirrm include/flowd
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/flowrrd
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%


More information about the svn-ports-all mailing list