diff options
Diffstat (limited to 'x11/xvkbd/Makefile')
-rw-r--r-- | x11/xvkbd/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/xvkbd/Makefile b/x11/xvkbd/Makefile index 788cd3e537b0..106625c9a73c 100644 --- a/x11/xvkbd/Makefile +++ b/x11/xvkbd/Makefile @@ -6,8 +6,7 @@ # PORTNAME= xvkbd -PORTVERSION= 2.6 -PORTREVISION= 3 +PORTVERSION= 3.0 CATEGORIES= x11 MASTER_SITES= http://homepage3.nifty.com/tsato/xvkbd/ @@ -38,9 +37,16 @@ XK_DEFSUBST += -e 's/XCOMM define XTEST/\#define XTEST/;' XK_DEFSUBST += -e 's/XCOMM define I18N/\#define I18N/;' .endif -.if defined(XK_DEFSUBST) post-patch: +.if defined(XK_DEFSUBST) ${REINPLACE_CMD} ${XK_DEFSUBST} ${WRKSRC}/Imakefile .endif + ${REINPLACE_CMD} -e "s@/usr/include/@${LOCALBASE}/include/@" ${WRKSRC}/XVkbd-small.ad + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif .include <bsd.port.post.mk> |