View | Details | Raw Unified | Return to bug 191958 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/net/gogoc/Makefile (-16 / +19 lines)
Lines 14-47 Link Here
14
USE_RC_SUBR=	gogoc
14
USE_RC_SUBR=	gogoc
15
USE_OPENSSL=	yes
15
USE_OPENSSL=	yes
16
16
17
MAKE_JOBS_UNSAFE=	yes
17
OPTIONS_DEFINE=	DOCS EXAMPLES
18
18
19
MAN5=		gogoc.conf.5
19
MAKE_JOBS_UNSAFE=	yes
20
MAN8=		gogoc.8
21
20
22
PORTDOCS=	README CLIENT-LICENSE.TXT GUI-LICENSE.TXT
21
PORTDOCS=	CLIENT-LICENSE.TXT GUI-LICENSE.TXT INSTALL README
23
22
24
SUB_FILES=	gogoc
23
SUB_FILES=	gogoc
25
SUB_LIST=	LOCALBASE=${LOCALBASE}
24
SUB_LIST=	LOCALBASE=${LOCALBASE}
26
25
27
NO_STAGE=	yes
26
.include <bsd.port.options.mk>
27
28
do-install:
28
do-install:
29
	cd ${WRKSRC}/gogoc-tsp/ && \
29
	cd ${WRKSRC}/gogoc-tsp/ && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} \
30
	    ${MAKE_CMD} platform=freebsd installdir=${PREFIX} install
30
	    ${MAKE_CMD} platform=freebsd installdir=${STAGEDIR}${PREFIX} install
31
	${RM} ${PREFIX}/bin/gogoc.conf*
31
	${RM} ${STAGEDIR}${PREFIX}/bin/gogoc.conf*
32
.if !defined(NOPORTEXAMPLES)
32
33
	${MKDIR} ${EXAMPLESDIR}
33
post-install:
34
	${INSTALL_DATA} ${WRKSRC}/gogoc-tsp/bin/gogoc.conf.sample ${EXAMPLESDIR}
34
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gogoc
35
.if ${PORT_OPTIONS:MEXAMPLES}
36
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
37
	${INSTALL_DATA} ${WRKSRC}/gogoc-tsp/bin/gogoc.conf.sample ${STAGEDIR}${EXAMPLESDIR}
35
.endif
38
.endif
36
.if !defined(NOPORTDOCS)
39
.if ${PORT_OPTIONS:MDOCS}
37
	${MKDIR} ${DOCSDIR}
40
	${MKDIR} ${STAGEDIR}${DOCSDIR}
38
.for file in ${PORTDOCS}
41
.for file in ${PORTDOCS}
39
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
42
	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
40
.endfor
43
.endfor
41
.endif
44
.endif
42
45
43
	@if [ ! -f ${PREFIX}/etc/gogoc.conf ]; then \
46
	@if [ ! -f ${STAGEDIR}${PREFIX}/etc/gogoc.conf ]; then \
44
		${TOUCH} ${PREFIX}/etc/gogoc.conf ; \
47
		${CP} -p ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample ${STAGEDIR}${PREFIX}/etc/gogoc.conf ; \
45
	fi
48
	fi
46
49
47
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)/usr/ports/net/gogoc/pkg-descr (-1 / +1 lines)
Lines 6-9 Link Here
6
from anywhere, including from behind any NAT device or from outside of their
6
from anywhere, including from behind any NAT device or from outside of their
7
home network.
7
home network.
8
8
9
WWW: http://gogonet.gogo6.com/page/freenet6-services
9
WWW: http://www.gogo6.com/freenet6/
(-)/usr/ports/net/gogoc/pkg-plist (-2 / +4 lines)
Lines 1-7 Link Here
1
bin/gogoc
1
bin/gogoc
2
%%ETCDIR%%.conf
2
%%ETCDIR%%.conf
3
man/man5/gogoc.conf.5.gz
4
man/man8/gogoc.8.gz
3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gogoc.conf.sample
5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gogoc.conf.sample
4
template/README
6
template/README
5
template/freebsd.sh
7
template/freebsd.sh
6
@dirrm template
8
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
7
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
9
@dirrmtry template

Return to bug 191958