Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 05:04:10 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341801 - head/games/adgali
Message-ID:  <201401300504.s0U54Ai7041046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jan 30 05:04:10 2014
New Revision: 341801
URL: http://svnweb.freebsd.org/changeset/ports/341801
QAT: https://qat.redports.org/buildarchive/r341801/

Log:
  - Stagify, drop indefinite article from COMMENT, modernize LID_DEPENDS syntax
  - Remove the check for a long-time unsupported "alpha" architecture
  - Check if libexecinfo.so is available in the base; convert USE_GMAKE, etc.

Modified:
  head/games/adgali/Makefile

Modified: head/games/adgali/Makefile
==============================================================================
--- head/games/adgali/Makefile	Thu Jan 30 03:34:12 2014	(r341800)
+++ head/games/adgali/Makefile	Thu Jan 30 05:04:10 2014	(r341801)
@@ -1,4 +1,4 @@
-# Created by: ijliao
+# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	adgali
@@ -8,39 +8,33 @@ CATEGORIES=	games devel
 MASTER_SITES=	http://adgali.apiou.org/download/
 
 MAINTAINER=	gahr@FreeBSD.org
-COMMENT=	An open source game library useful for 2D game development
+COMMENT=	Open source game library useful for 2D game development
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		tiff.4:${PORTSDIR}/graphics/tiff \
-		freetype.9:${PORTSDIR}/print/freetype2 \
-		execinfo.1:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff \
+		libfreetype.so:${PORTSDIR}/print/freetype2
+.if !exists(/usr/include/execinfo.h)
+LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+.endif
 
+USES=		gmake
 USE_AUTOTOOLS=	libtool
 USE_BZIP2=	yes
+USE_LDCONFIG=	yes
 USE_SDL=	sdl
 USE_XORG=	xpm
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
 CONFIGURE_ARGS=	--enable-compile-optim=no
-USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "alpha"
-BROKEN=		Configure fails
-.endif
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
 
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/doc/html && ${FIND} . | \
-		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc/html && ${FIND} . | ${CPIO} -pdm -L -R \
+		${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401300504.s0U54Ai7041046>