- 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
This commit is contained in:
parent
f82b5b51d8
commit
375cb03427
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378255
@ -58,7 +58,7 @@ post-build:
|
|||||||
( cd ${WRKSRC} && ${PYTHON_CMD} setup.py build )
|
( cd ${WRKSRC} && ${PYTHON_CMD} setup.py build )
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
pre-install:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
@ -66,7 +66,9 @@ post-install:
|
|||||||
|
|
||||||
.if ${PORT_OPTIONS:MPERL}
|
.if ${PORT_OPTIONS:MPERL}
|
||||||
( cd ${WRKSRC}/Flowd-perl && ${MAKE_CMD} install )
|
( 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
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
|
||||||
|
@${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Flowd/Flowd.so
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MPYTHON}
|
.if ${PORT_OPTIONS:MPYTHON}
|
||||||
|
@ -28,6 +28,3 @@ sbin/flowd
|
|||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sockclient.py
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sockclient.py
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats.py
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats.py
|
||||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wormsuspects.pl
|
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wormsuspects.pl
|
||||||
@dirrm include/flowd
|
|
||||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/flowrrd
|
|
||||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
|
||||||
|
Loading…
Reference in New Issue
Block a user