From 39db86146a4deeb2f4d2f58c89bf3b0975731ce6 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 27 Jun 2014 14:29:28 +0000 Subject: [PATCH] - Convert to autotools to uses - Stage support PR: 190771 --- textproc/scim-kmfl-imengine/Makefile | 24 +++++++++++------------- textproc/scim-kmfl-imengine/pkg-plist | 2 -- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/textproc/scim-kmfl-imengine/Makefile b/textproc/scim-kmfl-imengine/Makefile index b6ac24464a3c..4abf08633f4f 100644 --- a/textproc/scim-kmfl-imengine/Makefile +++ b/textproc/scim-kmfl-imengine/Makefile @@ -3,7 +3,7 @@ PORTNAME= scim-kmfl-imengine PORTVERSION= 0.9.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= SF/kmfl/kmfl/${PORTVERSION} \ http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ @@ -13,23 +13,24 @@ MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= SCIM KMFL IMEngine platform for Keyman (KMN) language keyboards BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim -LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ +LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ - kmfl.0:${PORTSDIR}/textproc/libkmfl \ - kmflcomp.0:${PORTSDIR}/textproc/kmflcomp \ - png15:${PORTSDIR}/graphics/png + libkmfl.so:${PORTSDIR}/textproc/libkmfl \ + libkmflcomp.so:${PORTSDIR}/textproc/kmflcomp \ + libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp \ scim:${PORTSDIR}/textproc/scim USE_XORG= x11 xkbfile xproto -USE_AUTOTOOLS= libtool USE_GNOME= glib20 gtk20 intlhack -USES= gettext iconv pkgconfig +USES= gettext iconv pkgconfig libtool +GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes +INSTALL_TARGET= install-strip +OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME} PORTDOCS= AUTHORS COPYING ChangeLog SUB_FILES= pkg-message @@ -67,12 +68,9 @@ post-patch: ${WRKSRC}/src/scim_kmfl_imengine.cpp post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor -.endif - @${CAT} ${PKGMESSAGE} .include diff --git a/textproc/scim-kmfl-imengine/pkg-plist b/textproc/scim-kmfl-imengine/pkg-plist index c20e9aed84ae..58d88e17edc8 100644 --- a/textproc/scim-kmfl-imengine/pkg-plist +++ b/textproc/scim-kmfl-imengine/pkg-plist @@ -1,8 +1,6 @@ lib/scim-1.0/1.4.0/IMEngine/kmfl.a -lib/scim-1.0/1.4.0/IMEngine/kmfl.la lib/scim-1.0/1.4.0/IMEngine/kmfl.so lib/scim-1.0/1.4.0/SetupUI/kmfl_imengine_setup.a -lib/scim-1.0/1.4.0/SetupUI/kmfl_imengine_setup.la lib/scim-1.0/1.4.0/SetupUI/kmfl_imengine_setup.so share/scim/kmfl/icons/default.png @dirrmtry share/scim/kmfl/icons