diff options
Diffstat (limited to 'textproc/libkmfl/Makefile')
-rw-r--r-- | textproc/libkmfl/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/textproc/libkmfl/Makefile b/textproc/libkmfl/Makefile new file mode 100644 index 000000000000..094fd721b290 --- /dev/null +++ b/textproc/libkmfl/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: libkmfl +# Date created: 10 October 2007 +# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net> +# +# $FreeBSD$ +# + +PORTNAME= libkmfl +PORTVERSION= 0.9.6 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://anthesphoria.net/files/distribution/ +MASTER_SITE_SUBDIR= kmfl +DIST_SUBDIR= kmfl + +MAINTAINER= nikola.lecic@anthesphoria.net +COMMENT= An engine to interpret compiled KMFL keyboard tables + +LIB_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp + +USE_LDCONFIG= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +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 + +post-patch: + @${REINPLACE_CMD} \ + 's|^install-data-am: install-libkmfldocDATA|install-data-am:|' \ + ${WRKSRC}/Makefile.in + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> |