diff --git a/games/Makefile b/games/Makefile index e7721c6d2c1a..d3482def9fbf 100644 --- a/games/Makefile +++ b/games/Makefile @@ -58,6 +58,7 @@ SUBDIR += apricots SUBDIR += aquaria SUBDIR += armagetronad + SUBDIR += arttime SUBDIR += arx-libertatis SUBDIR += ascii-invaders SUBDIR += asciiquarium diff --git a/games/arttime/Makefile b/games/arttime/Makefile new file mode 100644 index 000000000000..331befa50d05 --- /dev/null +++ b/games/arttime/Makefile @@ -0,0 +1,24 @@ +PORTNAME= arttime +PORTVERSION= 1.9.1 +DISTVERSIONPREFIX= v +CATEGORIES= games + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Bring curated text/ascii art to artless terminals +WWW= https://github.com/reportaman/arttime + +LICENSE= GPLv3 + +BUILD_DEPENDS= zsh:shells/zsh +RUN_DEPENDS= zsh:shells/zsh + +USE_GITHUB= yes +GH_ACCOUNT= reportaman + +NO_ARCH= yes +NO_BUILD= yes + +do-install: + ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${WRKSRC}/install.sh --prefix ${PREFIX} + +.include diff --git a/games/arttime/distinfo b/games/arttime/distinfo new file mode 100644 index 000000000000..869801e575eb --- /dev/null +++ b/games/arttime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1664875407 +SHA256 (reportaman-arttime-v1.9.1_GH0.tar.gz) = 17a2bbfcdc423540f851ca42ac0403a100b829b2ad06f8e40a1892f995679544 +SIZE (reportaman-arttime-v1.9.1_GH0.tar.gz) = 283943 diff --git a/games/arttime/files/patch-install.sh b/games/arttime/files/patch-install.sh new file mode 100644 index 000000000000..db3b232dd737 --- /dev/null +++ b/games/arttime/files/patch-install.sh @@ -0,0 +1,46 @@ +--- install.sh.orig 2022-09-24 00:11:14 UTC ++++ install.sh +@@ -119,9 +119,9 @@ function printdirerror { + fi + } + +-installdircode=$(checkdir $installdir) +-bindircode=$(checkdir $bindir) +-artdircode=$(checkdir $artdir) ++installdircode=$(checkdir $DESTDIR$installdir) ++bindircode=$(checkdir $DESTDIR$bindir) ++artdircode=$(checkdir $DESTDIR$artdir) + + printdirerror $installdircode $installdir + printdirerror $bindircode $bindir +@@ -139,8 +139,8 @@ installerdir="${0:a:h}" + + # Copy bin files + cd $installerdir/bin +-cp arttime $bindir/arttime +-cp artprint $bindir/artprint ++cp arttime $DESTDIR$bindir/arttime ++cp artprint $DESTDIR$bindir/artprint + + # Copy share files + cd $installerdir/share/arttime/textart +@@ -156,10 +156,10 @@ for ((i = 1; i <= $artfilearraysize; i++)); do + oldmessage='"Custom message for art goes here"' + oldmessage="$(head -n1 $artdir/$file)" + newart="$(tail -n +2 $file)" +- printf '%s\n' "$oldmessage" >$artdir/$file +- printf '%s\n' "$newart" >>$artdir/$file ++ printf '%s\n' "$oldmessage" >$DESTDIR$artdir/$file ++ printf '%s\n' "$newart" >>$DESTDIR$artdir/$file + else +- cp $file $artdir/$file ++ cp $file $DESTDIR$artdir/$file + fi + percentdone=$(((i-1.0)/(artfilearraysize-1.0)*100.0)) + [[ $percentdone -lt 1 ]] && percentdone="0" +@@ -191,3 +191,5 @@ else + fi + fi + tput cnorm ++ ++exit 0 diff --git a/games/arttime/pkg-descr b/games/arttime/pkg-descr new file mode 100644 index 000000000000..93615e895c70 --- /dev/null +++ b/games/arttime/pkg-descr @@ -0,0 +1,4 @@ +Text art meets the functionality of a feature-rich clock/timer / +pattern-based time manager. Arttime brings curated text art to otherwise +artless terminal emulators of starving developers and other users who +can use the terminal. diff --git a/games/arttime/pkg-plist b/games/arttime/pkg-plist new file mode 100644 index 000000000000..34b93b15e16b --- /dev/null +++ b/games/arttime/pkg-plist @@ -0,0 +1,400 @@ +bin/artprint +bin/arttime +%%DATADIR%%/textart/1bit +%%DATADIR%%/textart/8bits +%%DATADIR%%/textart/abstractbeams +%%DATADIR%%/textart/abstractlace +%%DATADIR%%/textart/abstractmelody +%%DATADIR%%/textart/anarchy +%%DATADIR%%/textart/apple +%%DATADIR%%/textart/asciiasskey +%%DATADIR%%/textart/asciiasskey2 +%%DATADIR%%/textart/asciiasskey3 +%%DATADIR%%/textart/asciiasskey4 +%%DATADIR%%/textart/badger +%%DATADIR%%/textart/bear +%%DATADIR%%/textart/bees +%%DATADIR%%/textart/bike +%%DATADIR%%/textart/blackeyed +%%DATADIR%%/textart/blackeyedshort +%%DATADIR%%/textart/blueheron +%%DATADIR%%/textart/bowling +%%DATADIR%%/textart/boyskateboard +%%DATADIR%%/textart/braille +%%DATADIR%%/textart/buddha +%%DATADIR%%/textart/buddha2 +%%DATADIR%%/textart/buddha4 +%%DATADIR%%/textart/buddha5 +%%DATADIR%%/textart/buddha6 +%%DATADIR%%/textart/buddha7 +%%DATADIR%%/textart/buddha8 +%%DATADIR%%/textart/buddhistflag +%%DATADIR%%/textart/buddhistflag2 +%%DATADIR%%/textart/buddhistflag3 +%%DATADIR%%/textart/bug +%%DATADIR%%/textart/bug2 +%%DATADIR%%/textart/bugs +%%DATADIR%%/textart/butterfly +%%DATADIR%%/textart/butterfly2 +%%DATADIR%%/textart/butterfly3 +%%DATADIR%%/textart/butterfly4 +%%DATADIR%%/textart/cactus +%%DATADIR%%/textart/cactus2 +%%DATADIR%%/textart/camel +%%DATADIR%%/textart/camping +%%DATADIR%%/textart/camping2 +%%DATADIR%%/textart/castle +%%DATADIR%%/textart/castle2 +%%DATADIR%%/textart/castle3 +%%DATADIR%%/textart/castle4 +%%DATADIR%%/textart/chef +%%DATADIR%%/textart/chemlab +%%DATADIR%%/textart/chess +%%DATADIR%%/textart/chess2 +%%DATADIR%%/textart/cicada +%%DATADIR%%/textart/clown +%%DATADIR%%/textart/clown2 +%%DATADIR%%/textart/cobra +%%DATADIR%%/textart/coconut +%%DATADIR%%/textart/coin +%%DATADIR%%/textart/colorowl +%%DATADIR%%/textart/colorowl2 +%%DATADIR%%/textart/colorowl3 +%%DATADIR%%/textart/colorspectrum +%%DATADIR%%/textart/colorspectrum1 +%%DATADIR%%/textart/colorspectrum2 +%%DATADIR%%/textart/colorspectrum3 +%%DATADIR%%/textart/commodore +%%DATADIR%%/textart/concentricfield +%%DATADIR%%/textart/confucious +%%DATADIR%%/textart/confused +%%DATADIR%%/textart/cow +%%DATADIR%%/textart/cow2 +%%DATADIR%%/textart/cow3 +%%DATADIR%%/textart/cow4 +%%DATADIR%%/textart/crow +%%DATADIR%%/textart/cubesonparade +%%DATADIR%%/textart/demon +%%DATADIR%%/textart/dental +%%DATADIR%%/textart/desktop +%%DATADIR%%/textart/desktop2 +%%DATADIR%%/textart/dog +%%DATADIR%%/textart/dog2 +%%DATADIR%%/textart/dog3 +%%DATADIR%%/textart/dog4 +%%DATADIR%%/textart/dog5 +%%DATADIR%%/textart/dollar50bill +%%DATADIR%%/textart/dollarbill +%%DATADIR%%/textart/dolphin +%%DATADIR%%/textart/dolphin2 +%%DATADIR%%/textart/dozing +%%DATADIR%%/textart/dozing2 +%%DATADIR%%/textart/dozing3 +%%DATADIR%%/textart/dragon +%%DATADIR%%/textart/dragon2 +%%DATADIR%%/textart/dragon3 +%%DATADIR%%/textart/dragon4 +%%DATADIR%%/textart/dragonfly +%%DATADIR%%/textart/eagle +%%DATADIR%%/textart/einstein +%%DATADIR%%/textart/einstein2 +%%DATADIR%%/textart/elephant2 +%%DATADIR%%/textart/elephant3 +%%DATADIR%%/textart/elephant4 +%%DATADIR%%/textart/elephant5 +%%DATADIR%%/textart/elephant6 +%%DATADIR%%/textart/elephant7 +%%DATADIR%%/textart/expressions +%%DATADIR%%/textart/eye +%%DATADIR%%/textart/fall +%%DATADIR%%/textart/fatherson +%%DATADIR%%/textart/feathers +%%DATADIR%%/textart/fire +%%DATADIR%%/textart/firemen +%%DATADIR%%/textart/fish +%%DATADIR%%/textart/footsteps +%%DATADIR%%/textart/fractals +%%DATADIR%%/textart/frog +%%DATADIR%%/textart/fullmoon +%%DATADIR%%/textart/gameboy +%%DATADIR%%/textart/gameboy2 +%%DATADIR%%/textart/ganesha +%%DATADIR%%/textart/garden +%%DATADIR%%/textart/gate +%%DATADIR%%/textart/girl +%%DATADIR%%/textart/girl2 +%%DATADIR%%/textart/globe +%%DATADIR%%/textart/goldengatebridge +%%DATADIR%%/textart/golf +%%DATADIR%%/textart/golf2 +%%DATADIR%%/textart/gorilla +%%DATADIR%%/textart/gravity +%%DATADIR%%/textart/groupphoto +%%DATADIR%%/textart/guitar +%%DATADIR%%/textart/guitar2 +%%DATADIR%%/textart/gun +%%DATADIR%%/textart/hammer +%%DATADIR%%/textart/handyoga +%%DATADIR%%/textart/handyoga2 +%%DATADIR%%/textart/heart +%%DATADIR%%/textart/help +%%DATADIR%%/textart/horse +%%DATADIR%%/textart/horse2 +%%DATADIR%%/textart/horse3 +%%DATADIR%%/textart/horse4 +%%DATADIR%%/textart/hourglass +%%DATADIR%%/textart/house +%%DATADIR%%/textart/house2 +%%DATADIR%%/textart/house3 +%%DATADIR%%/textart/house4 +%%DATADIR%%/textart/house5 +%%DATADIR%%/textart/house6 +%%DATADIR%%/textart/house7 +%%DATADIR%%/textart/houses +%%DATADIR%%/textart/hummingbird +%%DATADIR%%/textart/hummingbird2 +%%DATADIR%%/textart/hummingbird3 +%%DATADIR%%/textart/illusion +%%DATADIR%%/textart/india +%%DATADIR%%/textart/indiaflag1_65 +%%DATADIR%%/textart/indiaflag2_30 +%%DATADIR%%/textart/indiaflag2_40 +%%DATADIR%%/textart/indiaflag2_48 +%%DATADIR%%/textart/indiaflag2_50 +%%DATADIR%%/textart/indiaflag2_65 +%%DATADIR%%/textart/indiaflag3 +%%DATADIR%%/textart/inspectorgadget +%%DATADIR%%/textart/inspectorgadget2 +%%DATADIR%%/textart/kissingcats +%%DATADIR%%/textart/kissingcats2 +%%DATADIR%%/textart/knots +%%DATADIR%%/textart/knots2 +%%DATADIR%%/textart/knotscolored +%%DATADIR%%/textart/knotscolored2 +%%DATADIR%%/textart/knotscolored3 +%%DATADIR%%/textart/knotscolored4 +%%DATADIR%%/textart/laundry +%%DATADIR%%/textart/letter +%%DATADIR%%/textart/lion +%%DATADIR%%/textart/lions +%%DATADIR%%/textart/lions2 +%%DATADIR%%/textart/loading +%%DATADIR%%/textart/lordoftherings +%%DATADIR%%/textart/loser +%%DATADIR%%/textart/lovesign +%%DATADIR%%/textart/magic +%%DATADIR%%/textart/magic10 +%%DATADIR%%/textart/magic2 +%%DATADIR%%/textart/magic3 +%%DATADIR%%/textart/magic4 +%%DATADIR%%/textart/magic5 +%%DATADIR%%/textart/magic6 +%%DATADIR%%/textart/magic7 +%%DATADIR%%/textart/magic8 +%%DATADIR%%/textart/magic9 +%%DATADIR%%/textart/magician +%%DATADIR%%/textart/man +%%DATADIR%%/textart/medusa +%%DATADIR%%/textart/mermaid +%%DATADIR%%/textart/metropolis +%%DATADIR%%/textart/metropolis2 +%%DATADIR%%/textart/metropolis3 +%%DATADIR%%/textart/mickey +%%DATADIR%%/textart/military +%%DATADIR%%/textart/military2 +%%DATADIR%%/textart/military3 +%%DATADIR%%/textart/mirror1_ff +%%DATADIR%%/textart/mirror1_ff2 +%%DATADIR%%/textart/mirror1_fm +%%DATADIR%%/textart/mirror1_mf +%%DATADIR%%/textart/mirror1_mm +%%DATADIR%%/textart/mirror2 +%%DATADIR%%/textart/monalisa +%%DATADIR%%/textart/monalisa10 +%%DATADIR%%/textart/monalisa2 +%%DATADIR%%/textart/monalisa3 +%%DATADIR%%/textart/monalisa4 +%%DATADIR%%/textart/monalisa5 +%%DATADIR%%/textart/monalisa6 +%%DATADIR%%/textart/monalisa7 +%%DATADIR%%/textart/monalisa8 +%%DATADIR%%/textart/monalisa9 +%%DATADIR%%/textart/monkey +%%DATADIR%%/textart/monkey10 +%%DATADIR%%/textart/monkey2 +%%DATADIR%%/textart/monkey3 +%%DATADIR%%/textart/monkey5 +%%DATADIR%%/textart/monkey6 +%%DATADIR%%/textart/monkey7 +%%DATADIR%%/textart/monkey8 +%%DATADIR%%/textart/monkey9 +%%DATADIR%%/textart/monkeymagic +%%DATADIR%%/textart/monkeymagic2 +%%DATADIR%%/textart/monroe +%%DATADIR%%/textart/monroe2 +%%DATADIR%%/textart/monroe3 +%%DATADIR%%/textart/mountains +%%DATADIR%%/textart/mountrushmore +%%DATADIR%%/textart/mouserat +%%DATADIR%%/textart/mouth_bblack +%%DATADIR%%/textart/mouth_bblue +%%DATADIR%%/textart/mouth_bcyan +%%DATADIR%%/textart/mouth_bgreen +%%DATADIR%%/textart/mouth_black +%%DATADIR%%/textart/mouth_blue +%%DATADIR%%/textart/mouth_bmagenta +%%DATADIR%%/textart/mouth_bred +%%DATADIR%%/textart/mouth_bwhite +%%DATADIR%%/textart/mouth_byellow +%%DATADIR%%/textart/mouth_cyan +%%DATADIR%%/textart/mouth_green +%%DATADIR%%/textart/mouth_magenta +%%DATADIR%%/textart/mouth_red +%%DATADIR%%/textart/mouth_white +%%DATADIR%%/textart/mouth_yellow +%%DATADIR%%/textart/native +%%DATADIR%%/textart/native1 +%%DATADIR%%/textart/native2 +%%DATADIR%%/textart/neptune +%%DATADIR%%/textart/news +%%DATADIR%%/textart/northernlights +%%DATADIR%%/textart/nosmoking +%%DATADIR%%/textart/obama +%%DATADIR%%/textart/obama2 +%%DATADIR%%/textart/obama3 +%%DATADIR%%/textart/obama4 +%%DATADIR%%/textart/octopus +%%DATADIR%%/textart/outline +%%DATADIR%%/textart/passport +%%DATADIR%%/textart/pattern +%%DATADIR%%/textart/pattern2 +%%DATADIR%%/textart/peacock +%%DATADIR%%/textart/peacock2 +%%DATADIR%%/textart/pharoah +%%DATADIR%%/textart/phonenix +%%DATADIR%%/textart/phonenix2 +%%DATADIR%%/textart/pinkflamingo +%%DATADIR%%/textart/pizzalarge +%%DATADIR%%/textart/pizzapersonal +%%DATADIR%%/textart/pizzaslice +%%DATADIR%%/textart/pizzasliceuncut +%%DATADIR%%/textart/plant +%%DATADIR%%/textart/poem_doubletaildog +%%DATADIR%%/textart/poem_nodifference +%%DATADIR%%/textart/poem_sheslept +%%DATADIR%%/textart/poem_sick +%%DATADIR%%/textart/poem_smart +%%DATADIR%%/textart/poem_surfing +%%DATADIR%%/textart/pointsettias +%%DATADIR%%/textart/pointsettias2 +%%DATADIR%%/textart/prayer +%%DATADIR%%/textart/pride50 +%%DATADIR%%/textart/pride50_30 +%%DATADIR%%/textart/pride60 +%%DATADIR%%/textart/pride60_30 +%%DATADIR%%/textart/pride65 +%%DATADIR%%/textart/pride65_30 +%%DATADIR%%/textart/pyramids +%%DATADIR%%/textart/reaper +%%DATADIR%%/textart/reaper2 +%%DATADIR%%/textart/reaper3 +%%DATADIR%%/textart/recycle +%%DATADIR%%/textart/recycle2 +%%DATADIR%%/textart/robot +%%DATADIR%%/textart/robot2 +%%DATADIR%%/textart/robot3 +%%DATADIR%%/textart/room +%%DATADIR%%/textart/rugrats +%%DATADIR%%/textart/rugrats2 +%%DATADIR%%/textart/scale +%%DATADIR%%/textart/scale2 +%%DATADIR%%/textart/school +%%DATADIR%%/textart/school2 +%%DATADIR%%/textart/scooter +%%DATADIR%%/textart/seal +%%DATADIR%%/textart/shapes3d +%%DATADIR%%/textart/singingbirds +%%DATADIR%%/textart/singingbirds2 +%%DATADIR%%/textart/skeleton +%%DATADIR%%/textart/skeleton2 +%%DATADIR%%/textart/skeleton3 +%%DATADIR%%/textart/skeletons +%%DATADIR%%/textart/skull +%%DATADIR%%/textart/skull2 +%%DATADIR%%/textart/skull3 +%%DATADIR%%/textart/skull4 +%%DATADIR%%/textart/skyline +%%DATADIR%%/textart/sleeping +%%DATADIR%%/textart/smoker +%%DATADIR%%/textart/sneeze +%%DATADIR%%/textart/solarwinds +%%DATADIR%%/textart/spacetravel +%%DATADIR%%/textart/sphinx +%%DATADIR%%/textart/spider +%%DATADIR%%/textart/spiral +%%DATADIR%%/textart/sports +%%DATADIR%%/textart/squirrel +%%DATADIR%%/textart/squirrel2 +%%DATADIR%%/textart/stamps +%%DATADIR%%/textart/stamps2 +%%DATADIR%%/textart/startrek +%%DATADIR%%/textart/statueliberty +%%DATADIR%%/textart/statueliberty2 +%%DATADIR%%/textart/sunset +%%DATADIR%%/textart/swatchbook +%%DATADIR%%/textart/tajmahal +%%DATADIR%%/textart/tank +%%DATADIR%%/textart/tessalation +%%DATADIR%%/textart/tiger +%%DATADIR%%/textart/totempole +%%DATADIR%%/textart/trafficlight +%%DATADIR%%/textart/trafficlightgreen +%%DATADIR%%/textart/trafficlightred +%%DATADIR%%/textart/trafficlightyellow +%%DATADIR%%/textart/tree +%%DATADIR%%/textart/tree2 +%%DATADIR%%/textart/tree3 +%%DATADIR%%/textart/tree4 +%%DATADIR%%/textart/trees +%%DATADIR%%/textart/trex +%%DATADIR%%/textart/truck +%%DATADIR%%/textart/turtle +%%DATADIR%%/textart/turtle2 +%%DATADIR%%/textart/twoxthree +%%DATADIR%%/textart/ukraine1_40 +%%DATADIR%%/textart/ukraine1_50 +%%DATADIR%%/textart/ukraine1_65 +%%DATADIR%%/textart/ukraine2_50 +%%DATADIR%%/textart/ukraine2_65 +%%DATADIR%%/textart/umbrella +%%DATADIR%%/textart/unicorn +%%DATADIR%%/textart/unicorn2 +%%DATADIR%%/textart/usa +%%DATADIR%%/textart/usaflag1 +%%DATADIR%%/textart/usaflag1_1 +%%DATADIR%%/textart/usaflag1_2 +%%DATADIR%%/textart/usaflag1_3 +%%DATADIR%%/textart/usaflag1_4 +%%DATADIR%%/textart/usaflag1_5 +%%DATADIR%%/textart/usaflag2 +%%DATADIR%%/textart/usaflag3 +%%DATADIR%%/textart/vacation +%%DATADIR%%/textart/vacation2 +%%DATADIR%%/textart/valentine +%%DATADIR%%/textart/vanishingpoint +%%DATADIR%%/textart/weightlifter +%%DATADIR%%/textart/weightlifter2 +%%DATADIR%%/textart/whitehouse +%%DATADIR%%/textart/winnepooh +%%DATADIR%%/textart/winnepooh2 +%%DATADIR%%/textart/wisegirl +%%DATADIR%%/textart/witch +%%DATADIR%%/textart/witch2 +%%DATADIR%%/textart/witch3 +%%DATADIR%%/textart/wizard +%%DATADIR%%/textart/womancar +%%DATADIR%%/textart/woodpecker +%%DATADIR%%/textart/worldfair +%%DATADIR%%/textart/worldmap +%%DATADIR%%/textart/yinyang +%%DATADIR%%/textart/zebra