2013-03-19 16:11:01 +01:00
|
|
|
# Created by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
|
2006-01-04 23:14:27 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= holotz-castle
|
2013-03-22 06:29:06 +01:00
|
|
|
PORTVERSION= 1.3.14
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 4
|
2006-01-04 23:14:27 +01:00
|
|
|
CATEGORIES= games
|
2013-10-22 00:46:49 +02:00
|
|
|
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
|
2013-03-22 06:29:06 +01:00
|
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
|
2013-06-22 23:38:17 +02:00
|
|
|
${PORTNAME}_icons${EXTRACT_SUFX}
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}_icons${EXTRACT_SUFX}
|
2006-01-04 23:14:27 +01:00
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-03-22 06:29:06 +01:00
|
|
|
COMMENT= Platform game with high doses of mystery
|
|
|
|
|
2014-11-28 12:21:42 +01:00
|
|
|
LICENSE= GPLv2 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
2013-03-22 06:29:06 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
|
2006-01-04 23:14:27 +01:00
|
|
|
|
2014-05-13 23:31:41 +02:00
|
|
|
USES= gmake desthack
|
2007-05-19 22:36:56 +02:00
|
|
|
USE_GL= gl
|
2006-01-04 23:14:27 +01:00
|
|
|
USE_SDL= image mixer sdl ttf
|
2014-11-28 12:21:42 +01:00
|
|
|
MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ \
|
|
|
|
HC_BIN_DIR=${PREFIX}/bin/
|
2014-05-13 23:31:41 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-03-22 06:29:06 +01:00
|
|
|
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
|
|
|
|
|
2013-06-22 23:38:17 +02:00
|
|
|
SUB_FILES= pkg-message ${PORTNAME}-solutions
|
2013-03-22 06:29:06 +01:00
|
|
|
|
2014-11-28 12:21:42 +01:00
|
|
|
PORTDATA= *
|
|
|
|
|
2013-06-22 23:38:17 +02:00
|
|
|
OPTIONS_DEFINE= SOLUTIONS
|
|
|
|
OPTIONS_DEFAULT=SOLUTIONS
|
|
|
|
SOLUTIONS_DESC= Solutions for Holotz's Castle
|
|
|
|
|
2013-10-22 00:46:49 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2013-12-04 11:26:55 +01:00
|
|
|
SOLUTIONS_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
2013-10-22 00:46:49 +02:00
|
|
|
|
2013-06-22 23:38:17 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSOLUTIONS}
|
|
|
|
DISTFILES+= ${PORTNAME}_solutions${EXTRACT_SUFX}
|
|
|
|
EXTRACT_ONLY+= ${PORTNAME}_solutions${EXTRACT_SUFX}
|
|
|
|
.endif
|
|
|
|
|
2013-03-22 06:29:06 +01:00
|
|
|
post-install:
|
2014-05-13 23:31:41 +02:00
|
|
|
.for f in ${PORTNAME} ${PORTNAME}-editor
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${f} ${STAGEDIR}${PREFIX}/bin/)
|
|
|
|
.endfor
|
2013-03-22 06:29:06 +01:00
|
|
|
.for s in ${ICON_SIZES}
|
2013-10-22 00:46:49 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
|
2013-03-22 06:29:06 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
|
2013-10-22 00:46:49 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
2013-03-22 06:29:06 +01:00
|
|
|
.endfor
|
2013-10-22 00:46:49 +02:00
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
2013-12-04 11:26:55 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
2013-10-22 00:46:49 +02:00
|
|
|
(cd ${WRKSRC}/man && ${INSTALL_MAN} *.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/)
|
2013-03-22 06:29:06 +01:00
|
|
|
|
2013-06-22 23:38:17 +02:00
|
|
|
.if ${PORT_OPTIONS:MSOLUTIONS}
|
2013-10-22 00:46:49 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-solutions ${STAGEDIR}${PREFIX}/bin/
|
Moving some games to @games
games/3dpong
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/abe
- Transfer maintainership to games@ team
- Cosmetical changes
games/abuse_sdl
- Transfer maintainership to games@ team
games/airstrike
- Transfer maintainership to games@ team
- Remove TODO from DOCS
games/aop
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/asteroid
- Transfer maintainership to games@ team
games/asteroids3d
- Transfer maintainership to games@ team
games/awale
- Transfer maintainership to games@ team
games/barbie_seahorse_adventures
- Transfer maintainership to games@ team
games/barrage
- Transfer maintainership to games@ team
games/black-box
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/blobwars
- Transfer maintainership to games@ team
games/blockrage
- Transfer maintainership to games@ team
games/bombz
- Transfer maintainership to games@ team
- Cosmetical changes
games/bouncy
- Transfer maintainership to games@ team
- Cosmetical changes
- Change Desktop entry file
games/bubble-chains
- Transfer maintainership to games@ team
- Remove not needed bsd.port.options.mk
games/bugsquish
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/capicity
- Transfer maintainership to games@ team
games/capitalism
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Change Desktop entry file
- Break lines around 80 characters
games/cuyo
- Transfer maintainership to games@ team
- Don't silence warnings
- Remove TODO from DOCS
games/defendguin
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Break lines around 80 characters
games/duckmaze
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Add DOCS Option
- Cosmetical changes
games/entombed
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Change Desktop entry file
games/epiar
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/euchre
- Transfer maintainership to games@ team
- Remove TODO from DOCS
- Change Desktop entry file
- Change pkg-descr, cosmetical changes
games/fightorperish
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Change Desktop entry file
- Break lines around 80 characters
games/frotz
- Transfer maintainership to games@ team
games/gemdropx
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/glightoff
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Remove TODO from DOCS
games/gnurobots
- Transfer maintainership to games@ team
- Remove TODO from DOCS
- Simplify DOCS installation handling
games/gtkballs
- Transfer maintainership to games@ team
games/gtktetcolor
- Transfer maintainership to games@ team
games/help_hannahs_horse
- Transfer maintainership to games@ team
- Disable Clang warnings with CFLAGS+
- Cosmetical changes
- Change pkg-plist, remove mtree
games/hitori
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION for dependency change
- Transfer maintainership to games@ team
- Remove USES desktop-file-utils
- Use tar:xz instead of USE_XZ=yes
games/holotz-castle
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/icbm3d
- Remove FTP master site
- Transfer maintainership to games@ team
games/icebreaker
- Transfer maintainership to games@ team
- Change pkg-message
games/icebreaker
- Transfer maintainership to games@ team
games/iceicepenguin
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Add DOCS Option
games/impossible_mission_puzzle
- Transfer maintainership to games@ team
games/kajaani-kombat
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Cosmetical changes
games/krank
- Transfer maintainership to games@ team
- Add DOCS Option
- Cosmetical changes
games/lianliankan
- Transfer maintainership to games@ team
games/lmarbles
- Transfer maintainership to games@ team
games/lostfeathers
- Transfer maintainership to games@ team
- Use zip instead of USES=zip
- USES shebangfix and SHEBANG_FILES instead of REINPLACE
- Cosmetical changes
games/madbomber
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
games/maelstrom
- Transfer maintainership to games@ team
games/moagg
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Cosmetical changes
games/mopesnake
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Cosmetical changes
games/nuclearchess
- Transfer maintainership to games@ team
games/palomino/Makefile
- Transfer maintainership to games@ team
games/pipenightdreams
- Transfer maintainership to games@ team
- Use tar.gz instead of tar.bz2
- Don't silence warnings
games/popstar
- Remove FTP master site
- Transfer maintainership to games@ team
- Remove TODO.txt from DOCS
- Change Desktop entry file
games/ppracer
- Transfer maintainership to games@ team
games/pyawale
- Transfer maintainership to games@ team
- Remove not needed bsd.port.options.mk
- Fix the usage of 'python' to get rid of the implicit
lang/python dependency, change REINPLACE and files/pyawale.in
- Break lines around 80 characters
- Simplify DOCS installation handling
games/pytowerdefense
- Transfer maintainership to games@ team
- Change Desktop entry file
- Simplify installation handling
games/rescue
- Transfer maintainership to games@ team
- Add DOCS Option
games/schiff
- Transfer maintainership to games@ team
games/schwarzweiss
- Transfer maintainership to games@ team
- Add USES shebangfix and SHEBANG_FILES
- Cosmetical changes
games/sets
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
games/ttt
- Transfer maintainership to games@ team
games/tux-aqfh
- Transfer maintainership to games@ team
- Simplify DOCS installation handling
games/tuxfighter
- Change Makefile header, use my name and @FreeBSD.org email
- Transfer maintainership to games@ team
- Change USE_PYTHON=yes to USE_PYTHON=2
- Change Desktop entry file
- Simplify installation handling
- Use files/pkg-message.in instead of pkg-message
games/tuxkart
- Transfer maintainership to games@ team
- Simplify DOCS installation handling
games/vectoroids
- Remove FTP master site
- Transfer maintainership to games@ team
- Cosmetical changes
games/whichwayisup
- Transfer maintainership to games@ team
games/wordplay
- Transfer maintainership to games@ team
games/xemeraldia
- Transfer maintainership to games@ team
games/xsc
- Transfer maintainership to games@ team
- Break lines around 80 characters
games/zephulor
- Transfer maintainership to games@ team
- Change Desktop entry file
- Simplify DOCS installation handling
2014-05-02 17:44:31 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}-solutions.desktop \
|
|
|
|
${STAGEDIR}${DESKTOPDIR}
|
2013-10-22 00:46:49 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/solutions
|
2014-05-13 23:31:41 +02:00
|
|
|
@(cd ${WRKDIR} && ${INSTALL_DATA} *.avi ${STAGEDIR}${DATADIR}/solutions)
|
2013-06-22 23:38:17 +02:00
|
|
|
.endif
|
2013-03-22 06:29:06 +01:00
|
|
|
|
2007-11-28 09:04:42 +01:00
|
|
|
.include <bsd.port.mk>
|