diff options
author | mat <mat@FreeBSD.org> | 2016-07-04 21:23:57 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-07-04 21:23:57 +0800 |
commit | 3fbfa932b7ce4b21142f375cce847aefa23bd362 (patch) | |
tree | 05bb1855ae8d9e36bd7406211e2bc7bccdeb8230 /games | |
parent | 36f21ac597f43885eb8f6e04328339f3c1217c41 (diff) | |
download | freebsd-ports-gnome-3fbfa932b7ce4b21142f375cce847aefa23bd362.tar.gz freebsd-ports-gnome-3fbfa932b7ce4b21142f375cce847aefa23bd362.tar.zst freebsd-ports-gnome-3fbfa932b7ce4b21142f375cce847aefa23bd362.zip |
Update MASTER_SITES.
PR: 210791
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Diffstat (limited to 'games')
-rw-r--r-- | games/tuxmath/Makefile | 28 | ||||
-rw-r--r-- | games/tuxmath/distinfo | 8 |
2 files changed, 15 insertions, 21 deletions
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile index b34f239e289d..013a7b6bcaa1 100644 --- a/games/tuxmath/Makefile +++ b/games/tuxmath/Makefile @@ -6,18 +6,14 @@ PORTVERSION= 2.0.3 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= games -MASTER_SITES= http://alioth.debian.org/frs/download.php/3571/ \ - http://alioth.debian.org/frs/download.php/3540/:t4k_common -DISTFILES= ${PORTNAME}_w_fonts-${PORTVERSION}${EXTRACT_SUFX} \ +MASTER_SITES= DEBIAN_POOL \ + DEBIAN/pool/main/t/t4kcommon:t4k_common +DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} \ ${T4K_DISTFILE}:t4k_common MAINTAINER= ports@FreeBSD.org COMMENT= Educational arcade game starring Tux -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2016-07-04 - LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/COPYING_GPL3 @@ -25,19 +21,19 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_w_fonts-${PORTVERSION} USE_GNOME= libxml2 USE_SDL= image mixer net pango sdl -USES= iconv gmake perl5 pkgconfig +USES= gmake iconv localbase perl5 pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \ T4K_COMMON_LIBS="${T4K_WRKSRC}/src/.libs/libt4k_common.a" \ ac_cv_lib_m_csin=yes -CPPFLAGS+= $$(pkg-config --cflags SDL_Pango) -I${LOCALBASE}/include \ +CPPFLAGS+= $$(pkg-config --cflags SDL_Pango libpng) \ -DHAVE_ALPHASORT -DHAVE_SCANDIR -DHAVE_FSYNC -DICONV_CONST="" -LDFLAGS+= $$(pkg-config --libs SDL_Pango) -L${LOCALBASE}/lib ${ICONV_LIB} -lpng +LDFLAGS+= $$(pkg-config --libs SDL_Pango libpng) ${ICONV_LIB} T4K_NAME= t4k_common T4K_VERSION= 0.1.1 -T4K_DISTFILE= ${T4K_NAME}-${T4K_VERSION}${EXTRACT_SUFX} +T4K_DISTFILE= ${T4K_NAME:S/_//}_${T4K_VERSION}.orig${EXTRACT_SUFX} T4K_WRKSRC= ${WRKDIR}/${T4K_NAME}-${T4K_VERSION} OPTIONS_DEFINE= NLS SVG DOCS @@ -51,9 +47,6 @@ NLS_LDFLAGS= -lintl SVG_CONFIGURE_WITH= rsvg SVG_USE= GNOME=librsvg2 -# use multiple make jobs for T4K_WRKSRC -_make_jobs= -j${MAKE_JOBS_NUMBER} - post-extract: @${LN} -sf ${T4K_WRKSRC} ${WRKDIR}/${T4K_NAME} @@ -71,11 +64,12 @@ pre-configure: CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}") pre-build: - @(cd ${T4K_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ - ${MAKEFILE} ${_make_jobs} ${ALL_TARGET}) + @(cd ${T4K_WRKSRC} && ${DO_MAKE_BUILD} ${ALL_TARGET}) post-install: - ${LN} -s ${DATADIR}/images/status ${STAGEDIR}${DATADIR}/images/menu + ${LN} -s status ${STAGEDIR}${DATADIR}/images/menu + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in OFL README README_DATA_LICENSES TODO changelog ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} diff --git a/games/tuxmath/distinfo b/games/tuxmath/distinfo index 6aaccd5118dc..84a3ba85dff2 100644 --- a/games/tuxmath/distinfo +++ b/games/tuxmath/distinfo @@ -1,4 +1,4 @@ -SHA256 (tuxmath_w_fonts-2.0.3.tar.gz) = eec49c296d41df39a6474d94ba4e3334e4c16dc180d3ea4a6defc2debfc39887 -SIZE (tuxmath_w_fonts-2.0.3.tar.gz) = 10396696 -SHA256 (t4k_common-0.1.1.tar.gz) = 42c155816dae2c5dad560faa50edaa1ca84536530283d37859c4b91e82675110 -SIZE (t4k_common-0.1.1.tar.gz) = 629215 +SHA256 (tuxmath_2.0.3.orig.tar.gz) = eec49c296d41df39a6474d94ba4e3334e4c16dc180d3ea4a6defc2debfc39887 +SIZE (tuxmath_2.0.3.orig.tar.gz) = 10396696 +SHA256 (t4kcommon_0.1.1.orig.tar.gz) = 42c155816dae2c5dad560faa50edaa1ca84536530283d37859c4b91e82675110 +SIZE (t4kcommon_0.1.1.orig.tar.gz) = 629215 |