aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-23 11:30:11 +0800
committeradamw <adamw@FreeBSD.org>2014-07-23 11:30:11 +0800
commit704e1f0a0700efbfc1ea06ff2227bb757e6ffd81 (patch)
treebd4e8450591f727db99ac358d3c473c725d6a526
parentbd7e951a06cd97d1f9b0dc0db12d8a9631844f59 (diff)
downloadfreebsd-ports-gnome-704e1f0a0700efbfc1ea06ff2227bb757e6ffd81.tar.gz
freebsd-ports-gnome-704e1f0a0700efbfc1ea06ff2227bb757e6ffd81.tar.zst
freebsd-ports-gnome-704e1f0a0700efbfc1ea06ff2227bb757e6ffd81.zip
Use the install target from the source Makefile instead of doing a
manual do-install:.
-rw-r--r--sysutils/vimpager/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysutils/vimpager/Makefile b/sysutils/vimpager/Makefile
index a174f9f984ca..b0d5dc6967eb 100644
--- a/sysutils/vimpager/Makefile
+++ b/sysutils/vimpager/Makefile
@@ -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>