1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add LICENSE (LGPL20)

Convert knobs to options
Convert to USES=localbase
Specifically disable SDL or it will not build when SDL is installed
Simplify BROKEN
Add missing file to pkg-plist
Regenerate/rename patches
Bump PORTREVISION
This commit is contained in:
Jason E. Hale 2016-11-06 13:27:16 +00:00
parent 8d525b3e14
commit 7d12c1c7d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425490
3 changed files with 17 additions and 23 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= goom
PORTVERSION= 2k4.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2k4/0
DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|-|}-src
@ -11,33 +11,26 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|-|}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Visual effects library
LICENSE= LGPL20
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S|.|-|}
USES= pathfix libtool
USES= pathfix libtool localbase
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-sdltest --enable-static
CONFIGURE_ENV= ac_cv_path_SDL_CONFIG="no"
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
.if exists(${X11R6}/bin/xmms) || defined(WITH_XMMS)
LIB_DEPENDS+= libxmms.so:multimedia/xmms
PLIST_SUB+= XMMS=""
.else
PLIST_SUB+= XMMS="@comment "
.endif
BROKEN_powerpc= Does not build
pre-everything::
.if !defined(WITH_XMMS)
@${ECHO} ""
@${ECHO} "Define WITH_XMMS to build goom xmms visualization plugin"
@${ECHO} ""
.endif
OPTIONS_DEFINE= XMMS
OPTIONS_SUB= yes
.include <bsd.port.pre.mk>
XMMS_DESC= Build XMMS visualization plugin
XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms
XMMS_USES= gettext-runtime
XMMS_USE= GNOME=glib12,gtk12 \
XORG=x11,xext,xi
XMMS_CONFIGURE_ENV_OFF= ac_cv_path_XMMS_CONFIG="no"
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
--- src/mmx.h.orig
--- src/mmx.h.orig 2005-02-07 13:46:41 UTC
+++ src/mmx.h
@@ -715,13 +715,13 @@ void zoom_filter_xmmx (int prevX, int pr
{ \

View File

@ -15,4 +15,5 @@ lib/libgoom2.so
lib/libgoom2.so.0
lib/libgoom2.so.0.0.0
libdata/pkgconfig/libgoom2.pc
%%XMMS%%lib/xmms/Visualization/libxmmsgoom2.a
%%XMMS%%lib/xmms/Visualization/libxmmsgoom2.so