diff options
Diffstat (limited to 'chinese/zhcon/Makefile')
-rw-r--r-- | chinese/zhcon/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile index d5ca901b8e06..ed179e15e6e2 100644 --- a/chinese/zhcon/Makefile +++ b/chinese/zhcon/Makefile @@ -6,7 +6,7 @@ # PORTNAME= zhcon -PORTVERSION= 0.2.1 +PORTVERSION= 0.2.3 CATEGORIES= chinese MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -26,15 +26,4 @@ ONLY_FOR_ARCHS= i386 MAN1= zhcon.1 -.include <bsd.port.pre.mk> - -post-patch: -.if ${OSVERSION} > 500012 -.for i in src/main.cpp src/zhcon.cpp src/inputmanager.cpp src/display/fbdev.cpp src/mouse.h - ${REINPLACE_CMD} 's,machine/console.h>,sys/consio.h>@#include <sys/fbio.h>@#include <sys/kbio.h>,' ${WRKSRC}/${i} | tr '@' '\n' > ${WRKSRC}/${i}.bak && \ - ${MV} ${WRKSRC}/${i}.bak ${WRKSRC}/${i} -.endfor - ${REINPLACE_CMD} -i.bak -e 's,machine/mouse.h>,sys/mouse.h>,' ${WRKSRC}/src/mouse.h -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |