aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-28 00:10:15 +0800
committermiwi <miwi@FreeBSD.org>2014-06-28 00:10:15 +0800
commitbb1f61d57a78b73685004a592f5857961e58df3c (patch)
tree94cf5c058fd8b60b88601eccfa5b94347f5d4518 /textproc
parent9ae813c931c9efbd1d63ccea9435a8ecf731aca6 (diff)
downloadfreebsd-ports-gnome-bb1f61d57a78b73685004a592f5857961e58df3c.tar.gz
freebsd-ports-gnome-bb1f61d57a78b73685004a592f5857961e58df3c.tar.zst
freebsd-ports-gnome-bb1f61d57a78b73685004a592f5857961e58df3c.zip
- Stage support
- Cleanup PR: 190781
Diffstat (limited to 'textproc')
-rw-r--r--textproc/scim-m17n/Makefile18
-rw-r--r--textproc/scim-m17n/pkg-plist4
2 files changed, 14 insertions, 8 deletions
diff --git a/textproc/scim-m17n/Makefile b/textproc/scim-m17n/Makefile
index 476fca2e4bf4..249d5ec9e1a2 100644
--- a/textproc/scim-m17n/Makefile
+++ b/textproc/scim-m17n/Makefile
@@ -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 m17n library as the backend
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>
diff --git a/textproc/scim-m17n/pkg-plist b/textproc/scim-m17n/pkg-plist
deleted file mode 100644
index 32220c4f0633..000000000000
--- a/textproc/scim-m17n/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-lib/scim-1.0/1.4.0/IMEngine/m17n.a
-lib/scim-1.0/1.4.0/IMEngine/m17n.la
-lib/scim-1.0/1.4.0/IMEngine/m17n.so
-share/scim/icons/scim-m17n.png