Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2016 22:09:12 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422163 - in head/korean/libhangul: . files
Message-ID:  <201609142209.u8EM9CvY038755@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Sep 14 22:09:11 2016
New Revision: 422163
URL: https://svnweb.freebsd.org/changeset/ports/422163

Log:
  Unbreak the port and modernize.

Deleted:
  head/korean/libhangul/files/patch-Makefile.in
  head/korean/libhangul/files/patch-test
  head/korean/libhangul/files/patch-tools
Modified:
  head/korean/libhangul/Makefile
  head/korean/libhangul/distinfo

Modified: head/korean/libhangul/Makefile
==============================================================================
--- head/korean/libhangul/Makefile	Wed Sep 14 21:51:57 2016	(r422162)
+++ head/korean/libhangul/Makefile	Wed Sep 14 22:09:11 2016	(r422163)
@@ -3,36 +3,34 @@
 
 PORTNAME=	libhangul
 PORTVERSION=	0.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	korean
-MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	jkim@FreeBSD.org
 COMMENT=	Library for Hangul processing
 
-LICENSE=	LGPL21
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		Unfetchable (google code has gone away)
+TEST_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/check.pc:devel/libcheck
+
+GH_ACCOUNT=	choehwanjin
+GH_TAGNAME=	9fe2d4e
+USE_GITHUB=	yes
 
 GNU_CONFIGURE=	yes
-OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=	NLS
+PATHFIX_MAKEFILEIN=	Makefile.am
+TEST_TARGET=	test
+TEST_WRKSRC=	${WRKSRC}/test
 USE_LDCONFIG=	yes
-USES=		iconv libtool pkgconfig
+USES=		autoreconf iconv libtool pathfix pkgconfig
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS=	--enable-nls
-.else
-CONFIGURE_ARGS=	--disable-nls
-.endif
-
-.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
-test:	build
-	@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} )
-	@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test && ./test )
-.endif
+post-test:
+	@${TEST_WRKSRC}/test
 
 .include <bsd.port.mk>

Modified: head/korean/libhangul/distinfo
==============================================================================
--- head/korean/libhangul/distinfo	Wed Sep 14 21:51:57 2016	(r422162)
+++ head/korean/libhangul/distinfo	Wed Sep 14 22:09:11 2016	(r422163)
@@ -1,2 +1,3 @@
-SHA256 (libhangul-0.1.0.tar.gz) = 5905aa5c557d8d46e190fec1afdd75babf3bc086ef286b42007572703658295a
-SIZE (libhangul-0.1.0.tar.gz) = 2899845
+TIMESTAMP = 1473878096
+SHA256 (choehwanjin-libhangul-0.1.0-9fe2d4e_GH0.tar.gz) = f7f36f051b9b88f77be4849ab1b2ad13f7812440547e9cd9bf4caed0742e9a2d
+SIZE (choehwanjin-libhangul-0.1.0-9fe2d4e_GH0.tar.gz) = 3981418



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