svn commit: r374706 - head/games/worldofpadman

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Dec 14 15:23:56 UTC 2014


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 at 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:


More information about the svn-ports-all mailing list