Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2016 09:00:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418913 - in head/korean/hmconv: . files
Message-ID:  <201607220900.u6M90XKc004450@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jul 22 09:00:33 2016
New Revision: 418913
URL: https://svnweb.freebsd.org/changeset/ports/418913

Log:
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/korean/hmconv/Makefile
  head/korean/hmconv/files/patch-hmconv1.0pl3.c

Modified: head/korean/hmconv/Makefile
==============================================================================
--- head/korean/hmconv/Makefile	Fri Jul 22 08:07:05 2016	(r418912)
+++ head/korean/hmconv/Makefile	Fri Jul 22 09:00:33 2016	(r418913)
@@ -20,8 +20,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	${REINPLACE_CMD} -e 's|^HEDITOR=.*|HEDITOR=$$EDITOR|' \
-	    ${WRKSRC}/hmailedit
+	@${REINPLACE_CMD} -e 's|^HEDITOR=.*|HEDITOR=$$EDITOR|' \
+		${WRKSRC}/hmailedit
 
 do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/hmconv ${WRKSRC}/hmconv1.0pl3.c
@@ -29,6 +29,8 @@ do-build:
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/hmailedit ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/hmconv ${STAGEDIR}${PREFIX}/bin
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/korean/hmconv/files/patch-hmconv1.0pl3.c
==============================================================================
--- head/korean/hmconv/files/patch-hmconv1.0pl3.c	Fri Jul 22 08:07:05 2016	(r418912)
+++ head/korean/hmconv/files/patch-hmconv1.0pl3.c	Fri Jul 22 09:00:33 2016	(r418913)
@@ -1,5 +1,5 @@
---- hmconv1.0pl3.c.orig	1996-07-22 23:16:14.000000000 -0400
-+++ hmconv1.0pl3.c	2013-06-12 14:24:05.000000000 -0400
+--- hmconv1.0pl3.c.orig	1996-07-23 03:16:14 UTC
++++ hmconv1.0pl3.c
 @@ -46,6 +46,7 @@
  
  
@@ -8,7 +8,7 @@
  #include <string.h>
  
  #define isksc(c)   ( (unsigned char) (c) > (unsigned char) '\240'   && \
-@@ -125,6 +126,7 @@
+@@ -125,6 +126,7 @@ char	*optstring;
  }
  
  #ifndef KNR
@@ -16,7 +16,7 @@
  main (int argc, char **argv)
  #else
  main (argc,argv)
-@@ -208,7 +210,7 @@
+@@ -208,7 +210,7 @@ int convert()
  
        if ( !ishangul) {     /* KSC 5601 doesn't appear, yet */
           fputs((char *) line,out);   /* no conversion */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607220900.u6M90XKc004450>