diff options
author | yuri <yuri@FreeBSD.org> | 2018-07-29 12:21:34 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-07-29 12:21:34 +0800 |
commit | b3a0d3726da1d2830c403a391e3fe51541414b92 (patch) | |
tree | 1eaea77e13854c4449ed66f518bed84dd4b56524 /games/childsplay/Makefile | |
parent | c1bde560d17281edad529c9a548bebe5b0faf131 (diff) | |
download | freebsd-ports-gnome-b3a0d3726da1d2830c403a391e3fe51541414b92.tar.gz freebsd-ports-gnome-b3a0d3726da1d2830c403a391e3fe51541414b92.tar.zst freebsd-ports-gnome-b3a0d3726da1d2830c403a391e3fe51541414b92.zip |
games/childsplay: Update 2.6.5 -> 3.3
Port changes:
* Use DISTVERSION
* Order USExx
* Remove post-patch
* Add NO_ARCH
PR: 230115
Submitted by: Nathan <ndowens.fbsd@yandex.com>
Diffstat (limited to 'games/childsplay/Makefile')
-rw-r--r-- | games/childsplay/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile index 9ad1f1d5ec25..79a1b93b4a19 100644 --- a/games/childsplay/Makefile +++ b/games/childsplay/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= childsplay -PORTVERSION= 2.6.5 -PORTREVISION= 4 +DISTVERSION= 3.3 CATEGORIES= games MASTER_SITES= SAVANNAH @@ -17,13 +16,13 @@ BUILD_DEPENDS= ${PYGAME} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \ ${PYGAME} -NO_BUILD= yes - USES= gettext shebangfix tar:tgz python:2.7 USE_GNOME= pygtk2 +NO_BUILD= yes +NO_ARCH= yes SHEBANG_FILES= childsplay.py -.for i in buttons funcs text dialogs gtk_widgets base +.for i in buttons funcs text dialogs base SHEBANG_FILES+= SPWidgets/$i.py .endfor @@ -31,12 +30,6 @@ DESKTOP_ENTRIES="Childsplay" "" "" "${PORTNAME}" "Game;Education;" "" CHILDSPLAYDIR= ${PYTHONPREFIX_SITELIBDIR}/childsplay -post-patch: - @${REINPLACE_CMD} -e \ - '/NoGtk/s|True|False|' ${WRKSRC}/SPConstants.py - @${REINPLACE_CMD} -e \ - 's|/usr/local|${PREFIX}|' ${WRKSRC}/pangofont.py - do-configure: @${ECHO_CMD} "#!${SH}" > ${WRKDIR}/childsplay.sh @${ECHO_CMD} >> ${WRKDIR}/childsplay.sh @@ -49,11 +42,11 @@ do-install: ${STAGEDIR}${PREFIX}/bin/childsplay @${MKDIR} ${STAGEDIR}${CHILDSPLAYDIR} ${INSTALL_DATA} ${WRKSRC}/*.py ${STAGEDIR}${CHILDSPLAYDIR} - (cd ${WRKSRC} && ${COPYTREE_SHARE} "SPWidgets alphabetsounds lib" \ - ${STAGEDIR}${CHILDSPLAYDIR}) - (cd ${WRKSRC} && ${COPYTREE_SHARE} locale ${STAGEDIR}${PREFIX}/share) + cd ${WRKSRC} && ${COPYTREE_SHARE} "SPWidgets alphabet-sounds lib" \ + ${STAGEDIR}${CHILDSPLAYDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} locale ${STAGEDIR}${PREFIX}/share ${INSTALL_DATA} ${WRKSRC}/sp_content.db ${STAGEDIR}${CHILDSPLAYDIR} - (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ - -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) + cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ + -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} .include <bsd.port.mk> |