- Simplify Makefile

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-07-12 08:41:55 +00:00
parent dde705fb9e
commit e8c512d5a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361604

View file

@ -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>