1
0
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:
Martin Wilke 2014-06-27 16:11:09 +00:00
parent 88d659b5b8
commit 238db7a36f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359566
2 changed files with 12 additions and 15 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= scim-input-pad PORTNAME= scim-input-pad
PORTVERSION= 0.1.3.1 PORTVERSION= 0.1.3.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \ MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \
http://anthesphoria.net/FreeBSD/ports/distfiles/ http://anthesphoria.net/FreeBSD/ports/distfiles/
@ -11,13 +11,14 @@ MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \
MAINTAINER= nikola.lecic@anthesphoria.net MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= SCIM add-on to input various symbols with customisable on-screen pad 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 USE_LDCONFIG= yes
USES= gmake pkgconfig USES= gmake pkgconfig libtool
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__ CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
DESKTOP_ENTRIES="SCIM Input Pad" \ DESKTOP_ENTRIES="SCIM Input Pad" \
"${COMMENT}" \ "${COMMENT}" \
@ -28,8 +29,6 @@ DESKTOP_ENTRIES="SCIM Input Pad" \
DOCS= ChangeLog README DOCS= ChangeLog README
NO_STAGE= yes
OPTIONS_DEFINE= DOCS NLS OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
@ -44,16 +43,15 @@ PLIST_SUB+= NLS="@comment "
.endif .endif
post-patch: 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 ${WRKSRC}/configure
@${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in @${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in
post-install: post-install:
.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,11 +1,10 @@
bin/scim-input-pad 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.a
lib/scim-1.0/1.4.0/Helper/input-pad.la
lib/scim-1.0/1.4.0/Helper/input-pad.so lib/scim-1.0/1.4.0/Helper/input-pad.so
lib/libscim-input-pad.a lib/libscim-input-pad.a
lib/libscim-input-pad.la
lib/libscim-input-pad.so 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%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README
%%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo %%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo