summaryrefslogtreecommitdiffstats
path: root/net/amsn/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-14 00:29:58 +0000
committerpav <pav@FreeBSD.org>2004-03-14 00:29:58 +0000
commitde9a3944040835adb6b977fd0f87aea8100ddee9 (patch)
treeba9d9af8d90556e0da2ca118299a5802d1b7ca70 /net/amsn/files
parentd242ab55b9ff787c87bc7a207e481dfc507a99e6 (diff)
downloadFreeBSD-ports-de9a3944040835adb6b977fd0f87aea8100ddee9.zip
FreeBSD-ports-de9a3944040835adb6b977fd0f87aea8100ddee9.tar.gz
- Update to 0.90
- Add ImageMagick dependency, it's used for picture and smiles functionality - Install KDE/GNOME traydock plugin - Correct a replacement of logo picture PR: ports/63249 Submitted by: Jie Gao <gaoj@cpsc.ucalgary.ca> Approved by: maintainer timeout (20 days)
Diffstat (limited to 'net/amsn/files')
-rw-r--r--net/amsn/files/Makefile.traydoc36
-rw-r--r--net/amsn/files/amsn2
2 files changed, 37 insertions, 1 deletions
diff --git a/net/amsn/files/Makefile.traydoc b/net/amsn/files/Makefile.traydoc
new file mode 100644
index 0000000..5545955
--- /dev/null
+++ b/net/amsn/files/Makefile.traydoc
@@ -0,0 +1,36 @@
+LOCALBASE = !!PREFIX!!
+X11BASE = !!X11BASE!!
+
+# The path to the tcl.h header file
+
+TCL_INCPATH = ${LOCALBASE}/include/tcl8.4
+
+# The path to the tk.h header file
+
+TK_INCPATH = ${LOCALBASE}/include/tk8.4
+
+# The path to the X11 include files
+
+XINCLUDES = -I${X11BASE}/include
+
+TCL_VERSION = @TCLVER@
+
+CC ?= cc -pipe
+
+INCLUDES = ${XINCLUDES} -I${TCL_INCPATH} -I${TK_INCPATH}
+
+CFLAGS += -O -fPIC ${INCLUDES}
+
+SHLIB_LD = ld -shared -x
+
+LIBSN = -lc -L${X11BASE}/lib -L${LOCALBASE}/lib -lX11 -lm -ltcl84${TCL_DBGX} -ltk84 -lImlib -ltiff -lungif -lpng -lz -lXext -lSM -lICE
+
+.PHONY : all
+
+all : libtray.so
+
+tray.o: tray.c
+ $(CC) -c $(CFLAGS) tray.c
+
+libtray.so: tray.o
+ ${SHLIB_LD} tray.o $(LIBSN) -o libtray.so
diff --git a/net/amsn/files/amsn b/net/amsn/files/amsn
index 4333dd3..1058809 100644
--- a/net/amsn/files/amsn
+++ b/net/amsn/files/amsn
@@ -1,3 +1,3 @@
#! /bin/sh
-!!PREFIX!!/lib/msn/amsn
+wish8.4 !!PREFIX!!/lib/msn/amsn
OpenPOWER on IntegriCloud