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

Use the install target from the source Makefile instead of doing a

manual do-install:.
This commit is contained in:
Adam Weinberger 2014-07-23 03:30:11 +00:00
parent 24b663f510
commit c6cce77cd6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362618

View File

@ -21,11 +21,7 @@ VIMCAT_PLIST_FILES= bin/vimcat man/man1/vimcat.1.gz
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}rc man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/vimcat ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/vimcat.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}rc ${STAGEDIR}${PREFIX}/etc
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile
.include <bsd.port.mk>