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

(-)Makefile (-48 / +13 lines)
Lines 7-32 Link Here
7
#
7
#
8
8
9
PORTNAME=	hackedbox
9
PORTNAME=	hackedbox
10
PORTVERSION=	0.7.0
10
PORTVERSION=	0.7.1
11
CATEGORIES=	x11-wm
11
CATEGORIES=	x11-wm
12
MASTER_SITES=	ftp://scrudgeware.org/
12
MASTER_SITES=	ftp://scrudgeware.org/
13
13
14
MAINTAINER=	dominic_marks@btinternet.com
14
MAINTAINER=	dominic_marks@btinternet.com
15
15
16
MAN1=		hackedbox.1 hsetroot.1
16
MAN1=		hackedbox.1
17
DOCS=		AUTHORS ChangeLog ChangeLog-0.40.x ChangeLog-0.50.x \
17
DOCS=		AUTHORS ChangeLog ChangeLog.bsetbg INSTALL LICENSE \
18
			ChangeLog-0.51.x ChangeLog-0.60.x ChangeLog-0.62.x \
18
			README README.bsetbg TODO hackbox.pws
19
			ChangeLog-0.7.0 ChangeLog.bsetbg INSTALL LICENSE \
20
			README README.bbtools README.bsetbg TODO hackbox.pws
21
I10L=		C da_DK de_DE es_ES et_EE fr_FR it_IT nl_NL pt_BR ru_RU sl_SI \
19
I10L=		C da_DK de_DE es_ES et_EE fr_FR it_IT nl_NL pt_BR ru_RU sl_SI \
22
			sv_SE tr_TR
20
			sv_SE tr_TR
23
BACKGROUNDS=	Abominations.jpg Adrift.jpg Minus_thirty-five.jpg blackngrey.jpg
21
STYLES=	artwiz bluebox cthulhain deep flux frobozz frobust nyz \
24
STYLES=		Artwiz Cthulhain Flux Minimal Nyz Operation Outcomes Rampage \
22
	nyzclone operation outcomes shade steelblue steelblue2 \
25
			Rancor Results Shade Spiff TDF Twice
23
	the_orange trisb twice
24
26
PLIST=		${WRKDIR}/pkg-plist
25
PLIST=		${WRKDIR}/pkg-plist
27
#USE_GMAKE=	yes
26
#USE_GMAKE=	yes
28
USE_X_PREFIX=	yes
27
USE_X_PREFIX=	yes
29
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
29
CONFIGURE_ARGS=	--enable-bg-utils
30
30
31
do-patch:
31
do-patch:
32
	${PERL} -pi -e \
32
	${PERL} -pi -e \
Lines 35-59 Link Here
35
	${PERL} -pi -e \
35
	${PERL} -pi -e \
36
		"s:blackbox:hackedbox:g; s:Blackbox:Hackedbox:g; \
36
		"s:blackbox:hackedbox:g; s:Blackbox:Hackedbox:g; \
37
		s:bsetroot:hsetroot:g; s:Bsetroot:Hsetroot:g" \
37
		s:bsetroot:hsetroot:g; s:Bsetroot:Hsetroot:g" \
38
		${WRKSRC}/data/styles/* ${WRKSRC}/doc/*.1 \
38
		${WRKSRC}/data/styles/*
39
		${WRKSRC}/doc/ja_JP/*.1 ${WRKSRC}/doc/nl_NL/*.1 \
39
40
		${WRKSRC}/doc/sl_SI/*.1
41
pre-install:
40
pre-install:
42
	${RM} -f ${PLIST}
41
	${RM} -f ${PLIST}
43
.for ii in hsetroot hackedbox
42
.for ii in hsetroot hackedbox
44
	${ECHO_CMD} bin/${ii} >> ${PLIST}
43
	${ECHO_CMD} bin/${ii} >> ${PLIST}
45
.endfor
44
.endfor
46
	${ECHO_CMD} share/hackedbox/menu >> ${PLIST}
45
	${ECHO_CMD} share/hackedbox/menu >> ${PLIST}
47
.for ii in POSIX US_ASCII de en en_US es fr it nl
48
	${ECHO_CMD} share/hackedbox/nls/${ii} >> ${PLIST}
49
.endfor
50
.for ii in ${I10L}
46
.for ii in ${I10L}
51
	${ECHO_CMD} share/hackedbox/nls/${ii}/hackedbox.cat >> ${PLIST}
47
	${ECHO_CMD} share/hackedbox/nls/${ii}/hackedbox.cat >> ${PLIST}
52
	${ECHO_CMD} @dirrm share/hackedbox/nls/${ii} >> ${PLIST}
48
	${ECHO_CMD} @dirrm share/hackedbox/nls/${ii} >> ${PLIST}
53
.endfor
49
.endfor
54
.for ii in ${BACKGROUNDS}
55
	${ECHO_CMD} share/hackedbox/backgrounds/${ii} >> ${PLIST}
56
.endfor
57
.for ii in ${STYLES}
50
.for ii in ${STYLES}
58
	${ECHO_CMD} share/hackedbox/styles/${ii} >> ${PLIST}
51
	${ECHO_CMD} share/hackedbox/styles/${ii} >> ${PLIST}
59
.endfor
52
.endfor
Lines 64-75 Link Here
64
.for ii in ${DOCS} Hackedbox.xml
57
.for ii in ${DOCS} Hackedbox.xml
65
	${ECHO_CMD} share/doc/hackedbox/${ii} >> ${PLIST}
58
	${ECHO_CMD} share/doc/hackedbox/${ii} >> ${PLIST}
66
.endfor
59
.endfor
67
.for ii in nl_NL/hackedbox.1 nl_NL/hsetroot.1 sl_SI/hackedbox.1
68
	${ECHO_CMD} share/doc/hackedbox/${ii} >> ${PLIST}
69
.endfor
70
.for ii in /nl_NL /sl_SI /
71
	${ECHO_CMD} @dirrm share/doc/hackedbox${ii} >> ${PLIST}
72
.endfor
73
.endif
60
.endif
74
61
75
do-install:
62
do-install:
Lines 82-97 Link Here
82
	${INSTALL_DATA} ${WRKSRC}/nls/${ii}/blackbox.cat \
69
	${INSTALL_DATA} ${WRKSRC}/nls/${ii}/blackbox.cat \
83
		${PREFIX}/share/hackedbox/nls/${ii}/hackedbox.cat
70
		${PREFIX}/share/hackedbox/nls/${ii}/hackedbox.cat
84
.endfor
71
.endfor
85
	cd ${PREFIX}/share/hackedbox/nls/ && \
72
86
		${LN} -fs C POSIX && \
87
		${LN} -fs C US_ASCII && \
88
		${LN} -fs C en && \
89
		${LN} -fs C en_US && \
90
		${LN} -fs de_DE de && \
91
		${LN} -fs es_ES es && \
92
		${LN} -fs fr_FR fr && \
93
		${LN} -fs it_IT it && \
94
		${LN} -fs nl_NL nl
95
.for ii in ${BACKGROUNDS}
73
.for ii in ${BACKGROUNDS}
96
	${INSTALL_DATA} ${WRKSRC}/data/backgrounds/${ii} \
74
	${INSTALL_DATA} ${WRKSRC}/data/backgrounds/${ii} \
97
		${PREFIX}/share/hackedbox/backgrounds/
75
		${PREFIX}/share/hackedbox/backgrounds/
Lines 100-124 Link Here
100
	${INSTALL_DATA} ${WRKSRC}/data/styles/${ii} \
78
	${INSTALL_DATA} ${WRKSRC}/data/styles/${ii} \
101
		${PREFIX}/share/hackedbox/styles/
79
		${PREFIX}/share/hackedbox/styles/
102
.endfor
80
.endfor
103
	${CP} -p ${WRKSRC}/doc/bsetroot.1 ${WRKSRC}/doc/hsetroot.1
81
	${INSTALL_MAN} ${WRKSRC}/doc/hackedbox.1 ${PREFIX}/man/man1/hackedbox.1
104
	${CP} -p ${WRKSRC}/doc/blackbox.1 ${WRKSRC}/doc/hackedbox.1
105
	${INSTALL_MAN} ${WRKSRC}/doc/blackbox.1 ${PREFIX}/man/man1/hackedbox.1
106
	${INSTALL_MAN} ${WRKSRC}/doc/hsetroot.1 ${PREFIX}/man/man1/
107
	${INSTALL_MAN} ${WRKSRC}/doc/ja_JP/blackbox.1 \
108
		${PREFIX}/man/ja/man1/hackedbox.1
109
	${INSTALL_MAN} ${WRKSRC}/doc/ja_JP/bsetroot.1 \
110
		${PREFIX}/man/ja/man1/hsetroot.1
111
.if !defined(NOPORTDOCS)
82
.if !defined(NOPORTDOCS)
112
	${MKDIR} ${DOCSDIR}/nl_NL ${DOCSDIR}/sl_SI
83
	${MKDIR} ${DOCSDIR}/nl_NL ${DOCSDIR}/sl_SI
113
.for ii in ${DOCS} doc/Hackedbox.xml
84
.for ii in ${DOCS} doc/Hackedbox.xml
114
	${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
85
	${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
115
.endfor
86
.endfor
116
	${INSTALL_DATA} ${WRKSRC}/doc/nl_NL/blackbox.1 \
117
		${DOCSDIR}/nl_NL/hackedbox.1
118
	${INSTALL_DATA} ${WRKSRC}/doc/nl_NL/bsetroot.1 \
119
		${DOCSDIR}/nl_NL/hsetroot.1
120
	${INSTALL_DATA} ${WRKSRC}/doc/sl_SI/blackbox.1 \
121
		${DOCSDIR}/sl_SI/hackedbox.1
122
.endif
87
.endif
123
88
124
.include <bsd.port.mk>
89
.include <bsd.port.mk>
(-)distinfo (-2 / +1 lines)
Lines 1-2 Link Here
1
$FreeBSD: ports/x11-wm/hackedbox/distinfo,v 1.30 2002/05/12 23:13:12 trevor Exp $
1
MD5 (hackedbox-0.7.1.tar.gz) = 269612a074bd3cb7e518cd9040cf7cbd
2
MD5 (hackedbox-0.7.0.tar.gz) = cba95984f7cfc269f963a69e74bcef42

Return to bug 38246