aboutsummaryrefslogtreecommitdiff
path: root/x11/deskmenu
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-06 17:07:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-06 17:07:00 +0000
commit334047646ac1d3a8c25b3292d7002dfdc238c085 (patch)
treed9a6ad32c1a37dfe6afb7842a5fdb9527cdd295b /x11/deskmenu
parent0e8e0bf6519fd1b1548d209c805196c7929e0ec2 (diff)
downloadports-334047646ac1d3a8c25b3292d7002dfdc238c085.tar.gz
ports-334047646ac1d3a8c25b3292d7002dfdc238c085.zip
Notes
Diffstat (limited to 'x11/deskmenu')
-rw-r--r--x11/deskmenu/Makefile9
-rw-r--r--x11/deskmenu/files/patch-Makefile2
2 files changed, 4 insertions, 7 deletions
diff --git a/x11/deskmenu/Makefile b/x11/deskmenu/Makefile
index 092b4d961359..1514a06d9f98 100644
--- a/x11/deskmenu/Makefile
+++ b/x11/deskmenu/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: deskmenu
-# Date created: 17 February 2002
-# Whom: Matt Peterson <matt@peterson.org>
-#
+# Created by: Matt Peterson <matt@peterson.org>
# $FreeBSD$
-#
PORTNAME= deskmenu
PORTVERSION= 1.3.0
@@ -16,8 +12,9 @@ MAINTAINER= matt@peterson.org
COMMENT= X11 application launcher
PLIST_FILES= bin/deskmenu
+USES= gmake
USE_GNOME= gtk12
-USE_GMAKE= yes
+USE_CSTD= gnu89
post-install:
${STRIP_CMD} ${PREFIX}/bin/deskmenu
diff --git a/x11/deskmenu/files/patch-Makefile b/x11/deskmenu/files/patch-Makefile
index 573a7cf09ff9..51243cf6b1f8 100644
--- a/x11/deskmenu/files/patch-Makefile
+++ b/x11/deskmenu/files/patch-Makefile
@@ -4,7 +4,7 @@
-CC = gcc
-CFLAGS = -g -O2 -Wall `gtk-config --cflags`
-XROOT = /usr/X11
-+CFLAGS = -g -O2 -Wall `gtk12-config --cflags`
++CFLAGS += -g -O2 -Wall `gtk12-config --cflags`
+XROOT = ${LOCALBASE}
INCLUDES = -I$(XROOT)/include
-LIBS = -lX11 `gtk-config --libs`