diff options
-rw-r--r-- | games/stormbaancoureur/Makefile | 16 | ||||
-rw-r--r-- | games/stormbaancoureur/files/patch-src-stormbaancoureur-Makefile | 8 | ||||
-rw-r--r-- | games/stormbaancoureur/pkg-plist | 47 |
3 files changed, 11 insertions, 60 deletions
diff --git a/games/stormbaancoureur/Makefile b/games/stormbaancoureur/Makefile index b3012dc085ee..039adf3c7182 100644 --- a/games/stormbaancoureur/Makefile +++ b/games/stormbaancoureur/Makefile @@ -21,21 +21,19 @@ MAKE_ENV= DATADIR="${DATADIR}" BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur -PORTDOCS= README +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= * +PORTDATA= * -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS post-patch: @${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \ ${WRKSRC}/src-stormbaancoureur/main.cxx post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${INSTALL_WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/stormbaancoureur/files/patch-src-stormbaancoureur-Makefile b/games/stormbaancoureur/files/patch-src-stormbaancoureur-Makefile index 8a418eece23f..44de7704e713 100644 --- a/games/stormbaancoureur/files/patch-src-stormbaancoureur-Makefile +++ b/games/stormbaancoureur/files/patch-src-stormbaancoureur-Makefile @@ -1,5 +1,5 @@ ---- src-stormbaancoureur/Makefile.orig 2008-04-20 19:57:43.000000000 +0400 -+++ src-stormbaancoureur/Makefile 2008-06-02 16:17:12.000000000 +0400 +--- src-stormbaancoureur/Makefile.orig 2008-06-11 18:12:01.000000000 +0400 ++++ src-stormbaancoureur/Makefile 2013-09-30 06:14:07.576519380 +0400 @@ -5,23 +5,20 @@ GLPREFIX=/usr PLIBPREFIX=/usr @@ -53,7 +53,7 @@ rm -f *.o stormbaancoureur -GAMEDIR=$(DESTDIR)/usr/share/games/stormbaancoureur -+GAMEDIR=$(PREFIX)/share/stormbaancoureur ++GAMEDIR=$(DESTDIR)$(PREFIX)/share/stormbaancoureur install: stormbaancoureur # Directories - mkdir -p $(DESTDIR)/usr/games/ @@ -63,7 +63,7 @@ mkdir -p $(GAMEDIR)/models/ # Binary - install stormbaancoureur $(DESTDIR)/usr/games/stormbaancoureur -+ install stormbaancoureur $(PREFIX)/bin/stormbaancoureur ++ install stormbaancoureur $(DESTDIR)$(PREFIX)/bin/stormbaancoureur # Images install -m 644 images/info_carpet_smooth.rgb $(GAMEDIR)/images/info_carpet_smooth.rgb install -m 644 images/info_door_smooth.rgb $(GAMEDIR)/images/info_door_smooth.rgb diff --git a/games/stormbaancoureur/pkg-plist b/games/stormbaancoureur/pkg-plist deleted file mode 100644 index 02569f6690d4..000000000000 --- a/games/stormbaancoureur/pkg-plist +++ /dev/null @@ -1,47 +0,0 @@ -bin/stormbaancoureur -%%DATADIR%%/images/info_carpet_smooth.rgb -%%DATADIR%%/images/info_door_smooth.rgb -%%DATADIR%%/images/info_jump_smooth.rgb -%%DATADIR%%/images/spot.tga -%%DATADIR%%/models/baseplate.3ds -%%DATADIR%%/models/carpet.3ds -%%DATADIR%%/models/coilspring.3ds -%%DATADIR%%/models/crate.3ds -%%DATADIR%%/models/crate_low.3ds -%%DATADIR%%/models/cratejump.3ds -%%DATADIR%%/models/door.3ds -%%DATADIR%%/models/doorstand.3ds -%%DATADIR%%/models/ferriswheelcart.3ds -%%DATADIR%%/models/ferriswheelstand.3ds -%%DATADIR%%/models/ferriswheelwheel.3ds -%%DATADIR%%/models/finishdoor.3ds -%%DATADIR%%/models/finishplank.3ds -%%DATADIR%%/models/fivespoke.3ds -%%DATADIR%%/models/floppy.3ds -%%DATADIR%%/models/frame.3ds -%%DATADIR%%/models/grid.3ds -%%DATADIR%%/models/highjump.3ds -%%DATADIR%%/models/jumpboard.3ds -%%DATADIR%%/models/leafspring.3ds -%%DATADIR%%/models/monoramp.3ds -%%DATADIR%%/models/piston.3ds -%%DATADIR%%/models/ramp.3ds -%%DATADIR%%/models/rearaxle.3ds -%%DATADIR%%/models/rod.3ds -%%DATADIR%%/models/spikegate.3ds -%%DATADIR%%/models/spindle.3ds -%%DATADIR%%/models/terrain3.3ds -%%DATADIR%%/models/track.3ds -%%DATADIR%%/models/turntable_ramp.3ds -%%DATADIR%%/models/turntable_wheel.3ds -%%DATADIR%%/models/wishbone.3ds -%%DATADIR%%/shaders/bramlight.fp -%%DATADIR%%/shaders/bramlight.vp -%%DATADIR%%/sounds/camaro_s16_le.wav -%%DATADIR%%/sounds/detonationnorm_s16_le.wav -%%DATADIR%%/sounds/rpm_graph.txt -@dirrm %%DATADIR%%/sounds -@dirrm %%DATADIR%%/shaders -@dirrm %%DATADIR%%/models -@dirrm %%DATADIR%%/images -@dirrm %%DATADIR%% |