mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
f1f9a44b63
- Fix MASTER_SITES PR: ports/136149 Submitted by: Nikola Lecic <nikola.lecic@anthesphoria.net>
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: libkmfl
|
|
# Date created: 10 October 2007
|
|
# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libkmfl
|
|
PORTVERSION= 0.9.8
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
http://anthesphoria.net/FreeBSD/ports/distfiles/
|
|
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"
|
|
|
|
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>
|