aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-27 22:30:39 +0800
committermiwi <miwi@FreeBSD.org>2014-06-27 22:30:39 +0800
commit9b548185d1357c4131c828c856b02aa04faf2171 (patch)
treecf1da0f4163683a35f3b1f6dd6e2eba8cf05b2b2 /textproc
parent2994e361fd5eed853658d2fd4c483cd6ecfc991e (diff)
downloadfreebsd-ports-gnome-9b548185d1357c4131c828c856b02aa04faf2171.tar.gz
freebsd-ports-gnome-9b548185d1357c4131c828c856b02aa04faf2171.tar.zst
freebsd-ports-gnome-9b548185d1357c4131c828c856b02aa04faf2171.zip
- Stage support
- Strip binary - Convert autotools to uses PR: 190770
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libkmfl/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/libkmfl/Makefile b/textproc/libkmfl/Makefile
index 5e05d4758efd..2f0be431175c 100644
--- a/textproc/libkmfl/Makefile
+++ b/textproc/libkmfl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libkmfl
PORTVERSION= 0.9.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/kmfl/kmfl/${PORTVERSION} \
http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
@@ -12,35 +12,35 @@ DIST_SUBDIR= kmfl
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= An engine to interpret compiled KMFL keyboard tables
-LIB_DEPENDS= kmflcomp.0:${PORTSDIR}/textproc/kmflcomp
+LIB_DEPENDS= libkmflcomp.so:${PORTSDIR}/textproc/kmflcomp
USE_LDCONFIG= yes
+USES= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
PORTDOCS= AUTHORS COPYING ChangeLog
PLIST_FILES= include/kmfl/libkmfl.h \
lib/libkmfl.a \
- lib/libkmfl.la \
lib/libkmfl.so \
+ lib/libkmfl.so.0.0.0 \
lib/libkmfl.so.0
-PLIST_DIRSTRY= include/kmfl
+PLIST_DIRSTRY= include/kmfl share/doc/kmfl
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} \
's|^install-data-am: install-libkmfldocDATA|install-data-am:|' \
${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
. for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
. endfor
-.endif
.include <bsd.port.mk>