aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-06-26 02:32:58 +0800
committerwg <wg@FreeBSD.org>2013-06-26 02:32:58 +0800
commit69bcb374ae39298c0cb5a6819a996701569fd961 (patch)
tree9f1c8389e70e686212615fe9e7c50a1318842628
parentee53db840c8f7af63eaef79175bf022621c601e9 (diff)
downloadfreebsd-ports-gnome-69bcb374ae39298c0cb5a6819a996701569fd961.tar.gz
freebsd-ports-gnome-69bcb374ae39298c0cb5a6819a996701569fd961.tar.zst
freebsd-ports-gnome-69bcb374ae39298c0cb5a6819a996701569fd961.zip
games/epiar: fix build
- Use github [1] - Add DOCS option [1] - Fix build with USE_AUTOTOOLS PR: ports/179903 Submitted by: nemysis <nemysis@gmx.ch> [1] (maintainer)
-rw-r--r--games/epiar/Makefile19
-rw-r--r--games/epiar/distinfo4
-rw-r--r--games/epiar/pkg-descr1
3 files changed, 14 insertions, 10 deletions
diff --git a/games/epiar/Makefile b/games/epiar/Makefile
index 89723d644441..3c9f394d6e87 100644
--- a/games/epiar/Makefile
+++ b/games/epiar/Makefile
@@ -3,9 +3,9 @@
PORTNAME= epiar
PORTVERSION= 0.5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= http://epiar.net/files/epiar/releases/0.5/
+MASTER_SITES= GH
MAINTAINER= nemysis@gmx.ch
COMMENT= Space trading/exploring sim with RPG elements
@@ -21,20 +21,25 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
xml2:${PORTSDIR}/textproc/libxml2 \
physfs:${PORTSDIR}/devel/physfs
+USE_GITHUB= yes
+GH_ACCOUNT= knowknowledge
+GH_PROJECT= Epiar
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 44046e3
+
USES= pkgconfig
-USE_BZIP2= yes
USE_SDL= image mixer sdl
USE_GL= glu
+USE_AUTOTOOLS= aclocal autoheader automake autoconf
+AUTOMAKE_ARGS= --add-missing
+ACLOCAL_ARGS=
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= aclocal
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
PORTDOCS= AUTHORS ChangeLog README
-pre-configure:
- @${REINPLACE_CMD} -e 's|9.22|2.4|' ${WRKSRC}/configure.in
- @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh)
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
diff --git a/games/epiar/distinfo b/games/epiar/distinfo
index 9ec004015f8f..71ba62984e37 100644
--- a/games/epiar/distinfo
+++ b/games/epiar/distinfo
@@ -1,2 +1,2 @@
-SHA256 (epiar-0.5.1.tar.bz2) = d2ef0dc7cf841a33258683a98b24f8a6c27dc53458190372097827fcf352b072
-SIZE (epiar-0.5.1.tar.bz2) = 26291752
+SHA256 (epiar-0.5.1.tar.gz) = c9274ace5905ede50a55fc08375a0e6c30eca63aed233c8322ff37ebd31144cd
+SIZE (epiar-0.5.1.tar.gz) = 27529265
diff --git a/games/epiar/pkg-descr b/games/epiar/pkg-descr
index df07008a2531..87c6adb1ecf0 100644
--- a/games/epiar/pkg-descr
+++ b/games/epiar/pkg-descr
@@ -14,5 +14,4 @@ Other notable games of this genre include:
- Star Flight
- Solar Winds
-WWW: http://epiar.net/
WWW: https://github.com/knowknowledge/Epiar/