mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Simplify Makefile
This commit is contained in:
parent
dde705fb9e
commit
e8c512d5a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361604
@ -21,8 +21,6 @@ MAKE_JOBS_UNSAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/CFLAG/CFLAGS/' -e 's/make/$$(MAKE)/' \
|
||||
${WRKSRC}/Makefile
|
||||
@ -31,9 +29,7 @@ post-patch:
|
||||
${WRKSRC}/Makefile ${WRKSRC}/hzconvert/Makefile
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${STAGEDIR}${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user