# New ports collection makefile for: jumpnbump # Date created: 23 September 2002 # Whom: Alessandro Gatti # # $FreeBSD$ # PORTNAME=jumpnbump PORTVERSION=1.40 PORTREVISION=0 CATEGORIES=games MASTER_SITES=http://www.jumpbump.mine.nu/port/ \ http://www.vlaadworld.net/jumpnbump/ \ http://jumpnbump.linuxsys.de/ MAINTAINER=gurkan@linuks.mine.nu LIB_DEPENDS=SDL-1.1.4:${PORTSDIR}/devel/sdl12 LIB_DEPENDS+=SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer .if defined (WITH_NETWORK) LIB_DEPENDS+=SDL_net.0:${PORTSDIR}/net/sdl_net .endif .if !defined (WITHOUT_TCL) LIB_DEPENDS+=tk80.1:${PORTSDIR}/x11-toolkits/tk80 .endif MAN6=jumpnbump.6 MANCOMPRESSED=yes USE_REINPLACE=yes pre-everything: @${CAT} ${PKGMESSAGE} @sleep 3 post-patch: .if !defined(NOPORTDOCS) rman ${WRKSRC}/jumpnbump.6 -f HTML > ${WRKSRC}/jumpnbump.html .endif @gzip -9 ${WRKSRC}/jumpnbump.6 .if !defined(WITHOUT_TCL) PLIST := ${WRKDIR}/PLIST pre-install: .if !defined(WITHOUT_TCL) @${ECHO_MSG} "games/jnbmenu.tcl" >> ${PLIST} .endif @${CAT} ${PKGDIR}/pkg-plist >> ${PLIST} .endif do-install: ${MKDIR} ${PREFIX}/games ${INSTALL_PROGRAM} ${WRKSRC}/jumpnbump ${PREFIX}/games/ ${INSTALL_PROGRAM} ${WRKSRC}/gobpack ${PREFIX}/games/ ${INSTALL_PROGRAM} ${WRKSRC}/jnbpack ${PREFIX}/games/ ${INSTALL_PROGRAM} ${WRKSRC}/jnbunpack ${PREFIX}/games/ ${INSTALL_SCRIPT} ${WRKSRC}/jumpnbump.svgalib ${PREFIX}/games/ ${INSTALL_SCRIPT} ${WRKSRC}/jumpnbump.fbcon ${PREFIX}/games/ ${MKDIR} ${PREFIX}/share/jumpnbump/ ${INSTALL_DATA} ${WRKSRC}/data/jumpbump.dat ${PREFIX}/share/jumpnbump/ ${INSTALL_MAN} ${WRKSRC}/jumpnbump.6.gz ${MANPREFIX}/man/man6/ .if !defined(WITHOUT_TCL) ${INSTALL_SCRIPT} ${WRKSRC}/jnbmenu.tcl ${PREFIX}/games/ .endif .if !defined(NOPORTDOCS) post-install: ${MKDIR} ${PREFIX}/share/doc/jumpnbump/ ${INSTALL_MAN} ${WRKSRC}/jumpnbump.html ${PREFIX}/share/doc/jumpnbump/ ${INSTALL_MAN} ${WRKSRC}/levelmaking/* ${PREFIX}/share/doc/jumpnbump/ ${MV} ${PREFIX}/share/doc/jumpnbump/jumpnbump_levelmaking.htm ${PREFIX}/share/doc/jumpnbump/levelmaking.html .endif .include