aboutsummaryrefslogtreecommitdiff
path: root/mail/wmbiff
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>1999-11-20 00:57:08 +0000
committerJim Mock <jim@FreeBSD.org>1999-11-20 00:57:08 +0000
commit0c9594f251a249317ab65ece1f8d4a6ac6ebce5f (patch)
tree9e4dd0282bdec6d0533a644da38a6a4378cc8c33 /mail/wmbiff
parent494e25fd92c2bbdfd4b83b567870a6be7b282610 (diff)
downloadports-0c9594f251a249317ab65ece1f8d4a6ac6ebce5f.tar.gz
ports-0c9594f251a249317ab65ece1f8d4a6ac6ebce5f.zip
Notes
Diffstat (limited to 'mail/wmbiff')
-rw-r--r--mail/wmbiff/Makefile32
-rw-r--r--mail/wmbiff/distinfo1
-rw-r--r--mail/wmbiff/files/patch-aa44
-rw-r--r--mail/wmbiff/pkg-comment0
-rw-r--r--mail/wmbiff/pkg-descr0
-rw-r--r--mail/wmbiff/pkg-plist3
6 files changed, 80 insertions, 0 deletions
diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile
new file mode 100644
index 000000000000..f6d1eb3df3f3
--- /dev/null
+++ b/mail/wmbiff/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: wmbiff
+# Version required: 0.1a
+# Date created: 19 Nov 1999
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= wmbiff-0.1a
+CATEGORIES= mail windowmaker afterstep
+MASTER_SITES= http://ccat.elect.ru:8100/wmbiff/ \
+ http://www.freebsd.org/~jim/distfiles/
+
+MAINTAINER= jim@FreeBSD.org
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmbiff
+USE_X_PREFIX= yes
+
+pre-build:
+ @(cd ${WRKSRC} && ${GMAKE} clean)
+
+post-install:
+ @${ECHO} "===> Installing sample.wmbiffrc to ${PREFIX}/share/examples/wmbiff"
+ @${ECHO} "===> Modify it to suit your needs and copy to ~/.wmbiffrc"
+ @${MKDIR} ${PREFIX}/share/examples/wmbiff && ${CHMOD} a+rx ${PREFIX}/share/examples/wmbiff
+ @${INSTALL_DATA} ${WRKSRC}/sample.wmbiffrc ${PREFIX}/share/examples/wmbiff
+ @${CHMOD} 644 ${PREFIX}/share/examples/wmbiff/sample.wmbiffrc
+
+.include <bsd.port.mk>
diff --git a/mail/wmbiff/distinfo b/mail/wmbiff/distinfo
new file mode 100644
index 000000000000..44f3f4c6b23f
--- /dev/null
+++ b/mail/wmbiff/distinfo
@@ -0,0 +1 @@
+MD5 (wmbiff-0.1a.tar.gz) = 61ba5287cb03a37528449f48169bd19f
diff --git a/mail/wmbiff/files/patch-aa b/mail/wmbiff/files/patch-aa
new file mode 100644
index 000000000000..aab17f67b0af
--- /dev/null
+++ b/mail/wmbiff/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.orig Fri Nov 19 16:27:15 1999
++++ Makefile Fri Nov 19 16:30:36 1999
+@@ -1,9 +1,9 @@
+-prefix=
+-BIN=/usr/X11R6/bin
+-CONF=/etc
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS = -c -Wall
++CONF = ${X11BASE}/etc
++LIBDIR = -L${X11BASE}/lib
++INCLUDES = -I${X11BASE}/include
+ LIBS = -lXpm -lXext -lX11
+-FLAGS = -O2
+ OBJS = wmbiff.o \
+ ../wmgeneral/wmgeneral.o \
+ ../wmgeneral/misc.o \
+@@ -11,11 +11,10 @@
+
+
+ .c.o:
+- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
++ ${CC} ${CFLAGS} ${INCLUDES} $< -o $*.o
+
+ wmbiff: $(OBJS)
+- cc $(FLAGS) -o wmbiff $^ $(LIBDIR) $(LIBS)
+- strip -s wmbiff
++ ${CC} -o wmbiff $^ ${LIBDIR} ${LIBS}
+
+ all:: wmbiff
+
+@@ -26,11 +25,4 @@
+ rm -f wmbiff *~
+
+ install:: wmbiff
+- cp -f wmbiff $(prefix)$(BIN)/
+- chmod 755 $(prefix)$(BIN)/wmbiff
+- strip -s $(prefix)$(BIN)/wmbiff
+-# chown root:root $(prefix)$(BIN)/wminet
+-# cp wminetrc $(HOME)/.wminetrc
+-# chmod 600 $(HOME)/.wminetrc
+-# cp wmbiffrc $(prefix)$(CONF)/wmbiffrc
+-# chmod 644 $(prefix)$(CONF)/wmbiffrc
++ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbiff ${X11BASE}/bin/wmbiff
diff --git a/mail/wmbiff/pkg-comment b/mail/wmbiff/pkg-comment
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/mail/wmbiff/pkg-comment
diff --git a/mail/wmbiff/pkg-descr b/mail/wmbiff/pkg-descr
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/mail/wmbiff/pkg-descr
diff --git a/mail/wmbiff/pkg-plist b/mail/wmbiff/pkg-plist
new file mode 100644
index 000000000000..6286e7337a2d
--- /dev/null
+++ b/mail/wmbiff/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmbiff
+share/examples/wmbiff/sample.wmbiffrc
+@dirrm share/examples/wmbiff