View | Details | Raw Unified | Return to bug 190780
Collapse All | Expand All

(-)Makefile (-12 / +10 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	scim-input-pad
4
PORTNAME=	scim-input-pad
5
PORTVERSION=	0.1.3.1
5
PORTVERSION=	0.1.3.1
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	textproc
7
CATEGORIES=	textproc
8
MASTER_SITES=	SF/scim/${PORTNAME}/0.1.3/ \
8
MASTER_SITES=	SF/scim/${PORTNAME}/0.1.3/ \
9
		http://anthesphoria.net/FreeBSD/ports/distfiles/
9
		http://anthesphoria.net/FreeBSD/ports/distfiles/
Lines 11-23 Link Here
11
MAINTAINER=	nikola.lecic@anthesphoria.net
11
MAINTAINER=	nikola.lecic@anthesphoria.net
12
COMMENT=	SCIM add-on to input various symbols with customisable on-screen pad
12
COMMENT=	SCIM add-on to input various symbols with customisable on-screen pad
13
13
14
LIB_DEPENDS=	scim-1.0.10:${PORTSDIR}/textproc/scim
14
LIB_DEPENDS=	libscim-1.0.so:${PORTSDIR}/textproc/scim
15
15
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
USES=		gmake pkgconfig
17
USES=		gmake pkgconfig libtool
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CPPFLAGS+=	-I${LOCALBASE}/include -D__STDC_ISO_10646__
19
CPPFLAGS+=	-I${LOCALBASE}/include -D__STDC_ISO_10646__
20
LDFLAGS+=	-L${LOCALBASE}/lib
20
LDFLAGS+=	-L${LOCALBASE}/lib
21
INSTALL_TARGET=	install-strip
21
22
22
DESKTOP_ENTRIES="SCIM Input Pad" \
23
DESKTOP_ENTRIES="SCIM Input Pad" \
23
		"${COMMENT}" \
24
		"${COMMENT}" \
Lines 28-35 Link Here
28
29
29
DOCS=		ChangeLog README
30
DOCS=		ChangeLog README
30
31
31
NO_STAGE=	yes
32
33
OPTIONS_DEFINE=	DOCS NLS
32
OPTIONS_DEFINE=	DOCS NLS
34
33
35
.include <bsd.port.options.mk>
34
.include <bsd.port.options.mk>
Lines 44-59 Link Here
44
.endif
43
.endif
45
44
46
post-patch:
45
post-patch:
47
	@${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0|' \
46
	@${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0| ; \
47
   			s|(SCIM_MODULEDIR=).*|\1${PREFIX}/lib/scim-1.0/1.4.0| ; \
48
			s|(SCIM_ICONDIR=).*|\1${PREFIX}/share/scim/icons| ; \
49
			s|(SCIM_DATADIR=).*|\1${PREFIX}/share/scim|' \
48
		${WRKSRC}/configure
50
		${WRKSRC}/configure
49
	@${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in
51
	@${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in
50
52
51
post-install:
53
post-install:
52
.if ${PORT_OPTIONS:MDOCS}
54
	${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	${MKDIR} ${DOCSDIR}
55
	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
54
	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
55
.endif
56
	@${CAT} ${PKGMESSAGE}
57
	@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
58
56
59
.include <bsd.port.mk>
57
.include <bsd.port.mk>
(-)pkg-plist (-3 / +2 lines)
Lines 1-11 Link Here
1
bin/scim-input-pad
1
bin/scim-input-pad
2
lib/scim-1.0/1.4.0/Helper/input-pad.a
2
lib/scim-1.0/1.4.0/Helper/input-pad.a
3
lib/scim-1.0/1.4.0/Helper/input-pad.la
4
lib/scim-1.0/1.4.0/Helper/input-pad.so
3
lib/scim-1.0/1.4.0/Helper/input-pad.so
5
lib/libscim-input-pad.a
4
lib/libscim-input-pad.a
6
lib/libscim-input-pad.la
7
lib/libscim-input-pad.so
5
lib/libscim-input-pad.so
8
lib/libscim-input-pad.so.1
6
lib/libscim-input-pad.so.0
7
lib/libscim-input-pad.so.0.1.0
9
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
8
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
10
%%PORTDOCS%%%%DOCSDIR%%/README
9
%%PORTDOCS%%%%DOCSDIR%%/README
11
%%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo
10
%%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo

Return to bug 190780