diff options
author | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 07:59:20 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 07:59:20 +0000 |
commit | 4959c9b21361dd0a8d2b83e1cf447ccf1f18f766 (patch) | |
tree | 97ced5d89f08f0e4afa1105f08d6721e1f672aa0 /games/lbreakout2 | |
parent | My fault, previous commit log is wrong. This is actually PR 41303. (diff) |
Fix doc handling
Notes
Notes:
svn path=/head/; revision=63960
Diffstat (limited to 'games/lbreakout2')
-rw-r--r-- | games/lbreakout2/Makefile | 6 | ||||
-rw-r--r-- | games/lbreakout2/pkg-plist | 33 |
2 files changed, 38 insertions, 1 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile index 182e6c694437..ee76fc82e7f9 100644 --- a/games/lbreakout2/Makefile +++ b/games/lbreakout2/Makefile @@ -18,7 +18,8 @@ LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \ USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-highscore-path=/var/games +CONFIGURE_ARGS= --with-highscore-path=/var/games \ + --with-doc-path=${PREFIX}/share/doc CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \ LDFLAGS=-L${LOCALBASE}/lib USE_REINPLACE= yes @@ -28,6 +29,9 @@ post-patch: ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/if .*lbreakout2.hscr/if false/' \ ${WRKSRC}/src/Makefile.in +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e 's/ docs / /g' ${WRKSRC}/src/Makefile.in +.endif post-install: ${INSTALL_DATA} ${WRKSRC}/src/empty.hscr ${DATADIR} diff --git a/games/lbreakout2/pkg-plist b/games/lbreakout2/pkg-plist index 8d33fbd33b71..38e05018360f 100644 --- a/games/lbreakout2/pkg-plist +++ b/games/lbreakout2/pkg-plist @@ -69,6 +69,39 @@ share/lbreakout2/sounds/wontgiveup.wav share/lbreakout2/levels/Original share/lbreakout2/levels/AddOn-1 share/lbreakout2/levels/AddOn-2 +%%PORTDOCS%%share/doc/lbreakout2/b0.jpg +%%PORTDOCS%%share/doc/lbreakout2/b1.jpg +%%PORTDOCS%%share/doc/lbreakout2/b2.jpg +%%PORTDOCS%%share/doc/lbreakout2/b3.jpg +%%PORTDOCS%%share/doc/lbreakout2/b4.jpg +%%PORTDOCS%%share/doc/lbreakout2/b5.jpg +%%PORTDOCS%%share/doc/lbreakout2/b6.jpg +%%PORTDOCS%%share/doc/lbreakout2/index.html +%%PORTDOCS%%share/doc/lbreakout2/x0.jpg +%%PORTDOCS%%share/doc/lbreakout2/x1.jpg +%%PORTDOCS%%share/doc/lbreakout2/x10.jpg +%%PORTDOCS%%share/doc/lbreakout2/x11.jpg +%%PORTDOCS%%share/doc/lbreakout2/x12.jpg +%%PORTDOCS%%share/doc/lbreakout2/x13.jpg +%%PORTDOCS%%share/doc/lbreakout2/x14.jpg +%%PORTDOCS%%share/doc/lbreakout2/x15.jpg +%%PORTDOCS%%share/doc/lbreakout2/x16.jpg +%%PORTDOCS%%share/doc/lbreakout2/x17.jpg +%%PORTDOCS%%share/doc/lbreakout2/x18.jpg +%%PORTDOCS%%share/doc/lbreakout2/x19.jpg +%%PORTDOCS%%share/doc/lbreakout2/x2.jpg +%%PORTDOCS%%share/doc/lbreakout2/x20.jpg +%%PORTDOCS%%share/doc/lbreakout2/x21.jpg +%%PORTDOCS%%share/doc/lbreakout2/x22.jpg +%%PORTDOCS%%share/doc/lbreakout2/x23.jpg +%%PORTDOCS%%share/doc/lbreakout2/x3.jpg +%%PORTDOCS%%share/doc/lbreakout2/x4.jpg +%%PORTDOCS%%share/doc/lbreakout2/x5.jpg +%%PORTDOCS%%share/doc/lbreakout2/x6.jpg +%%PORTDOCS%%share/doc/lbreakout2/x7.jpg +%%PORTDOCS%%share/doc/lbreakout2/x8.jpg +%%PORTDOCS%%share/doc/lbreakout2/x9.jpg +%%PORTDOCS%%@dirrm share/doc/lbreakout2 @dirrm share/lbreakout2/gfx @dirrm share/lbreakout2/sounds @dirrm share/lbreakout2/levels |