blob: 491bd2a9994bfd6b42d1d797b8a28f7cce5858f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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= SF/kmfl/kmfl/${PORTVERSION} \
http://anthesphoria.net/FreeBSD/ports/distfiles/
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>
|