Changeset View
Changeset View
Standalone View
Standalone View
chinese/libpinyin/Makefile
Show All 11 Lines | |||||
USES= bdb compiler:c++11-lang gmake gnome libtool pathfix pkgconfig | USES= bdb compiler:c++11-lang gmake gnome libtool pathfix pkgconfig | ||||
USE_GNOME= glib20 | USE_GNOME= glib20 | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \ | CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include \ | ||||
-I${BDB_INCLUDE_DIR} -D_WITH_GETLINE" \ | -I${BDB_INCLUDE_DIR}" \ | ||||
LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}" | LDFLAGS="-L${LOCALBASE}/lib -l${BDB_LIB_NAME}" | ||||
INSTALL_TARGET=install-strip | INSTALL_TARGET=install-strip | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
PLIST_SUB+= VER=${PORTVERSION} | PLIST_SUB+= VER=${PORTVERSION} | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.13.0.0 | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpinyin.so.13.0.0 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |