- Fix build

- Use DOCSDIR macro

PR:		56435
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2003-09-04 17:01:36 +00:00
parent cbd2058711
commit 591ee21178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88556
4 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ PORTNAME= ebview
PORTVERSION= 0.2.1
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Electronic Book Viewer
@ -28,7 +28,7 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
pre-build:
.for file in src/dictheading.c
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}

View file

@ -1,8 +1,8 @@
bin/ebdump
bin/ebview
bin/ebview-client
%%PORTDOCS%%share/doc/ebview/ChangeLog
%%PORTDOCS%%share/doc/ebview/README
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
share/ebview/about.en
share/ebview/about.jp
share/ebview/endinglist-ja.xml
@ -16,4 +16,4 @@ share/locale/ja/LC_MESSAGES/ebview.mo
@dirrm share/ebview/help/en
@dirrm share/ebview/help
@dirrm share/ebview
%%PORTDOCS%%@dirrm share/doc/ebview
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View file

@ -9,7 +9,7 @@ PORTNAME= ebview
PORTVERSION= 0.2.1
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Electronic Book Viewer
@ -28,7 +28,7 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
pre-build:
.for file in src/dictheading.c
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}

View file

@ -1,8 +1,8 @@
bin/ebdump
bin/ebview
bin/ebview-client
%%PORTDOCS%%share/doc/ebview/ChangeLog
%%PORTDOCS%%share/doc/ebview/README
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
share/ebview/about.en
share/ebview/about.jp
share/ebview/endinglist-ja.xml
@ -16,4 +16,4 @@ share/locale/ja/LC_MESSAGES/ebview.mo
@dirrm share/ebview/help/en
@dirrm share/ebview/help
@dirrm share/ebview
%%PORTDOCS%%@dirrm share/doc/ebview
%%PORTDOCS%%@dirrm %%DOCSDIR%%