summaryrefslogtreecommitdiff
path: root/math/wmcalc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /math/wmcalc
parentUpdate to version 2.2.6 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=211584
Diffstat (limited to 'math/wmcalc')
-rw-r--r--math/wmcalc/Makefile5
-rw-r--r--math/wmcalc/files/patch-aa4
2 files changed, 4 insertions, 5 deletions
diff --git a/math/wmcalc/Makefile b/math/wmcalc/Makefile
index bdd780a1e6dd..4548fd7e1cb7 100644
--- a/math/wmcalc/Makefile
+++ b/math/wmcalc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wmcalc
PORTVERSION= 0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math windowmaker
MASTER_SITES= http://members.cox.net/ehf_dockapps/wmcalc/ \
${MASTER_SITE_LOCAL}
@@ -18,8 +18,7 @@ COMMENT= Simple dockable calculator
ALL_TARGET= clean wmcalc
PLIST_FILES= bin/wmcalc
-USE_X_PREFIX= yes
-USE_XPM= yes
+USE_XORG= xpm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmcalc ${PREFIX}/bin
diff --git a/math/wmcalc/files/patch-aa b/math/wmcalc/files/patch-aa
index 81c8b6c074ae..115d5bd45601 100644
--- a/math/wmcalc/files/patch-aa
+++ b/math/wmcalc/files/patch-aa
@@ -3,8 +3,8 @@
@@ -1,15 +1,15 @@
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
-+INCLUDES =-I${X11BASE}/include -I${X11BASE}/include/X11
-+LIBINC =-L${X11BASE}/lib
++INCLUDES =-I${LOCALBASE}/include -I${LOCALBASE}/include/X11
++LIBINC =-L${LOCALBASE}/lib
LIBS = -lX11 -lXpm -lXext -lm
TARGET = wmcalc