View | Details | Raw Unified | Return to bug 183208
Collapse All | Expand All

(-)Makefile (-16 / +11 lines)
Lines 29-35 Link Here
29
WIRESHARK_DESC=	Install wireshark
29
WIRESHARK_DESC=	Install wireshark
30
30
31
NO_BUILD=	yes
31
NO_BUILD=	yes
32
NO_STAGE=	yes
33
USES=		tk:wrapper
32
USES=		tk:wrapper
34
WRKSRC=		${WRKDIR}/sguil-${PORTVERSION}
33
WRKSRC=		${WRKDIR}/sguil-${PORTVERSION}
35
SUB_LIST=	SGUILDIR=${SGUILDIR}
34
SUB_LIST=	SGUILDIR=${SGUILDIR}
Lines 58-88 Link Here
58
.endif
57
.endif
59
58
60
do-install:
59
do-install:
61
	@${MKDIR} ${PREFIX}/bin/${SGUILDIR}
60
	@${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}
61
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
62
	${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk \
62
	${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk \
63
		${PREFIX}/bin/${SGUILDIR}/sguil.tk
63
		${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/sguil.tk
64
	${INSTALL_DATA} ${PORTDOCS1:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
65
	${INSTALL_DATA} ${PORTDOCS2:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
64
.for f in sguil.conf
66
.for f in sguil.conf
65
	${INSTALL_DATA} ${WRKSRC}/client/${f} \
67
	${INSTALL_DATA} ${WRKSRC}/client/${f} \
66
		${PREFIX}/etc/${f}-sample
68
		${STAGEDIR}${PREFIX}/etc/${f}-sample
67
.endfor
69
.endfor
68
.for f in ${LIBFILES}
70
.for f in ${LIBFILES}
69
	@${MKDIR} ${PREFIX}/bin/${SGUILDIR}/lib
71
	@${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib
70
	${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${PREFIX}/bin/${SGUILDIR}/lib/${f}
72
	${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib/${f}
71
.endfor
73
.endfor
72
.for f in sguil_logo_h.gif
74
.for f in sguil_logo_h.gif
73
	@${MKDIR} ${PREFIX}/bin/${SGUILDIR}/images
75
	@${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/images
74
	${INSTALL_DATA} ${WRKSRC}/client/lib/images/${f} \
76
	${INSTALL_DATA} ${WRKSRC}/client/lib/images/${f} \
75
		${PREFIX}/bin/${SGUILDIR}/images/${f}
77
		${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/images/${f}
76
.endfor
78
.endfor
77
79
78
	(cd ${WRKSRC}/client/lib/tablelist4.1 && ${COPYTREE_SHARE} \* \
80
	(cd ${WRKSRC}/client/lib/tablelist4.1 && ${COPYTREE_SHARE} \* \
79
		${PREFIX}/bin/${SGUILDIR}/lib/tablelist4.1/)
81
		${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib/tablelist4.1/)
80
82
81
.if ${PORT_OPTIONS:MDOCS}
82
	@${MKDIR} ${DOCSDIR}
83
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS1} ${DOCSDIR}
84
	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS2} ${DOCSDIR}
85
.endif
86
	@${CAT} ${PKGMESSAGE}
87
88
.include <bsd.port.mk>
83
.include <bsd.port.mk>

Return to bug 183208