Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 02:59:25 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332339 - head/games/deng
Message-ID:  <201311010259.rA12xPt1082548@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Nov  1 02:59:24 2013
New Revision: 332339
URL: http://svnweb.freebsd.org/changeset/ports/332339

Log:
  - Convert LIB_DEPENDS to new syntax
  - Add stage support

Modified:
  head/games/deng/Makefile
  head/games/deng/pkg-plist

Modified: head/games/deng/Makefile
==============================================================================
--- head/games/deng/Makefile	Fri Nov  1 02:50:40 2013	(r332338)
+++ head/games/deng/Makefile	Fri Nov  1 02:59:24 2013	(r332339)
@@ -12,8 +12,8 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Enhanced Doom, Heretic, and Hexen source port
 
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
-		png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
+		libpng15.so:${PORTSDIR}/graphics/png
 RUN_DEPENDS=	timidity:${PORTSDIR}/audio/timidity
 
 USE_GL=		gl glu
@@ -27,13 +27,10 @@ CFLAGS+=	-I${LOCALBASE}/include/libpng15
 CMAKE_ARGS+=	-DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--export-dynamic"
 LDFLAGS+=	-lm
 
-MAN6=		doomsday.6
-
 OPTIONS_DEFINE=	OPENAL DOCS
 OPTIONS_DEFAULT=	DOCS
 OPENAL_DESC=	Build OpenAL sound plugin
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MOPENAL}
@@ -52,13 +49,11 @@ post-patch:
 		${WRKSRC}/doomsday/CMakeLists.txt
 
 post-install:
-	@${LN} -s ${PREFIX}/bin/doomsday ${PREFIX}/bin/deng
-	${INSTALL_MAN} ${WRKSRC}/doomsday/engine/doc/doomsday.6 ${MANPREFIX}/man/man6/
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	${LN} -s doomsday ${STAGEDIR}${PREFIX}/bin/deng
+	${INSTALL_MAN} ${WRKSRC}/doomsday/engine/doc/doomsday.6 ${STAGEDIR}${MANPREFIX}/man/man6/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in LICENSE changelog.txt cnsname.txt cvars.txt deddoc.txt dhistory.txt naming.txt network.txt
-	${INSTALL_DATA} ${WRKSRC}/doomsday/engine/doc/${i} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/doomsday/engine/doc/${i} ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/deng/pkg-plist
==============================================================================
--- head/games/deng/pkg-plist	Fri Nov  1 02:50:40 2013	(r332338)
+++ head/games/deng/pkg-plist	Fri Nov  1 02:59:24 2013	(r332339)
@@ -1,5 +1,6 @@
 bin/deng
 bin/doomsday
+man/man6/doomsday.6.gz
 lib/libdpdehread.so
 lib/libdpwadmapconverter.so
 %%OPENAL%%lib/libdsopenal.so



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