da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
36 lines
939 B
Makefile
36 lines
939 B
Makefile
PORTNAME= nimuh
|
|
PORTVERSION= 1.02
|
|
PORTREVISION= 12
|
|
CATEGORIES= games education
|
|
MASTER_SITES= https://mirror.amdmi3.ru/distfiles/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Puzzle game destined to improve the knowledge of Andalusia
|
|
|
|
LICENSE= CC-BY-NC-SA-2.0
|
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2
|
|
|
|
USES= gl gmake localbase sdl
|
|
GNU_CONFIGURE= yes
|
|
USE_CXXSTD= c++98
|
|
USE_SDL= sdl image mixer
|
|
USE_GL= gl glu
|
|
|
|
DATA_WRKSRC= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDATA= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
|
|
|
|
post-configure:
|
|
@cd ${DATA_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}
|
|
|
|
post-install:
|
|
@cd ${DATA_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
|
|
|
|
.include <bsd.port.mk>
|