diff options
-rw-r--r-- | mail/wmpop3/Makefile | 46 | ||||
-rw-r--r-- | mail/wmpop3/distinfo | 1 | ||||
-rw-r--r-- | mail/wmpop3/files/patch-aa | 51 | ||||
-rw-r--r-- | mail/wmpop3/pkg-comment | 1 | ||||
-rw-r--r-- | mail/wmpop3/pkg-descr | 7 | ||||
-rw-r--r-- | mail/wmpop3/pkg-plist | 5 |
6 files changed, 111 insertions, 0 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile new file mode 100644 index 000000000000..42cee7e33277 --- /dev/null +++ b/mail/wmpop3/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: wmpop3 +# Version required: 0.2.1a +# Date created: 28 Mar 1999 +# Whom: Jim Mock <jim@phrantic.phear.net> +# +# $Id$ +# + +DISTNAME= WMPop3-0.2.2a +PKGNAME= wmpop3-0.2.2a +CATEGORIES= mail windowmaker +MASTER_SITES= http://www.cs.mun.ca/~scotth/download/ +EXTRACT_SUFX= .tgz + +MAINTAINER= jim@phrantic.phear.net + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm + +USE_GMAKE= yes +WRKSRC= ${WRKDIR}/wmpop3.app/wmpop3 +USE_X_PREFIX= yes + +.include <bsd.port.pre.mk> + +pre-build: + (cd ${WRKSRC} && ${GMAKE} clean) + +post-install: + @${ECHO} " " + @${ECHO} "-----------------------------------------------------------" + @${ECHO} "===> Installing wmpop3rc in ${PREFIX}/share/examples/wmpop3" + @${ECHO} "===> Modify to your config and copy to ~/.wmpop3rc" + @${ECHO} "-----------------------------------------------------------" + @${ECHO} " " + @${MKDIR} ${PREFIX}/share/examples/wmpop3 && chmod a+rx ${PREFIX}/share/examples/wmpop3 + ${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3 + @${ECHO} " " + @${ECHO} "-----------------------------------------------------------" + @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3" + @${ECHO} "===> Please read it for usage instructions" + @${ECHO} "-----------------------------------------------------------" + @${ECHO} " " + @${MKDIR} ${PREFIX}/share/doc/wmpop3 && chmod a+rx ${PREFIX}/share/doc/wmpop3 + ${INSTALL_DATA} ${WRKDIR}/wmpop3.app/README ${PREFIX}/share/doc/wmpop3 + +.include <bsd.port.mk> diff --git a/mail/wmpop3/distinfo b/mail/wmpop3/distinfo new file mode 100644 index 000000000000..1e17afe74c69 --- /dev/null +++ b/mail/wmpop3/distinfo @@ -0,0 +1 @@ +MD5 (WMPop3-0.2.2a.tgz) = f9b874d67f5fe1d913958fdda6e03937 diff --git a/mail/wmpop3/files/patch-aa b/mail/wmpop3/files/patch-aa new file mode 100644 index 000000000000..01c1bcc0f7e9 --- /dev/null +++ b/mail/wmpop3/files/patch-aa @@ -0,0 +1,51 @@ +--- Makefile.orig Tue Mar 23 06:26:24 1999 ++++ Makefile Sun Mar 28 22:30:43 1999 +@@ -1,6 +1,6 @@ + LIBDIR = -L/usr/X11R6/lib + LIBS = -lXpm -lXext -lX11 +-FLAGS = -O2 ++CFLAGS = -O2 + OBJS = wmpop3.o \ + Pop3Client.o \ + ../wmgeneral/wmgeneral.o \ +@@ -9,10 +9,10 @@ + + + .c.o: +- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o ++ cc -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o + + wmpop3: $(OBJS) +- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS) ++ cc $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS) + + all:: wmpop3 + +@@ -24,24 +24,6 @@ + rm -f *~ + + install:: wmpop3 +- @echo "Use 'make install1' for system install." +- @echo "Use 'make install2' for single user install." +- @echo +- +-install1:: wmpop3 +- cp -f wmpop3 /usr/local/bin/ +- chmod 755 /usr/local/bin/wmpop3 +- chown root:root /usr/local/bin/wmpop3 +- @echo +- @echo "WMPop3 Installation finished..." +- +-install2:: wmpop3 +- mkdir $(HOME)/wmpop3 +- cp -f wmpop3 $(HOME)/wmpop3 +- chmod 755 $(HOME)/wmpop3 +- cp -f wmpop3rc $(HOME)/.wmpop3rc +- chmod 600 $(HOME)/.wmpop3rc +- @echo "WMPop3 Installation finished..." +- @echo +- @echo "Make sure ~/wmpop3 is in your path" +- @echo ++ cp -f wmpop3 /usr/X11R6/bin/ ++ chmod 755 /usr/X11R6/bin/wmpop3 ++ chown root.wheel /usr/X11R6/bin/wmpop3 diff --git a/mail/wmpop3/pkg-comment b/mail/wmpop3/pkg-comment new file mode 100644 index 000000000000..b2bb8634e9dc --- /dev/null +++ b/mail/wmpop3/pkg-comment @@ -0,0 +1 @@ +A POP3 mail check for the Window Maker dock. diff --git a/mail/wmpop3/pkg-descr b/mail/wmpop3/pkg-descr new file mode 100644 index 000000000000..1475cfc208c8 --- /dev/null +++ b/mail/wmpop3/pkg-descr @@ -0,0 +1,7 @@ +WMPop3 is a POP3 mail box checker. It will connect to a POP3 server +to check if you have mail, if you do then it will alert you of new +mail and how many messages are currently in your mail box. + +WWW homepage: http://www.cs.mun.ca/~scotth/ + +- Jim <jim@phrantic.phear.net> diff --git a/mail/wmpop3/pkg-plist b/mail/wmpop3/pkg-plist new file mode 100644 index 000000000000..2c54c6ae68dd --- /dev/null +++ b/mail/wmpop3/pkg-plist @@ -0,0 +1,5 @@ +bin/wmpop3 +share/examples/wmpop3/wmpop3rc +share/doc/wmpop3/README +@dirrm share/examples/wmpop3 +@dirrm share/doc/wmpop3 |