diff options
Diffstat (limited to 'games/fishsupper/Makefile')
-rw-r--r-- | games/fishsupper/Makefile | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile index a1eafa68806a..786045faba17 100644 --- a/games/fishsupper/Makefile +++ b/games/fishsupper/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fishsupper -PORTVERSION= 0.1.3 +PORTVERSION= 0.1.4 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,35 +14,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= amdmi3@mail.ru COMMENT= Guide a cat across a series of rivers, jumping from log to log +GNU_CONFIGURE= yes USE_GMAKE= yes USE_SDL= sdl image mixer USE_GCC= 3.4+ -ALL_TARGET= fishsupper -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -BUILD_WRKSRC= ${WRKSRC}/src +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" PORTDOCS= README -post-patch: - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's|g++|${CXX} ${CXXFLAGS}|' ${WRKSRC}/src/Makefile - @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/getreadydisplay.cc \ - ${WRKSRC}/src/playdisplay.cc ${WRKSRC}/src/playmodel.cc \ - ${WRKSRC}/src/soundengine.cc ${WRKSRC}/src/titlescreendisplay.cc \ - ${WRKSRC}/src/highscoresdisplay.cc ${WRKSRC}/src/settingsdisplay.cc - @${REINPLACE_CMD} -e '/filename/ s|\[[0-9][0-9]*\]|[1024]|' ${WRKSRC}/src/playdisplay.cc \ - ${WRKSRC}/src/playmodel.cc - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fishsupper ${PREFIX}/bin - ${MKDIR} ${DATADIR}/images/settings ${DATADIR}/levels ${DATADIR}/sounds - ${INSTALL_DATA} ${WRKSRC}/data/images/*.png ${DATADIR}/images/ - ${INSTALL_DATA} ${WRKSRC}/data/images/settings/* ${DATADIR}/images/settings/ - ${INSTALL_DATA} ${WRKSRC}/data/levels/* ${DATADIR}/levels/ - ${INSTALL_DATA} ${WRKSRC}/data/sounds/* ${DATADIR}/sounds/ - .if !defined(NOPORTDOCS) +post-install: ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |