pkgsrc/games/ularn/Makefile

31 lines
890 B
Makefile

# $NetBSD: Makefile,v 1.5 2003/03/29 12:41:09 jmmv Exp $
DISTNAME= ularn
PKGNAME= ularn-6.12.92
WRKSRC= ${WRKDIR}
CATEGORIES= games
MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/larn/
MAINTAINER= collver1@attbi.com
HOMEPAGE= http://www.win.tue.nl/games/roguelike/larn/
COMMENT= fantasy roguelike game based on vintage larn
HAS_CONFIGURE= # defined
CONFIGURE_ENV+= PREFIX=${LOCALBASE}
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -d
pre-configure:
${MV} ${WRKSRC}/Configure ${WRKSRC}/Configure.template
${SED} 's:XXXLIBDIRXXX:${LOCALBASE}/share/Ularn:;\
s:XXXBINDIRXXX:${LOCALBASE}/bin:' \
<${WRKSRC}/Configure.template \
>${WRKSRC}/Configure
${CHMOD} u+x ${WRKSRC}/Configure
post-install:
${CHGRP} games ${LOCALBASE}/bin/Ularn
${CHMOD} g+s ${LOCALBASE}/bin/Ularn
${CHMOD} g+w ${LOCALBASE}/share/Ularn
.include "../../mk/bsd.pkg.mk"