mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- Support PREFIX properly
- Fix pkg/PLIST - Add WWW: line into pkg/DESCR PR: 17570 Submitted by: tkato@prontomail.ne.jp
This commit is contained in:
parent
a05a46eb47
commit
837a4626c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26997
@ -26,6 +26,10 @@ MAKE_ARGS+= "CSYSFLAGS=-D__FreeBSD_version=${OSVERSION} -I${LOCALBASE}/include"
|
||||
MAKE_ARGS+= "OSLDEF=-L${LOCALBASE}/lib"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" \
|
||||
${WRKSRC}/lib/sysdep/generic/unix/os_dep.c
|
||||
|
||||
pre-build:
|
||||
${LN} -sf ${WRKSRC}/makefile ${WRKSRC}/Makefile
|
||||
|
||||
@ -40,8 +44,8 @@ post-build:
|
||||
${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj)
|
||||
|
||||
do-install:
|
||||
@ ${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin
|
||||
@ ${MKDIR} ${PREFIX}/share/biew
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew
|
||||
${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -5,7 +5,7 @@
|
||||
char * __get_help_name(void)
|
||||
{
|
||||
- return "/usr/lib/biew/biew.hlp";
|
||||
+ return "/usr/local/share/biew/biew.hlp";
|
||||
+ return "%%PREFIX%%/share/biew/biew.hlp";
|
||||
}
|
||||
|
||||
static void cleanup(int sig)
|
||||
|
@ -3,3 +3,5 @@ hexadecimal and disassembler modes. The program also has text viewer
|
||||
with different Russia codepages support (Windows-1251, MSDOS-866,
|
||||
etc.). Run the program with -? or without arguments for help on
|
||||
program switches.
|
||||
|
||||
WWW: http://biew.sourceforge.net/
|
||||
|
@ -1,2 +1,3 @@
|
||||
bin/biew
|
||||
share/biew/biew.hlp
|
||||
@dirrm share/biew
|
||||
|
Loading…
Reference in New Issue
Block a user