Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 16:10:15 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359565 - head/textproc/scim-m17n
Message-ID:  <201406271610.s5RGAFXi062720@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun 27 16:10:15 2014
New Revision: 359565
URL: http://svnweb.freebsd.org/changeset/ports/359565
QAT: https://qat.redports.org/buildarchive/r359565/

Log:
  - Stage support
  - Cleanup
  
  PR:		190781

Deleted:
  head/textproc/scim-m17n/pkg-plist
Modified:
  head/textproc/scim-m17n/Makefile

Modified: head/textproc/scim-m17n/Makefile
==============================================================================
--- head/textproc/scim-m17n/Makefile	Fri Jun 27 16:09:17 2014	(r359564)
+++ head/textproc/scim-m17n/Makefile	Fri Jun 27 16:10:15 2014	(r359565)
@@ -3,7 +3,7 @@
 
 PORTNAME=	scim-m17n
 PORTVERSION=	0.2.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc
 MASTER_SITES=	SF/scim/${PORTNAME}/${PORTVERSION} \
 		http://anthesphoria.net/FreeBSD/ports/distfiles/
@@ -13,11 +13,21 @@ COMMENT=	SCIM IMEngine module which uses
 
 BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim \
 		gsed:${PORTSDIR}/textproc/gsed
-LIB_DEPENDS=	m17n.4:${PORTSDIR}/devel/m17n-lib
+LIB_DEPENDS=	libm17n.so:${PORTSDIR}/devel/m17n-lib
 RUN_DEPENDS=	scim:${PORTSDIR}/textproc/scim
 
-USES=		gmake pkgconfig
+USES=		gmake pkgconfig libtool
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+PLIST_FILES=	lib/scim-1.0/1.4.0/IMEngine/m17n.a \
+		lib/scim-1.0/1.4.0/IMEngine/m17n.so \
+		share/scim/icons/scim-m17n.png
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(moduledir)|${STAGEDIR}${PREFIX}/lib/scim-1.0/1.4.0/IMEngine|g' \
+		${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(icondir)|${STAGEDIR}${PREFIX}/share/scim/icons|g' \
+		${WRKSRC}/data/Makefile.in
 
-NO_STAGE=	yes
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406271610.s5RGAFXi062720>