mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support staging
This commit is contained in:
parent
a7dd7e026f
commit
fbf194f369
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345245
@ -19,9 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|^HEDITOR=.*|HEDITOR=$$EDITOR|' \
|
||||
${WRKSRC}/hmailedit
|
||||
@ -30,10 +27,8 @@ do-build:
|
||||
${CC} ${CFLAGS} -o ${WRKSRC}/hmconv ${WRKSRC}/hmconv1.0pl3.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/hmailedit ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hmconv ${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/hmailedit ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hmconv ${STAGEDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user