diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /graphics/gkrellkam | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-graphics-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-graphics-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-graphics-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Diffstat (limited to 'graphics/gkrellkam')
-rw-r--r-- | graphics/gkrellkam/Makefile | 8 | ||||
-rw-r--r-- | graphics/gkrellkam/files/patch-Makefile | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/graphics/gkrellkam/Makefile b/graphics/gkrellkam/Makefile index a4203275636..f704d5ae785 100644 --- a/graphics/gkrellkam/Makefile +++ b/graphics/gkrellkam/Makefile @@ -7,22 +7,20 @@ PORTNAME= gkrellkam PORTVERSION= 0.3.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GKrellM plugin that display thumbnails of periodically updated images -BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm NO_LATEST_LINK= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} -USE_X_PREFIX= yes USE_GNOME= imlib USE_GMAKE= yes diff --git a/graphics/gkrellkam/files/patch-Makefile b/graphics/gkrellkam/files/patch-Makefile index f6374642bcf..7c9e04268eb 100644 --- a/graphics/gkrellkam/files/patch-Makefile +++ b/graphics/gkrellkam/files/patch-Makefile @@ -10,7 +10,7 @@ -CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS) +GTKFLAGS = `${GTK_CONFIG} --cflags` +IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk` -+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${X11BASE}/include/gkrellm ++CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${LOCALBASE}/include/gkrellm LDFLAGS := -shared -Wl INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins |