Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 08:38:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390752 - in head/chinese/bsdconv-opencc: . files
Message-ID:  <201506280838.t5S8cUAT057363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun 28 08:38:30 2015
New Revision: 390752
URL: https://svnweb.freebsd.org/changeset/ports/390752

Log:
  - Update to 11.3
  - Strip shared library
  - Use PLIST_FILES
  
  Changes:	https://github.com/buganini/bsdconv-opencc/releases
  PR:		201016
  Submitted by:	sunpoet (myself)
  Approved by:	Kuan-Chung Chiu <buganini@gmail.com> (maintainer)

Deleted:
  head/chinese/bsdconv-opencc/files/
  head/chinese/bsdconv-opencc/pkg-plist
Modified:
  head/chinese/bsdconv-opencc/Makefile
  head/chinese/bsdconv-opencc/distinfo

Modified: head/chinese/bsdconv-opencc/Makefile
==============================================================================
--- head/chinese/bsdconv-opencc/Makefile	Sun Jun 28 08:38:25 2015	(r390751)
+++ head/chinese/bsdconv-opencc/Makefile	Sun Jun 28 08:38:30 2015	(r390752)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	opencc
-PORTVERSION=	11.1
+PORTVERSION=	11.3
 CATEGORIES=	chinese converters
 PKGNAMEPREFIX=	bsdconv-
 
@@ -15,8 +15,18 @@ BUILD_DEPENDS=	${LOCALBASE}/bin/bsdconv-
 LIB_DEPENDS=	libbsdconv.so:${PORTSDIR}/converters/bsdconv \
 		libopencc.so:${PORTSDIR}/chinese/opencc
 
+PLIST_FILES=	share/bsdconv/inter/OPENCC \
+		share/bsdconv/inter/OPENCC.man \
+		share/bsdconv/inter/OPENCC.so
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	buganini
 GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
 
+pre-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/OPENCC.so
+
 .include <bsd.port.mk>

Modified: head/chinese/bsdconv-opencc/distinfo
==============================================================================
--- head/chinese/bsdconv-opencc/distinfo	Sun Jun 28 08:38:25 2015	(r390751)
+++ head/chinese/bsdconv-opencc/distinfo	Sun Jun 28 08:38:30 2015	(r390752)
@@ -1,2 +1,2 @@
-SHA256 (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 5110067f8e3540bcb93afe5d87b6146c029a00fbbf69efb7dd07e4753ef93fad
-SIZE (buganini-bsdconv-opencc-11.1_GH0.tar.gz) = 2826
+SHA256 (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = d4520a1c49b367cacee1aa4c370271f9dadd34705ccf822fdf00db9e96eb50e2
+SIZE (buganini-bsdconv-opencc-11.3_GH0.tar.gz) = 2973



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