Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 12:10:49 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334477 - head/games/openalchemist
Message-ID:  <201311211210.rALCAngF076636@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Thu Nov 21 12:10:49 2013
New Revision: 334477
URL: http://svnweb.freebsd.org/changeset/ports/334477

Log:
  - Enable staging
  - Use new LIB_DEPENDS format
  - Update USES
  - Fix shebang of openalchemist-config using shebangfix
  - Always stage documentation

Modified:
  head/games/openalchemist/Makefile

Modified: head/games/openalchemist/Makefile
==============================================================================
--- head/games/openalchemist/Makefile	Thu Nov 21 12:06:37 2013	(r334476)
+++ head/games/openalchemist/Makefile	Thu Nov 21 12:10:49 2013	(r334477)
@@ -17,14 +17,10 @@ LICENSE_NAME_CCbySA=	Creative Commons At
 LICENSE_FILE_CCbySA=	${WRKSRC}/GRAPHICS-LICENSE
 LICENSE_PERMS_CCbySA=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-.if defined(.PARSEDIR)
-USE_GMAKE=	yes
-.endif
-
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS=	clanCore:${PORTSDIR}/devel/clanlib1 \
-	jpeg:${PORTSDIR}/graphics/jpeg \
-	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libclanCore.so:${PORTSDIR}/devel/clanlib1 \
+	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+	libpng15.so:${PORTSDIR}/graphics/png
 
 USE_AUTOTOOLS=	aclocal automake autoconf
 # Necessary to find pkg.m4 (PKG_CHECK_MODULES)
@@ -36,25 +32,22 @@ USE_GNOME=	pygtk2
 USE_XORG=	xxf86vm xi x11 xmu xext xdamage xfixes xau xdmcp xt sm ice
 USE_GL=		gl glu
 USE_SDL=	sdl gfx
-USES=		pkgconfig iconv
+USES=		pkgconfig iconv shebangfix
+SHEBANG_FILES=	openalchemist-config
 
-PORTDOCS=	AUTHORS ChangeLog README TODO
+.if defined(.PARSEDIR)
+USES+=	gmake
+.endif
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PORTDOCS=	AUTHORS ChangeLog README TODO
 
 post-patch:
 	@${REINPLACE_CMD} -E -e 's|0.8|1.0|g' -e 's|^%|#|g' ${WRKSRC}/configure.ac
 	@${REINPLACE_CMD} -E -e 's|0.8|1.0|g' ${WRKSRC}/build/Makefile.am
 	@${REINPLACE_CMD} -E -e 's|^dist_pkgdata_DATA =.*|dist_pkgdata_DATA = data/* skins/aqua.zip skins/brushed.zip skins/vectoriel.zip|g' ${WRKSRC}/Makefile.am
-	@${REINPLACE_CMD} -E -e 's|^#!/usr/bin/python|#!${LOCALBASE}/bin/python|g' ${WRKSRC}/openalchemist-config
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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