blob: 2046afe084339f4e9b32cd435b9762458ed44af2 (
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
50
51
52
53
54
|
# Created by: Andrew Turner <andrew+ports@fubar.geek.nz>
# $FreeBSD$
PORTNAME= libdfui
PORTVERSION= 4.1.20060122
CATEGORIES= devel
MASTER_SITES= LOCAL/philip
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Abstract user interface protocol library
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libaura3.so:devel/libaura
USES= tar:bzip2
USE_LDCONFIG= yes
SONAME= ${SOLINK}.4
SOLINK= ${PORTNAME}4.so
PLIST_FILES= lib/${SONAME} \
lib/${SOLINK} \
include/dfui4/conn_caps.h \
include/dfui4/conn_npipe.h \
include/dfui4/conn_tcp.h \
include/dfui4/dfui.h \
include/dfui4/dump.h \
include/dfui4/encoding.h \
include/dfui4/lang.h \
include/dfui4/system.h
PORTDOCS= README
MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK}
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${STAGEDIR}${PREFIX}/lib/${SONAME}
${LN} -s ${SONAME} ${STAGEDIR}${PREFIX}/lib/${SOLINK}
${MKDIR} ${STAGEDIR}${PREFIX}/include/dfui4
${INSTALL_DATA} ${WRKSRC}/conn_caps.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/conn_npipe.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/conn_tcp.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/dfui.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/dump.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/encoding.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/lang.h ${STAGEDIR}${PREFIX}/include/dfui4/
${INSTALL_DATA} ${WRKSRC}/system.h ${STAGEDIR}${PREFIX}/include/dfui4/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|