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

(-)Makefile (-2 / +13 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	i3
8
PORTNAME=	i3
9
DISTVERSION=	3.c
9
DISTVERSION=	3.d
10
CATEGORIES=	x11-wm
10
CATEGORIES=	x11-wm
11
MASTER_SITES=	http://i3.zekjur.net/downloads/ \
11
MASTER_SITES=	http://i3.zekjur.net/downloads/ \
12
		${MASTER_SITE_LOCAL}
12
		${MASTER_SITE_LOCAL}
Lines 20-25 Link Here
20
		ev.3:${PORTSDIR}/devel/libev
20
		ev.3:${PORTSDIR}/devel/libev
21
21
22
USE_XORG=	x11
22
USE_XORG=	x11
23
USE_BISON=	yes
23
USE_XLIB=	yes
24
USE_XLIB=	yes
24
USE_BZIP2=	yes
25
USE_BZIP2=	yes
25
USE_GMAKE=	yes
26
USE_GMAKE=	yes
Lines 28-34 Link Here
28
29
29
PLIST_FILES=	bin/i3 \
30
PLIST_FILES=	bin/i3 \
30
		bin/i3-msg \
31
		bin/i3-msg \
31
		etc/i3/config.sample
32
		bin/i3-input \
33
		etc/i3/config.sample \
34
		etc/i3/welcome
32
PLIST_DIRS=	etc/i3
35
PLIST_DIRS=	etc/i3
33
36
34
MAN1=	i3.1
37
MAN1=	i3.1
Lines 41-59 Link Here
41
44
42
post-extract:
45
post-extract:
43
	@cd ${WRKSRC} && ${CP} i3.config config.sample
46
	@cd ${WRKSRC} && ${CP} i3.config config.sample
47
	@cd ${WRKSRC} && ${CP} i3.welcome welcome
44
48
45
post-patch:
49
post-patch:
46
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c
50
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c
47
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample
51
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample
52
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/welcome
48
	@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
53
	@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
49
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/common.mk
54
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/common.mk
50
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1
55
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1
56
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-msg.1
57
	@${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-input.1
58
	@${REINPLACE_CMD} -e 's|.SILENT||g' ${WRKSRC}/common.mk
59
	@${REINPLACE_CMD} -e 's|-Iinclude|-Iinclude -Isrc|g' ${WRKSRC}/common.mk
51
60
52
do-install:
61
do-install:
53
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
62
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
54
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-msg/${PORTNAME}-msg ${PREFIX}/bin/
63
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-msg/${PORTNAME}-msg ${PREFIX}/bin/
64
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-input/${PORTNAME}-input ${PREFIX}/bin/
55
	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
65
	@${MKDIR} ${PREFIX}/etc/${PORTNAME}
56
	${INSTALL_SCRIPT} ${WRKSRC}/config.sample ${PREFIX}/etc/${PORTNAME}
66
	${INSTALL_SCRIPT} ${WRKSRC}/config.sample ${PREFIX}/etc/${PORTNAME}
67
	${INSTALL_SCRIPT} ${WRKSRC}/welcome ${PREFIX}/etc/${PORTNAME}/welcome
57
	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
68
	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
58
69
59
	@${ECHO_MSG} "======================================================================================"
70
	@${ECHO_MSG} "======================================================================================"
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (i3-3.c.tar.bz2) = 8e3a4c3784beee5c5034c7570bcff1c8
1
MD5 (i3-3.d.tar.bz2) = dc648c0bbf711d6691c981f665c7c54c
2
SHA256 (i3-3.c.tar.bz2) = 91726aa4fb958ff7e57ce4f074c086b738eacc231be34bc60d9d31693e493155
2
SHA256 (i3-3.d.tar.bz2) = a648be882cb578b3f73bdf396bacabfaef650a96abc676412a65ce16b28a492b
3
SIZE (i3-3.c.tar.bz2) = 110076
3
SIZE (i3-3.d.tar.bz2) = 156205

Return to bug 140442