mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
318dc14206
- Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
PORTNAME= memonix
|
|
PORTVERSION= 1.6.070713
|
|
PORTREVISION= 12
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.viewizard.com/download/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
DISTNAME= MemonixSourceCode_${PORTVERSION:S/./_/g:S/_/./}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} memx16.tar.gz
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Brain teasers, puzzle, and memory games for kids in one pack
|
|
WWW= https://www.viewizard.com/
|
|
|
|
LICENSE= unknown GPLv2
|
|
LICENSE_COMB= dual
|
|
LICENSE_NAME_unknown= Freeware License
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/License.txt
|
|
LICENSE_FILE_unknown= ${WRKDIR}/Memonix/License
|
|
LICENSE_PERMS_unknown= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX}
|
|
LICENSE_DISTFILES_unknown= memx16.tar.gz
|
|
|
|
USES= cmake:insource gl sdl xorg zip
|
|
USE_CXXSTD= c++14
|
|
USE_GL= gl
|
|
USE_SDL= sdl mixer image
|
|
USE_XORG= x11 xext
|
|
|
|
WRKSRC= ${WRKDIR}/MemonixSourceCode
|
|
|
|
PLIST_FILES= bin/Memonix
|
|
PORTDATA= *
|
|
|
|
post-extract:
|
|
@${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/memx16.tar.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/strcpy(ProgrammDir,/ s|\./|${DATADIR}/|' \
|
|
${WRKSRC}/src/Main.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Memonix ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKDIR}/Memonix/gamedata.vfs ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|