diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile index 0727d13021e6..20ba6298681a 100644 --- a/games/xsokoban/Makefile +++ b/games/xsokoban/Makefile @@ -1,32 +1,35 @@ PORTNAME= xsokoban PORTVERSION= 3.3c PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.cs.cornell.edu/andru/release/ \ ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org COMMENT= Puzzle of pushing objects to the goals WWW= https://www.cs.cornell.edu/andru/xsokoban.html +LICENSE= PD + USES= imake xorg -USE_XORG= xpm +USE_XORG= xpm x11 xext +MAKE_ARGS+= MANPATH="${PREFIX}/share/man" WRKSRC= ${WRKDIR}/xsokoban ALL_TARGET= xsokoban post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults ${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens ${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \ ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults @${MKDIR} ${STAGEDIR}/var/games/xsokoban/scores @${MKDIR} ${STAGEDIR}/var/games/xsokoban/saves # may be created by xsokoban -c @${PRINTF} "xs02\0\0" > ${STAGEDIR}/var/games/xsokoban/scores/scores.sample .include diff --git a/games/xsokoban/pkg-plist b/games/xsokoban/pkg-plist index 5888a8f37cd4..ec4177669386 100644 --- a/games/xsokoban/pkg-plist +++ b/games/xsokoban/pkg-plist @@ -1,142 +1,142 @@ @(,games,2555) bin/xsokoban -man/man1/xsokoban.1.gz lib/X11/xsokoban/bitmaps/defaults/centerwall.xbm lib/X11/xsokoban/bitmaps/defaults/centerwall.xpm lib/X11/xsokoban/bitmaps/defaults/east_twall.xbm lib/X11/xsokoban/bitmaps/defaults/east_twall.xpm lib/X11/xsokoban/bitmaps/defaults/eastwall.xbm lib/X11/xsokoban/bitmaps/defaults/eastwall.xpm lib/X11/xsokoban/bitmaps/defaults/floor.xbm lib/X11/xsokoban/bitmaps/defaults/floor.xpm lib/X11/xsokoban/bitmaps/defaults/goal.xbm lib/X11/xsokoban/bitmaps/defaults/goal.xpm lib/X11/xsokoban/bitmaps/defaults/horizwall.xbm lib/X11/xsokoban/bitmaps/defaults/horizwall.xpm lib/X11/xsokoban/bitmaps/defaults/llcornerwall.xbm lib/X11/xsokoban/bitmaps/defaults/llcornerwall.xpm lib/X11/xsokoban/bitmaps/defaults/lonewall.xbm lib/X11/xsokoban/bitmaps/defaults/lonewall.xpm lib/X11/xsokoban/bitmaps/defaults/lrcornerwall.xbm lib/X11/xsokoban/bitmaps/defaults/lrcornerwall.xpm lib/X11/xsokoban/bitmaps/defaults/man.xbm lib/X11/xsokoban/bitmaps/defaults/man.xpm lib/X11/xsokoban/bitmaps/defaults/north_twall.xbm lib/X11/xsokoban/bitmaps/defaults/north_twall.xpm lib/X11/xsokoban/bitmaps/defaults/northwall.xbm lib/X11/xsokoban/bitmaps/defaults/northwall.xpm lib/X11/xsokoban/bitmaps/defaults/object.xbm lib/X11/xsokoban/bitmaps/defaults/object.xpm lib/X11/xsokoban/bitmaps/defaults/saveman.xbm lib/X11/xsokoban/bitmaps/defaults/saveman.xpm lib/X11/xsokoban/bitmaps/defaults/south_twall.xbm lib/X11/xsokoban/bitmaps/defaults/south_twall.xpm lib/X11/xsokoban/bitmaps/defaults/southwall.xbm lib/X11/xsokoban/bitmaps/defaults/southwall.xpm lib/X11/xsokoban/bitmaps/defaults/treasure.xbm lib/X11/xsokoban/bitmaps/defaults/treasure.xpm lib/X11/xsokoban/bitmaps/defaults/ulcornerwall.xbm lib/X11/xsokoban/bitmaps/defaults/ulcornerwall.xpm lib/X11/xsokoban/bitmaps/defaults/urcornerwall.xbm lib/X11/xsokoban/bitmaps/defaults/urcornerwall.xpm lib/X11/xsokoban/bitmaps/defaults/vertiwall.xbm lib/X11/xsokoban/bitmaps/defaults/vertiwall.xpm lib/X11/xsokoban/bitmaps/defaults/wall.xbm lib/X11/xsokoban/bitmaps/defaults/wall.xpm lib/X11/xsokoban/bitmaps/defaults/west_twall.xbm lib/X11/xsokoban/bitmaps/defaults/west_twall.xpm lib/X11/xsokoban/bitmaps/defaults/westwall.xbm lib/X11/xsokoban/bitmaps/defaults/westwall.xpm lib/X11/xsokoban/screens/screen.1 lib/X11/xsokoban/screens/screen.10 lib/X11/xsokoban/screens/screen.11 lib/X11/xsokoban/screens/screen.12 lib/X11/xsokoban/screens/screen.13 lib/X11/xsokoban/screens/screen.14 lib/X11/xsokoban/screens/screen.15 lib/X11/xsokoban/screens/screen.16 lib/X11/xsokoban/screens/screen.17 lib/X11/xsokoban/screens/screen.18 lib/X11/xsokoban/screens/screen.19 lib/X11/xsokoban/screens/screen.2 lib/X11/xsokoban/screens/screen.20 lib/X11/xsokoban/screens/screen.21 lib/X11/xsokoban/screens/screen.22 lib/X11/xsokoban/screens/screen.23 lib/X11/xsokoban/screens/screen.24 lib/X11/xsokoban/screens/screen.25 lib/X11/xsokoban/screens/screen.26 lib/X11/xsokoban/screens/screen.27 lib/X11/xsokoban/screens/screen.28 lib/X11/xsokoban/screens/screen.29 lib/X11/xsokoban/screens/screen.3 lib/X11/xsokoban/screens/screen.30 lib/X11/xsokoban/screens/screen.31 lib/X11/xsokoban/screens/screen.32 lib/X11/xsokoban/screens/screen.33 lib/X11/xsokoban/screens/screen.34 lib/X11/xsokoban/screens/screen.35 lib/X11/xsokoban/screens/screen.36 lib/X11/xsokoban/screens/screen.37 lib/X11/xsokoban/screens/screen.38 lib/X11/xsokoban/screens/screen.39 lib/X11/xsokoban/screens/screen.4 lib/X11/xsokoban/screens/screen.40 lib/X11/xsokoban/screens/screen.41 lib/X11/xsokoban/screens/screen.42 lib/X11/xsokoban/screens/screen.43 lib/X11/xsokoban/screens/screen.44 lib/X11/xsokoban/screens/screen.45 lib/X11/xsokoban/screens/screen.46 lib/X11/xsokoban/screens/screen.47 lib/X11/xsokoban/screens/screen.48 lib/X11/xsokoban/screens/screen.49 lib/X11/xsokoban/screens/screen.5 lib/X11/xsokoban/screens/screen.50 lib/X11/xsokoban/screens/screen.51 lib/X11/xsokoban/screens/screen.52 lib/X11/xsokoban/screens/screen.53 lib/X11/xsokoban/screens/screen.54 lib/X11/xsokoban/screens/screen.55 lib/X11/xsokoban/screens/screen.56 lib/X11/xsokoban/screens/screen.57 lib/X11/xsokoban/screens/screen.58 lib/X11/xsokoban/screens/screen.59 lib/X11/xsokoban/screens/screen.6 lib/X11/xsokoban/screens/screen.60 lib/X11/xsokoban/screens/screen.61 lib/X11/xsokoban/screens/screen.62 lib/X11/xsokoban/screens/screen.63 lib/X11/xsokoban/screens/screen.64 lib/X11/xsokoban/screens/screen.65 lib/X11/xsokoban/screens/screen.66 lib/X11/xsokoban/screens/screen.67 lib/X11/xsokoban/screens/screen.68 lib/X11/xsokoban/screens/screen.69 lib/X11/xsokoban/screens/screen.7 lib/X11/xsokoban/screens/screen.70 lib/X11/xsokoban/screens/screen.71 lib/X11/xsokoban/screens/screen.72 lib/X11/xsokoban/screens/screen.73 lib/X11/xsokoban/screens/screen.74 lib/X11/xsokoban/screens/screen.75 lib/X11/xsokoban/screens/screen.76 lib/X11/xsokoban/screens/screen.77 lib/X11/xsokoban/screens/screen.78 lib/X11/xsokoban/screens/screen.79 lib/X11/xsokoban/screens/screen.8 lib/X11/xsokoban/screens/screen.80 lib/X11/xsokoban/screens/screen.81 lib/X11/xsokoban/screens/screen.82 lib/X11/xsokoban/screens/screen.83 lib/X11/xsokoban/screens/screen.84 lib/X11/xsokoban/screens/screen.85 lib/X11/xsokoban/screens/screen.86 lib/X11/xsokoban/screens/screen.87 lib/X11/xsokoban/screens/screen.88 lib/X11/xsokoban/screens/screen.89 lib/X11/xsokoban/screens/screen.9 lib/X11/xsokoban/screens/screen.90 +share/man/man1/xsokoban.1.gz @sample(,games,664) /var/games/xsokoban/scores/scores.sample @dir(,games,775) /var/games/xsokoban/scores @dir(,games,775) /var/games/xsokoban/saves @dir /var/games/xsokoban