[Midnightbsd-cvs] mports: bsd.ggz.mk: add bsd.ggz.mk, this may move to extensions if it is

ctriv at midnightbsd.org ctriv at midnightbsd.org
Sun Jan 4 23:58:57 EST 2009


Log Message:
-----------
add bsd.ggz.mk, this may move to extensions if it is used by more ports.

Added Files:
-----------
    mports/games/libggz:
        bsd.ggz.mk (r1.1)

-------------- next part --------------
--- /dev/null
+++ games/libggz/bsd.ggz.mk
@@ -0,0 +1,29 @@
+# $FreeBSD: ports/games/libggz/bsd.ggz.mk,v 1.2 2008/03/14 06:45:55 rafan Exp $
+
+# common settings
+
+GGZ_VERSION=	0.0.14.1
+
+MASTER_SITES=	\
+	http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
+	http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
+MASTER_SITE_SUBDIR=	${PORTVERSION}
+DIST_SUBDIR=	ggz
+
+# components section
+
+_USE_GGZ_ALL=	core client
+
+core_LIB_DEPENDS=	ggz.5:${PORTSDIR}/games/libggz
+
+client_LIB_DEPENDS=	ggzcore.9:${PORTSDIR}/games/ggz-client-libs
+
+.for component in ${USE_GGZ}
+LIB_DEPENDS+=	${${component}_LIB_DEPENDS}
+. endfor
+
+.for component in ${USE_GGZ}
+. if ${_USE_GGZ_ALL:M${component}}==""
+IGNORE=	cannot install: Unknown component ${component}
+. endif
+.endfor


More information about the Midnightbsd-cvs mailing list