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

(-)editors/biew/Makefile (-2 / +6 lines)
Lines 26-31 Link Here
26
MAKE_ARGS+=	"OSLDEF=-L${LOCALBASE}/lib"
26
MAKE_ARGS+=	"OSLDEF=-L${LOCALBASE}/lib"
27
.endif
27
.endif
28
28
29
post-patch:
30
	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
31
		${WRKSRC}/lib/sysdep/generic/unix/os_dep.c
32
29
pre-build:
33
pre-build:
30
	 ${LN} -sf ${WRKSRC}/makefile ${WRKSRC}/Makefile
34
	 ${LN} -sf ${WRKSRC}/makefile ${WRKSRC}/Makefile
31
35
Lines 40-47 Link Here
40
	${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj)
44
	${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj)
41
45
42
do-install:
46
do-install:
43
	@ ${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin
47
	${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin
44
	@ ${MKDIR} ${PREFIX}/share/biew
48
	@ ${MKDIR} ${PREFIX}/share/biew
45
	@ ${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew
49
	${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew
46
50
47
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)editors/biew/patches/patch-aa (-1 / +1 lines)
Lines 5-11 Link Here
5
 char * __get_help_name(void)
5
 char * __get_help_name(void)
6
 {
6
 {
7
-	return "/usr/lib/biew/biew.hlp";
7
-	return "/usr/lib/biew/biew.hlp";
8
+	return "/usr/local/share/biew/biew.hlp";
8
+	return "%%PREFIX%%/share/biew/biew.hlp";
9
 }
9
 }
10
 
10
 
11
 static void cleanup(int sig)
11
 static void cleanup(int sig)
(-)editors/biew/pkg/DESCR (+2 lines)
Lines 3-5 Link Here
3
with different  Russia  codepages  support  (Windows-1251,  MSDOS-866,
3
with different  Russia  codepages  support  (Windows-1251,  MSDOS-866,
4
etc.). Run the program with  -?  or  without  arguments  for  help  on
4
etc.). Run the program with  -?  or  without  arguments  for  help  on
5
program switches.
5
program switches.
6
7
WWW: http://biew.sourceforge.net/
(-)editors/biew/pkg/PLIST (+1 lines)
Lines 1-2 Link Here
1
bin/biew
1
bin/biew
2
share/biew/biew.hlp
2
share/biew/biew.hlp
3
@dirrm share/biew

Return to bug 17570