mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
New port gkrellmaflag version 0.1: A GKrellM Plugin that displays
a waving American flag PR: 30832 Submitted by: Patrick Li <pat@databits.net>
This commit is contained in:
parent
39a05c0a49
commit
ffa3edaae5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48200
@ -67,6 +67,7 @@
|
||||
SUBDIR += gctpc
|
||||
SUBDIR += geekcode
|
||||
SUBDIR += git
|
||||
SUBDIR += gkrellmaflag
|
||||
SUBDIR += gkrellscore
|
||||
SUBDIR += gkrellweather
|
||||
SUBDIR += gman
|
||||
|
32
misc/gkrellmaflag/Makefile
Normal file
32
misc/gkrellmaflag/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: gkrellmaflag
|
||||
# Date Created: Tue Sep 25 20:01:10 EDT 2001
|
||||
# Whom: Patrick Li <pat@databits.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= aflag
|
||||
PORTVERSION= 0.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.geocities.com/saintdead/
|
||||
PKGNAMEPREFIX= gkrellm
|
||||
DISTNAME= ${PORTNAME}_anim-${PORTVERSION}
|
||||
|
||||
MAINTAINER= pat@databits.net
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
|
||||
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_X_PREFIX= yes
|
||||
USE_GTK= yes
|
||||
USE_IMLIB= yes
|
||||
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
|
||||
ALL_TARGET= ${PORTNAME}_anim.so
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}_anim.so \
|
||||
${PREFIX}/libexec/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
1
misc/gkrellmaflag/distinfo
Normal file
1
misc/gkrellmaflag/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (aflag_anim-0.1.tar.gz) = 9418c060326d1a7cb1ff7e4b9e12461a
|
32
misc/gkrellmaflag/files/patch-Makefile
Normal file
32
misc/gkrellmaflag/files/patch-Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
--- Makefile.orig Tue Sep 25 20:07:08 2001
|
||||
+++ Makefile Tue Sep 25 20:13:38 2001
|
||||
@@ -1,21 +1,20 @@
|
||||
-GTK_INCLUDE = `gtk-config --cflags`
|
||||
-GTK_LIB = `gtk-config --libs`
|
||||
+GTK_INCLUDE = `${GTK_CONFIG} --cflags`
|
||||
+GTK_LIB = `${GTK_CONFIG} --libs`
|
||||
|
||||
-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
|
||||
-IMLIB_LIB = `imlib-config --libs-gdk`
|
||||
-THREAD_LIB = -lpthread
|
||||
+IMLIB_INCLUDE = `${IMLIB_CONFIG} --cflags-gdk`
|
||||
+IMLIB_LIB = `${IMLIB_CONFIG} --libs-gdk`
|
||||
INSTALLDIR = $(HOME)/.gkrellm/plugins
|
||||
|
||||
|
||||
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE)
|
||||
-LIBS = $(GTK_LIB) $(IMLIB_LIB) $(THREAD_LIB)
|
||||
+CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) ${PTHREAD_CFLAGS}
|
||||
+LIBS = $(GTK_LIB) $(IMLIB_LIB) ${PTHREAD_LIBS}
|
||||
LFLAGS = -shared
|
||||
|
||||
-CC = gcc $(CFLAGS) $(FLAGS)
|
||||
+CC += $(CFLAGS)
|
||||
|
||||
OBJS = aflag_anim.o
|
||||
|
||||
-earth_anim.so: $(OBJS)
|
||||
+aflag_anim.so: $(OBJS)
|
||||
$(CC) $(OBJS) -o aflag_anim.so $(LFLAGS) $(LIBS)
|
||||
|
||||
clean:
|
1
misc/gkrellmaflag/pkg-comment
Normal file
1
misc/gkrellmaflag/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A GKrellM Plugin that displays a waving American flag
|
4
misc/gkrellmaflag/pkg-descr
Normal file
4
misc/gkrellmaflag/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
A GKrellM Plugin that displays a waving American flag as a memorial
|
||||
for the victims of the 9-11 attacks
|
||||
|
||||
WWW: http://www.geocities.com/saintdead/earth_anim.html
|
1
misc/gkrellmaflag/pkg-plist
Normal file
1
misc/gkrellmaflag/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
libexec/gkrellm/plugins/aflag_anim.so
|
Loading…
Reference in New Issue
Block a user