diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-28 12:46:20 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-03-28 12:46:20 +0000 |
commit | 097b78a84f3c398e015c0c45c1a63f8a49015f3e (patch) | |
tree | 8f811950d1bc94917f574a2eca6136718f124ea5 /math/wmcalc | |
parent | 8d3d318a697574abc0eed62d53a56f2a8d2cc8af (diff) | |
download | ports-097b78a84f3c398e015c0c45c1a63f8a49015f3e.tar.gz ports-097b78a84f3c398e015c0c45c1a63f8a49015f3e.zip |
Notes
Diffstat (limited to 'math/wmcalc')
-rw-r--r-- | math/wmcalc/Makefile | 24 | ||||
-rw-r--r-- | math/wmcalc/distinfo | 1 | ||||
-rw-r--r-- | math/wmcalc/files/patch-aa | 23 | ||||
-rw-r--r-- | math/wmcalc/files/patch-ab | 19 | ||||
-rw-r--r-- | math/wmcalc/pkg-comment | 1 | ||||
-rw-r--r-- | math/wmcalc/pkg-descr | 6 | ||||
-rw-r--r-- | math/wmcalc/pkg-plist | 1 |
7 files changed, 75 insertions, 0 deletions
diff --git a/math/wmcalc/Makefile b/math/wmcalc/Makefile new file mode 100644 index 000000000000..49df13c22e46 --- /dev/null +++ b/math/wmcalc/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: wmcalc +# Version required: 0.1 +# Date created: 28 March 2000 +# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= wmcalc-0.1 +CATEGORIES= math windowmaker +MASTER_SITES= http://members.access1.net/ehflora/wmcalc/ + +MAINTAINER= jedgar@FreeBSD.org + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm + +ALL_TARGET= wmcalc +USE_X_PREFIX= yes +WRKSRC= ${WRKDIR}/wmcalc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wmcalc ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/math/wmcalc/distinfo b/math/wmcalc/distinfo new file mode 100644 index 000000000000..0c1fe7de2089 --- /dev/null +++ b/math/wmcalc/distinfo @@ -0,0 +1 @@ +MD5 (wmcalc-0.1.tar.gz) = a4f5e639e115b2c20c8ee604cc0ce449 diff --git a/math/wmcalc/files/patch-aa b/math/wmcalc/files/patch-aa new file mode 100644 index 000000000000..2f8ed9499ec6 --- /dev/null +++ b/math/wmcalc/files/patch-aa @@ -0,0 +1,23 @@ +--- Makefile.orig Sat Nov 27 01:40:16 1999 ++++ Makefile Tue Mar 28 07:35:20 2000 +@@ -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 +-LIBS = -lX11 -lXpm -lXext ++INCLUDES=-I${PREFIX}/include ++LIBINC=-L${PREFIX}/lib ++LIBS = -lX11 -lXpm -lXext -lm + + TARGET = wmcalc + OBJECTS = wmcalc.o readln.o wmcalcswitch.o wmcalcfunc.o + + .c.o: +- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o ++ gcc ${CFLAGS} -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o + + ${TARGET}: ${OBJECTS} +- gcc -O2 -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} ++ gcc ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} + + clean:: + for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done diff --git a/math/wmcalc/files/patch-ab b/math/wmcalc/files/patch-ab new file mode 100644 index 000000000000..a6f890165301 --- /dev/null +++ b/math/wmcalc/files/patch-ab @@ -0,0 +1,19 @@ +--- wmcalc.c.orig Mon Dec 20 00:17:29 1999 ++++ wmcalc.c Tue Mar 28 07:34:28 2000 +@@ -10,11 +10,11 @@ + * development of wmbutton. I'm listing them here partially as thanks for + * helping out, catching bugs in the code, etc. + ***********************************************************************/ +-#include <Xlib.h> +-#include <Xutil.h> +-#include <xpm.h> +-#include <extensions/shape.h> +-#include <keysym.h> ++#include <X11/Xlib.h> ++#include <X11/Xutil.h> ++#include <X11/xpm.h> ++#include <X11/extensions/shape.h> ++#include <X11/keysym.h> + #include <stdio.h> + #include <math.h> + #include <stdlib.h> diff --git a/math/wmcalc/pkg-comment b/math/wmcalc/pkg-comment new file mode 100644 index 000000000000..a87388cd7702 --- /dev/null +++ b/math/wmcalc/pkg-comment @@ -0,0 +1 @@ +Simple dockable calculator diff --git a/math/wmcalc/pkg-descr b/math/wmcalc/pkg-descr new file mode 100644 index 000000000000..293a992bf338 --- /dev/null +++ b/math/wmcalc/pkg-descr @@ -0,0 +1,6 @@ +Simple dockable calculator + +WWW: http://members.access1.net/ehflora/ + +- Chris D. Faulhaber + <jedgar@FreeBSD.org> diff --git a/math/wmcalc/pkg-plist b/math/wmcalc/pkg-plist new file mode 100644 index 000000000000..659d915e7957 --- /dev/null +++ b/math/wmcalc/pkg-plist @@ -0,0 +1 @@ +bin/wmcalc |