svn commit: r359545 - head/textproc/libkmfl
Martin Wilke
miwi at FreeBSD.org
Fri Jun 27 14:30:40 UTC 2014
Author: miwi
Date: Fri Jun 27 14:30:39 2014
New Revision: 359545
URL: http://svnweb.freebsd.org/changeset/ports/359545
QAT: https://qat.redports.org/buildarchive/r359545/
Log:
- Stage support
- Strip binary
- Convert autotools to uses
PR: 190770
Modified:
head/textproc/libkmfl/Makefile
Modified: head/textproc/libkmfl/Makefile
==============================================================================
--- head/textproc/libkmfl/Makefile Fri Jun 27 14:29:28 2014 (r359544)
+++ head/textproc/libkmfl/Makefile Fri Jun 27 14:30:39 2014 (r359545)
@@ -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 at 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>
More information about the svn-ports-all
mailing list