Changeset View
Changeset View
Standalone View
Standalone View
chinese/pyzy/Makefile
Show All 12 Lines | |||||
COMMENT= The Chinese PinYin and Bopomofo conversion library | COMMENT= The Chinese PinYin and Bopomofo conversion library | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
BROKEN= Unfetchable (google code has gone away) | BROKEN= Unfetchable (google code has gone away) | ||||
LIB_DEPENDS= libsqlite3.so:databases/sqlite3 | LIB_DEPENDS= libsqlite3.so:databases/sqlite3 | ||||
USES= compiler:c++11-lib gettext-runtime gmake libtool pkgconfig python:build shebangfix | USES= compiler:c++11-lib gettext-runtime gmake libtool pathfix pkgconfig python:build shebangfix | ||||
SHEBANG_FILES= data/db/android/create_db.py | SHEBANG_FILES= data/db/android/create_db.py | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost | CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost | ||||
OPTIONS_DEFINE= ANDROID_DB OPENPHRASE_DB OPENCC | OPTIONS_DEFINE= ANDROID_DB OPENPHRASE_DB OPENCC | ||||
Show All 11 Lines | |||||
OPENPHRASE_DB_CONFIGURE_ENABLE= db-open-phrase | OPENPHRASE_DB_CONFIGURE_ENABLE= db-open-phrase | ||||
OPENPHRASE_DB_DISTFILES= ${OPENPHRASE_DBFILE} | OPENPHRASE_DB_DISTFILES= ${OPENPHRASE_DBFILE} | ||||
OPENCC_CONFIGURE_ENABLE= opencc | OPENCC_CONFIGURE_ENABLE= opencc | ||||
OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc | OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc | ||||
post-extract-OPENPHRASE_DB-on: | post-extract-OPENPHRASE_DB-on: | ||||
@${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase | @${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase | ||||
post-patch: | |||||
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in | |||||
post-install: | post-install: | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |