new-style plist, handcrafted with a few tweaks.
This commit is contained in:
parent
ef57ea61fd
commit
8d77111cd8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2003/02/25 00:15:02 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2004/08/10 09:33:59 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
|
||||
|
||||
COMMENT= "dungeon explorin', hackin', game. Piece of cake"
|
||||
@ -23,7 +23,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST}
|
||||
|
||||
NHDIR= ${PREFIX}/lib/nethackdir
|
||||
GAMEDIR=lib/nethackdir
|
||||
NHDIR= ${PREFIX}/${GAMEDIR}
|
||||
MAKE_ENV+= NHDIR=${NHDIR} NETHACKCONFIG=${NETHACKCONFIG}
|
||||
|
||||
FLAVORS=no_x11 qt
|
||||
@ -44,6 +45,7 @@ USE_X11= Yes
|
||||
RUN_DEPENDS=:hackdata-*:games/hackdata
|
||||
|
||||
NO_REGRESS= Yes
|
||||
SUBST_VARS=GAMEDIR
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh symlinks
|
||||
@ -59,6 +61,9 @@ post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults
|
||||
@cd ${WRKSRC}/win/X11 && cp NetHack.ad NetHack && \
|
||||
${INSTALL_DATA} NetHack ${PREFIX}/lib/X11/app-defaults
|
||||
install -g games -m 0664 /dev/null ${NHDIR}/logfile
|
||||
install -g games -m 0664 /dev/null ${NHDIR}/perm
|
||||
install -g games -m 0664 /dev/null ${NHDIR}/record
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,144 +1,149 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2002/03/23 14:51:46 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2004/08/10 09:34:00 espie Exp $
|
||||
@group games
|
||||
bin/nethack
|
||||
bin/recover
|
||||
!%%no_x11%%
|
||||
%%qt%%
|
||||
lib/nethackdir/Arc-fila.lev
|
||||
lib/nethackdir/Arc-filb.lev
|
||||
lib/nethackdir/Arc-goal.lev
|
||||
lib/nethackdir/Arc-loca.lev
|
||||
lib/nethackdir/Arc-strt.lev
|
||||
lib/nethackdir/Bar-fila.lev
|
||||
lib/nethackdir/Bar-filb.lev
|
||||
lib/nethackdir/Bar-goal.lev
|
||||
lib/nethackdir/Bar-loca.lev
|
||||
lib/nethackdir/Bar-strt.lev
|
||||
lib/nethackdir/Cav-fila.lev
|
||||
lib/nethackdir/Cav-filb.lev
|
||||
lib/nethackdir/Cav-goal.lev
|
||||
lib/nethackdir/Cav-loca.lev
|
||||
lib/nethackdir/Cav-strt.lev
|
||||
lib/nethackdir/Hea-fila.lev
|
||||
lib/nethackdir/Hea-filb.lev
|
||||
lib/nethackdir/Hea-goal.lev
|
||||
lib/nethackdir/Hea-loca.lev
|
||||
lib/nethackdir/Hea-strt.lev
|
||||
lib/nethackdir/Kni-fila.lev
|
||||
lib/nethackdir/Kni-filb.lev
|
||||
lib/nethackdir/Kni-goal.lev
|
||||
lib/nethackdir/Kni-loca.lev
|
||||
lib/nethackdir/Kni-strt.lev
|
||||
lib/nethackdir/Mon-fila.lev
|
||||
lib/nethackdir/Mon-filb.lev
|
||||
lib/nethackdir/Mon-goal.lev
|
||||
lib/nethackdir/Mon-loca.lev
|
||||
lib/nethackdir/Mon-strt.lev
|
||||
lib/nethackdir/Pri-fila.lev
|
||||
lib/nethackdir/Pri-filb.lev
|
||||
lib/nethackdir/Pri-goal.lev
|
||||
lib/nethackdir/Pri-loca.lev
|
||||
lib/nethackdir/Pri-strt.lev
|
||||
lib/nethackdir/Ran-fila.lev
|
||||
lib/nethackdir/Ran-filb.lev
|
||||
lib/nethackdir/Ran-goal.lev
|
||||
lib/nethackdir/Ran-loca.lev
|
||||
lib/nethackdir/Ran-strt.lev
|
||||
lib/nethackdir/Rog-fila.lev
|
||||
lib/nethackdir/Rog-filb.lev
|
||||
lib/nethackdir/Rog-goal.lev
|
||||
lib/nethackdir/Rog-loca.lev
|
||||
lib/nethackdir/Rog-strt.lev
|
||||
lib/nethackdir/Sam-fila.lev
|
||||
lib/nethackdir/Sam-filb.lev
|
||||
lib/nethackdir/Sam-goal.lev
|
||||
lib/nethackdir/Sam-loca.lev
|
||||
lib/nethackdir/Sam-strt.lev
|
||||
lib/nethackdir/Tou-fila.lev
|
||||
lib/nethackdir/Tou-filb.lev
|
||||
lib/nethackdir/Tou-goal.lev
|
||||
lib/nethackdir/Tou-loca.lev
|
||||
lib/nethackdir/Tou-strt.lev
|
||||
lib/nethackdir/Val-fila.lev
|
||||
lib/nethackdir/Val-filb.lev
|
||||
lib/nethackdir/Val-goal.lev
|
||||
lib/nethackdir/Val-loca.lev
|
||||
lib/nethackdir/Val-strt.lev
|
||||
lib/nethackdir/Wiz-fila.lev
|
||||
lib/nethackdir/Wiz-filb.lev
|
||||
lib/nethackdir/Wiz-goal.lev
|
||||
lib/nethackdir/Wiz-loca.lev
|
||||
lib/nethackdir/Wiz-strt.lev
|
||||
lib/nethackdir/air.lev
|
||||
lib/nethackdir/asmodeus.lev
|
||||
lib/nethackdir/astral.lev
|
||||
lib/nethackdir/baalz.lev
|
||||
lib/nethackdir/bigrm-1.lev
|
||||
lib/nethackdir/bigrm-2.lev
|
||||
lib/nethackdir/bigrm-3.lev
|
||||
lib/nethackdir/bigrm-4.lev
|
||||
lib/nethackdir/bigrm-5.lev
|
||||
lib/nethackdir/castle.lev
|
||||
lib/nethackdir/cmdhelp
|
||||
lib/nethackdir/data
|
||||
lib/nethackdir/dungeon
|
||||
lib/nethackdir/earth.lev
|
||||
lib/nethackdir/fakewiz1.lev
|
||||
lib/nethackdir/fakewiz2.lev
|
||||
lib/nethackdir/fire.lev
|
||||
lib/nethackdir/help
|
||||
lib/nethackdir/hh
|
||||
lib/nethackdir/history
|
||||
lib/nethackdir/juiblex.lev
|
||||
lib/nethackdir/knox.lev
|
||||
lib/nethackdir/license
|
||||
lib/nethackdir/medusa-1.lev
|
||||
lib/nethackdir/medusa-2.lev
|
||||
lib/nethackdir/minefill.lev
|
||||
lib/nethackdir/minend-1.lev
|
||||
lib/nethackdir/minend-2.lev
|
||||
lib/nethackdir/minend-3.lev
|
||||
lib/nethackdir/minetn-1.lev
|
||||
lib/nethackdir/minetn-2.lev
|
||||
lib/nethackdir/minetn-3.lev
|
||||
lib/nethackdir/minetn-4.lev
|
||||
lib/nethackdir/minetn-5.lev
|
||||
lib/nethackdir/minetn-6.lev
|
||||
lib/nethackdir/minetn-7.lev
|
||||
lib/nethackdir/opthelp
|
||||
lib/nethackdir/options
|
||||
lib/nethackdir/oracle.lev
|
||||
lib/nethackdir/oracles
|
||||
lib/nethackdir/orcus.lev
|
||||
lib/nethackdir/quest.dat
|
||||
lib/nethackdir/rumors
|
||||
lib/nethackdir/sanctum.lev
|
||||
lib/nethackdir/soko1-1.lev
|
||||
lib/nethackdir/soko1-2.lev
|
||||
lib/nethackdir/soko2-1.lev
|
||||
lib/nethackdir/soko2-2.lev
|
||||
lib/nethackdir/soko3-1.lev
|
||||
lib/nethackdir/soko3-2.lev
|
||||
lib/nethackdir/soko4-1.lev
|
||||
lib/nethackdir/soko4-2.lev
|
||||
lib/nethackdir/tower1.lev
|
||||
lib/nethackdir/tower2.lev
|
||||
lib/nethackdir/tower3.lev
|
||||
lib/nethackdir/valley.lev
|
||||
lib/nethackdir/water.lev
|
||||
lib/nethackdir/wizard1.lev
|
||||
lib/nethackdir/wizard2.lev
|
||||
lib/nethackdir/wizard3.lev
|
||||
lib/nethackdir/wizhelp
|
||||
man/man6/nethack.6
|
||||
man/man6/recover.6
|
||||
@mode 0775
|
||||
${GAMEDIR}/
|
||||
@mode 0664
|
||||
@comment no checksum
|
||||
${GAMEDIR}/logfile
|
||||
@comment no checksum
|
||||
${GAMEDIR}/perm
|
||||
@comment no checksum
|
||||
${GAMEDIR}/record
|
||||
@mode 2555
|
||||
lib/nethackdir/nethack
|
||||
@exec chmod 775 %B
|
||||
@exec install -g games -m 0664 /dev/null %B/logfile
|
||||
@exec install -g games -m 0664 /dev/null %B/perm
|
||||
@exec install -g games -m 0664 /dev/null %B/record
|
||||
@unexec rm %B/logfile %B/perm %B/record
|
||||
@exec install -d -g games -m 0575 %B/save
|
||||
@unexec rm -rf %B/save
|
||||
@dirrm lib/nethackdir
|
||||
${GAMEDIR}/nethack
|
||||
@mode 0575
|
||||
${GAMEDIR}/save/
|
||||
@mode
|
||||
${GAMEDIR}/Arc-fila.lev
|
||||
${GAMEDIR}/Arc-filb.lev
|
||||
${GAMEDIR}/Arc-goal.lev
|
||||
${GAMEDIR}/Arc-loca.lev
|
||||
${GAMEDIR}/Arc-strt.lev
|
||||
${GAMEDIR}/Bar-fila.lev
|
||||
${GAMEDIR}/Bar-filb.lev
|
||||
${GAMEDIR}/Bar-goal.lev
|
||||
${GAMEDIR}/Bar-loca.lev
|
||||
${GAMEDIR}/Bar-strt.lev
|
||||
${GAMEDIR}/Cav-fila.lev
|
||||
${GAMEDIR}/Cav-filb.lev
|
||||
${GAMEDIR}/Cav-goal.lev
|
||||
${GAMEDIR}/Cav-loca.lev
|
||||
${GAMEDIR}/Cav-strt.lev
|
||||
${GAMEDIR}/Hea-fila.lev
|
||||
${GAMEDIR}/Hea-filb.lev
|
||||
${GAMEDIR}/Hea-goal.lev
|
||||
${GAMEDIR}/Hea-loca.lev
|
||||
${GAMEDIR}/Hea-strt.lev
|
||||
${GAMEDIR}/Kni-fila.lev
|
||||
${GAMEDIR}/Kni-filb.lev
|
||||
${GAMEDIR}/Kni-goal.lev
|
||||
${GAMEDIR}/Kni-loca.lev
|
||||
${GAMEDIR}/Kni-strt.lev
|
||||
${GAMEDIR}/Mon-fila.lev
|
||||
${GAMEDIR}/Mon-filb.lev
|
||||
${GAMEDIR}/Mon-goal.lev
|
||||
${GAMEDIR}/Mon-loca.lev
|
||||
${GAMEDIR}/Mon-strt.lev
|
||||
${GAMEDIR}/Pri-fila.lev
|
||||
${GAMEDIR}/Pri-filb.lev
|
||||
${GAMEDIR}/Pri-goal.lev
|
||||
${GAMEDIR}/Pri-loca.lev
|
||||
${GAMEDIR}/Pri-strt.lev
|
||||
${GAMEDIR}/Ran-fila.lev
|
||||
${GAMEDIR}/Ran-filb.lev
|
||||
${GAMEDIR}/Ran-goal.lev
|
||||
${GAMEDIR}/Ran-loca.lev
|
||||
${GAMEDIR}/Ran-strt.lev
|
||||
${GAMEDIR}/Rog-fila.lev
|
||||
${GAMEDIR}/Rog-filb.lev
|
||||
${GAMEDIR}/Rog-goal.lev
|
||||
${GAMEDIR}/Rog-loca.lev
|
||||
${GAMEDIR}/Rog-strt.lev
|
||||
${GAMEDIR}/Sam-fila.lev
|
||||
${GAMEDIR}/Sam-filb.lev
|
||||
${GAMEDIR}/Sam-goal.lev
|
||||
${GAMEDIR}/Sam-loca.lev
|
||||
${GAMEDIR}/Sam-strt.lev
|
||||
${GAMEDIR}/Tou-fila.lev
|
||||
${GAMEDIR}/Tou-filb.lev
|
||||
${GAMEDIR}/Tou-goal.lev
|
||||
${GAMEDIR}/Tou-loca.lev
|
||||
${GAMEDIR}/Tou-strt.lev
|
||||
${GAMEDIR}/Val-fila.lev
|
||||
${GAMEDIR}/Val-filb.lev
|
||||
${GAMEDIR}/Val-goal.lev
|
||||
${GAMEDIR}/Val-loca.lev
|
||||
${GAMEDIR}/Val-strt.lev
|
||||
${GAMEDIR}/Wiz-fila.lev
|
||||
${GAMEDIR}/Wiz-filb.lev
|
||||
${GAMEDIR}/Wiz-goal.lev
|
||||
${GAMEDIR}/Wiz-loca.lev
|
||||
${GAMEDIR}/Wiz-strt.lev
|
||||
${GAMEDIR}/air.lev
|
||||
${GAMEDIR}/asmodeus.lev
|
||||
${GAMEDIR}/astral.lev
|
||||
${GAMEDIR}/baalz.lev
|
||||
${GAMEDIR}/bigrm-1.lev
|
||||
${GAMEDIR}/bigrm-2.lev
|
||||
${GAMEDIR}/bigrm-3.lev
|
||||
${GAMEDIR}/bigrm-4.lev
|
||||
${GAMEDIR}/bigrm-5.lev
|
||||
${GAMEDIR}/castle.lev
|
||||
${GAMEDIR}/cmdhelp
|
||||
${GAMEDIR}/data
|
||||
${GAMEDIR}/dungeon
|
||||
${GAMEDIR}/earth.lev
|
||||
${GAMEDIR}/fakewiz1.lev
|
||||
${GAMEDIR}/fakewiz2.lev
|
||||
${GAMEDIR}/fire.lev
|
||||
${GAMEDIR}/help
|
||||
${GAMEDIR}/hh
|
||||
${GAMEDIR}/history
|
||||
${GAMEDIR}/juiblex.lev
|
||||
${GAMEDIR}/knox.lev
|
||||
${GAMEDIR}/license
|
||||
${GAMEDIR}/medusa-1.lev
|
||||
${GAMEDIR}/medusa-2.lev
|
||||
${GAMEDIR}/minefill.lev
|
||||
${GAMEDIR}/minend-1.lev
|
||||
${GAMEDIR}/minend-2.lev
|
||||
${GAMEDIR}/minend-3.lev
|
||||
${GAMEDIR}/minetn-1.lev
|
||||
${GAMEDIR}/minetn-2.lev
|
||||
${GAMEDIR}/minetn-3.lev
|
||||
${GAMEDIR}/minetn-4.lev
|
||||
${GAMEDIR}/minetn-5.lev
|
||||
${GAMEDIR}/minetn-6.lev
|
||||
${GAMEDIR}/minetn-7.lev
|
||||
${GAMEDIR}/opthelp
|
||||
${GAMEDIR}/options
|
||||
${GAMEDIR}/oracle.lev
|
||||
${GAMEDIR}/oracles
|
||||
${GAMEDIR}/orcus.lev
|
||||
${GAMEDIR}/quest.dat
|
||||
${GAMEDIR}/rumors
|
||||
${GAMEDIR}/sanctum.lev
|
||||
${GAMEDIR}/soko1-1.lev
|
||||
${GAMEDIR}/soko1-2.lev
|
||||
${GAMEDIR}/soko2-1.lev
|
||||
${GAMEDIR}/soko2-2.lev
|
||||
${GAMEDIR}/soko3-1.lev
|
||||
${GAMEDIR}/soko3-2.lev
|
||||
${GAMEDIR}/soko4-1.lev
|
||||
${GAMEDIR}/soko4-2.lev
|
||||
${GAMEDIR}/tower1.lev
|
||||
${GAMEDIR}/tower2.lev
|
||||
${GAMEDIR}/tower3.lev
|
||||
${GAMEDIR}/valley.lev
|
||||
${GAMEDIR}/water.lev
|
||||
${GAMEDIR}/wizard1.lev
|
||||
${GAMEDIR}/wizard2.lev
|
||||
${GAMEDIR}/wizard3.lev
|
||||
${GAMEDIR}/wizhelp
|
||||
@man man/man6/nethack.6
|
||||
@man man/man6/recover.6
|
||||
@unexec rm -rf ${GAMEDIR}/save/*
|
||||
|
Loading…
Reference in New Issue
Block a user