Lines 2-20
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= xrdp |
4 |
PORTNAME= xrdp |
5 |
PORTVERSION= 0.6.0 |
5 |
PORTVERSION= 0.6.1 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 0 |
7 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
8 |
CATEGORIES= net |
8 |
CATEGORIES= net |
9 |
MASTER_SITES= SF/xrdp/xrdp/${PORTVERSION} |
9 |
MASTER_SITES= GH |
10 |
DISTNAME= ${PORTNAME}-v${PORTVERSION} |
|
|
11 |
DIST_SUBDIR?= ${PORTNAME} |
10 |
DIST_SUBDIR?= ${PORTNAME} |
12 |
|
11 |
|
13 |
PATCH_SITES= http://www.club.kyutech.ac.jp/~meta/patches/xrdp/0.6.0/ \ |
12 |
PATCH_SITES= http://www.club.kyutech.ac.jp/~meta/patches/xrdp/0.6.0/ \ |
14 |
http://key2.jp/~meta/patches/xrdp/0.6.0/ |
13 |
http://key2.jp/~meta/patches/xrdp/0.6.0/ |
15 |
|
14 |
|
16 |
MAINTAINER= meta+ports@vmeta.jp |
15 |
MAINTAINER= meta+ports@vmeta.jp |
17 |
COMMENT= An open source Remote Desktop Protocol (RDP) server |
16 |
COMMENT= Open source Remote Desktop Protocol (RDP) server |
18 |
|
17 |
|
19 |
LICENSE= GPLv2 |
18 |
LICENSE= GPLv2 |
20 |
LICENSE_FILE= ${WRKSRC}/COPYING |
19 |
LICENSE_FILE= ${WRKSRC}/COPYING |
Lines 24-29
Link Here
|
24 |
USE_AUTOTOOLS= autoconf:env automake:env libtool |
23 |
USE_AUTOTOOLS= autoconf:env automake:env libtool |
25 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
26 |
USE_RC_SUBR= xrdp |
25 |
USE_RC_SUBR= xrdp |
|
|
26 |
USE_GITHUB= yes |
27 |
GH_ACCOUNT= FreeRDP |
28 |
GH_PROJECT= xrdp |
29 |
GH_COMMIT= 5d53758 |
30 |
GH_TAGNAME= ${GH_COMMIT} |
27 |
|
31 |
|
28 |
CONFIGURE_ARGS= --localstatedir=/var --enable-freerdp1 |
32 |
CONFIGURE_ARGS= --localstatedir=/var --enable-freerdp1 |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
33 |
LDFLAGS+= -L${LOCALBASE}/lib |
Lines 31-37
Link Here
|
31 |
CONFLICTS= xrdp-devel-[0-9]* |
35 |
CONFLICTS= xrdp-devel-[0-9]* |
32 |
BUILD_DEPENDS+= freerdp>=1.0.2:${PORTSDIR}/net/freerdp |
36 |
BUILD_DEPENDS+= freerdp>=1.0.2:${PORTSDIR}/net/freerdp |
33 |
|
37 |
|
34 |
USE_LDCONFIG= ${PREFIX}/lib/xrdp |
38 |
USE_LDCONFIG= ${STAGEDIR}${PREFIX}/lib/xrdp |
35 |
|
39 |
|
36 |
OPTIONS_DEFINE= DEBUG JP106 |
40 |
OPTIONS_DEFINE= DEBUG JP106 |
37 |
OPTIONS_DEFAULT= JP106 TIGERVNC |
41 |
OPTIONS_DEFAULT= JP106 TIGERVNC |
Lines 43-49
Link Here
|
43 |
TRIDIAVNC_DESC= Use TridiaVNC |
47 |
TRIDIAVNC_DESC= Use TridiaVNC |
44 |
JP106_DESC= Install Japanese JP106 keymap |
48 |
JP106_DESC= Install Japanese JP106 keymap |
45 |
|
49 |
|
46 |
NO_STAGE= yes |
|
|
47 |
.include <bsd.port.options.mk> |
50 |
.include <bsd.port.options.mk> |
48 |
|
51 |
|
49 |
# Which Xserver to use |
52 |
# Which Xserver to use |
Lines 76-84
Link Here
|
76 |
PLIST_SUB+= JP106="@comment " |
79 |
PLIST_SUB+= JP106="@comment " |
77 |
.endif |
80 |
.endif |
78 |
|
81 |
|
79 |
MAN5= sesman.ini.5 xrdp.ini.5 |
|
|
80 |
MAN8= xrdp-sesman.8 xrdp-sesrun.8 xrdp.8 |
81 |
|
82 |
SUB_FILES= pkg-message |
82 |
SUB_FILES= pkg-message |
83 |
|
83 |
|
84 |
post-patch: |
84 |
post-patch: |
Lines 91-100
Link Here
|
91 |
|
91 |
|
92 |
post-install: |
92 |
post-install: |
93 |
.for f in sesman.ini startwm.sh xrdp.ini |
93 |
.for f in sesman.ini startwm.sh xrdp.ini |
94 |
@if [ ! -f ${PREFIX}/etc/xrdp/$f ]; then \ |
94 |
@if [ ! -f ${STAGEDIR}${PREFIX}/etc/xrdp/$f ]; then \ |
95 |
${CP} -p ${PREFIX}/etc/xrdp/$f.sample ${PREFIX}/etc/xrdp/$f ; \ |
95 |
${CP} -p ${STAGEDIR}${PREFIX}/etc/xrdp/$f.sample ${STAGEDIR}${PREFIX}/etc/xrdp/$f ; \ |
96 |
fi |
96 |
fi |
97 |
.endfor |
97 |
.endfor |
98 |
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} |
|
|
99 |
|
98 |
|
100 |
.include <bsd.port.mk> |
99 |
.include <bsd.port.mk> |