diff options
author | markp <markp@FreeBSD.org> | 2002-08-04 15:59:20 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2002-08-04 15:59:20 +0800 |
commit | cbeaa55a6c728320a0d630f76daac3f0ef8a9149 (patch) | |
tree | 57654ea5fd8f8f0748e842360f3966e527a77f61 /games | |
parent | 353753c36130e7bc2ac7b5581ff5cd6900935008 (diff) | |
download | freebsd-ports-gnome-cbeaa55a6c728320a0d630f76daac3f0ef8a9149.tar.gz freebsd-ports-gnome-cbeaa55a6c728320a0d630f76daac3f0ef8a9149.tar.zst freebsd-ports-gnome-cbeaa55a6c728320a0d630f76daac3f0ef8a9149.zip |
Fix doc handling
Diffstat (limited to 'games')
-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 |