1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-31 17:07:01 +00:00
parent 2a3e5f6057
commit 74db5af24f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342040

View File

@ -16,9 +16,6 @@ OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|-O2 -pipe|| ; \
@ -26,11 +23,9 @@ post-patch:
@${LN} -sf queso.conf ${WRKSRC}/queso.conf.sample
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} queso ${PREFIX}/sbin)
(cd ${WRKSRC} && ${INSTALL_DATA} queso.conf.sample ${PREFIX}/etc)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} Documentation.txt ${DOCSDIR})
.endif
${INSTALL_PROGRAM} ${WRKSRC}/queso ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/queso.conf.sample ${STAGEDIR}${PREFIX}/etc
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>