o add missing jpeg dependency, broken configure script did not detect it.

o use custom DOCSDIR.
This commit is contained in:
FUJISHIMA Satsuki 2004-08-16 02:43:17 +00:00
parent c1a0f8ede9
commit 7bde97722a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116341
2 changed files with 21 additions and 19 deletions

View file

@ -13,7 +13,8 @@ MASTER_SITES= http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/down/
MAINTAINER= sf@FreeBSD.org
COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_AUTOCONF_VER= 259
USE_LIBTOOL_VER= 15
@ -25,6 +26,7 @@ USE_REINPLACE= yes
PKGMESSAGE= ${WRKSRC}/MESSAGE
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
PATCHES= pastel.diff
.include <bsd.port.pre.mk>
@ -86,9 +88,9 @@ pre-configure:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ja/xsystem35
@${MKDIR} ${PREFIX}/${DOCSDIR}
(cd ${WRKSRC}/doc;\
${INSTALL_MAN} * ${PREFIX}/share/doc/ja/xsystem35)
${INSTALL_MAN} * ${PREFIX}/${DOCSDIR})
.endif
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/src/xsys35rc.sample ${EXAMPLESDIR}

View file

@ -24,21 +24,21 @@ lib/xsystem35/nDEMOE.so
lib/xsystem35/oDEMO.so
lib/xsystem35/oujimisc.so
lib/xsystem35/tDemo.so
%%PORTDOCS%%share/doc/ja/xsystem35/BUGS
%%PORTDOCS%%share/doc/ja/xsystem35/ChangeLog
%%PORTDOCS%%share/doc/ja/xsystem35/ChangeLog.1
%%PORTDOCS%%share/doc/ja/xsystem35/FAQ
%%PORTDOCS%%share/doc/ja/xsystem35/GAMES.TXT
%%PORTDOCS%%share/doc/ja/xsystem35/GRFMT.TXT
%%PORTDOCS%%share/doc/ja/xsystem35/INSTALL
%%PORTDOCS%%share/doc/ja/xsystem35/MISCGAME.TXT
%%PORTDOCS%%share/doc/ja/xsystem35/README
%%PORTDOCS%%share/doc/ja/xsystem35/README.color
%%PORTDOCS%%share/doc/ja/xsystem35/README.joystick
%%PORTDOCS%%share/doc/ja/xsystem35/README.music
%%PORTDOCS%%share/doc/ja/xsystem35/TECH.TXT
%%PORTDOCS%%share/doc/ja/xsystem35/THANKS
%%PORTDOCS%%share/doc/ja/xsystem35/TODO
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.1
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/GAMES.TXT
%%PORTDOCS%%%%DOCSDIR%%/GRFMT.TXT
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/MISCGAME.TXT
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.color
%%PORTDOCS%%%%DOCSDIR%%/README.joystick
%%PORTDOCS%%%%DOCSDIR%%/README.music
%%PORTDOCS%%%%DOCSDIR%%/TECH.TXT
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%EXAMPLESDIR%%/20cDPS.inf
%%EXAMPLESDIR%%/20cKaeru.inf
%%EXAMPLESDIR%%/456atlach.inf
@ -86,5 +86,5 @@ lib/xsystem35/tDemo.so
%%EXAMPLESDIR%%/zero_new.inf
share/locale/ja/LC_MESSAGES/xsystem35.mo
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm share/doc/ja/xsystem35
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/xsystem35