mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
- Cleanup PR: 190780
This commit is contained in:
parent
88d659b5b8
commit
238db7a36f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359566
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= scim-input-pad
|
||||
PORTVERSION= 0.1.3.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \
|
||||
http://anthesphoria.net/FreeBSD/ports/distfiles/
|
||||
@ -11,13 +11,14 @@ MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \
|
||||
MAINTAINER= nikola.lecic@anthesphoria.net
|
||||
COMMENT= SCIM add-on to input various symbols with customisable on-screen pad
|
||||
|
||||
LIB_DEPENDS= scim-1.0.10:${PORTSDIR}/textproc/scim
|
||||
LIB_DEPENDS= libscim-1.0.so:${PORTSDIR}/textproc/scim
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USES= gmake pkgconfig
|
||||
USES= gmake pkgconfig libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
DESKTOP_ENTRIES="SCIM Input Pad" \
|
||||
"${COMMENT}" \
|
||||
@ -28,8 +29,6 @@ DESKTOP_ENTRIES="SCIM Input Pad" \
|
||||
|
||||
DOCS= ChangeLog README
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
@ -44,16 +43,15 @@ PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0|' \
|
||||
@${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0| ; \
|
||||
s|(SCIM_MODULEDIR=).*|\1${PREFIX}/lib/scim-1.0/1.4.0| ; \
|
||||
s|(SCIM_ICONDIR=).*|\1${PREFIX}/share/scim/icons| ; \
|
||||
s|(SCIM_DATADIR=).*|\1${PREFIX}/share/scim|' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +1,10 @@
|
||||
bin/scim-input-pad
|
||||
lib/scim-1.0/1.4.0/Helper/input-pad.a
|
||||
lib/scim-1.0/1.4.0/Helper/input-pad.la
|
||||
lib/scim-1.0/1.4.0/Helper/input-pad.so
|
||||
lib/libscim-input-pad.a
|
||||
lib/libscim-input-pad.la
|
||||
lib/libscim-input-pad.so
|
||||
lib/libscim-input-pad.so.1
|
||||
lib/libscim-input-pad.so.0
|
||||
lib/libscim-input-pad.so.0.1.0
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo
|
||||
|
Loading…
Reference in New Issue
Block a user