1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to autotools to uses

- Stage support

PR:		190771
This commit is contained in:
Martin Wilke 2014-06-27 14:29:28 +00:00
parent 90c46955bf
commit 39db86146a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359544
2 changed files with 11 additions and 15 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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