- Stage support

- Cleanup

PR:		190781
This commit is contained in:
Martin Wilke 2014-06-27 16:10:15 +00:00
parent 3cc2c6628d
commit 88d659b5b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359565
2 changed files with 14 additions and 8 deletions

View file

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

View file

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