aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/libpinyin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/libpinyin/Makefile')
-rw-r--r--chinese/libpinyin/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index dda787eab2e4..6fc6eb34875a 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -2,14 +2,15 @@
# $FreeBSD$
PORTNAME= libpinyin
-PORTVERSION= 0.7.91
-PORTREVISION= 2
+PORTVERSION= 1.1.0
CATEGORIES= chinese textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
MAINTAINER= lichray@gmail.com
COMMENT= Library to deal with pinyin
+LICENSE= GPLv2
+
USE_BDB= yes
USE_GNOME= glib20
USES= gettext gmake libtool pathfix pkgconfig
@@ -19,13 +20,11 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \
-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}"
+INSTALL_TARGET=install-strip
PLIST_SUB+= VER=${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800107
-IGNORE= does not compile on FreeBSD 7.X
-.endif
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.5.0.0
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>