Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2014 15:23:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374706 - head/games/worldofpadman
Message-ID:  <201412141523.sBEFNtha035253@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec 14 15:23:54 2014
New Revision: 374706
URL: https://svnweb.freebsd.org/changeset/ports/374706
QAT: https://qat.redports.org/buildarchive/r374706/

Log:
  - Switch NO_PACKAGE to more correct MANUAL_PACKAGE_BUILD
  - Switch to PLIST_FILES/PORTDOCS/PORTDATA which simplifies plist handling

Deleted:
  head/games/worldofpadman/pkg-plist
Modified:
  head/games/worldofpadman/Makefile

Modified: head/games/worldofpadman/Makefile
==============================================================================
--- head/games/worldofpadman/Makefile	Sun Dec 14 15:23:48 2014	(r374705)
+++ head/games/worldofpadman/Makefile	Sun Dec 14 15:23:54 2014	(r374706)
@@ -16,7 +16,7 @@ EXTRACT_ONLY=	worldofpadman.run \
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Open source FPS game inspired by the Padman comic strip
 
-NO_PACKAGE=	package will be ~600MB; set FORCE_PACKAGE if you really want it
+MANUAL_PACKAGE_BUILD=	huge (~600MB)
 
 USES=		gmake makeself
 MAKE_ENV=	DEFAULT_BASEDIR="${DATADIR}" PTHREAD_LIBS="${PTHREAD_LIBS}"
@@ -25,6 +25,10 @@ ALL_TARGET=	release
 SRC_FILE=	${PORTNAME}-${PORTVERSION}
 VM_ARCHS=	amd64 i386 powerpc
 
+PLIST_FILES=	share/pixmaps/worldofpadman.png
+PORTDOCS=	*
+PORTDATA=	*
+
 OPTIONS_DEFINE=		CURL CURL_DLOPEN GAMELIBS MP3 OPENAL OPENAL_DLOPEN \
 			OPTIMIZED_CFLAGS VORBIS DOCS
 OPTIONS_MULTI=		FLAVOR
@@ -83,11 +87,13 @@ MAKE_ENV+=	USE_CODEC_VORBIS=1
 .if ${PORT_OPTIONS:MCLIENT}
 MAKE_ENV+=	BUILD_CLIENT=1
 WOPBIN+=	wop
+PLIST_FILES+=	bin/worldofpadman
 .endif
 
 .if ${PORT_OPTIONS:MSERVER}
 MAKE_ENV+=	BUILD_SERVER=1
 WOPBIN+=	wopded
+PLIST_FILES+=	bin/worldofpadmanded
 .endif
 
 .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED)
@@ -106,6 +112,7 @@ MAKE_ENV+=	USE_OPTIMIZED_CFLAGS=1
 .if ${PORT_OPTIONS:MSMP_CLIENT}
 MAKE_ENV+=	BUILD_CLIENT_SMP=1
 WOPBIN+=	wop-smp
+PLIST_FILES+=	bin/worldofpadman-smp
 .endif
 
 post-extract:



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