diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-23 07:55:05 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-23 07:55:05 +0000 |
commit | f229e46916ae20ea5d006610e670ba7a5050f2a0 (patch) | |
tree | f1a6827934f029b738e709a1e5e0d3b38016e060 /comms/snooper | |
parent | Add ruby-qt2canvas, Qt2 canvas extension for Ruby. (diff) |
- Support CFLAGS properly
- HAS_CONFIGURE -> GNU_CONFIGURE
- Support NOPORTDOCS
PR: 24543
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=37472
Diffstat (limited to 'comms/snooper')
-rw-r--r-- | comms/snooper/Makefile | 20 | ||||
-rw-r--r-- | comms/snooper/files/patch-aa | 38 | ||||
-rw-r--r-- | comms/snooper/files/patch-ab | 20 | ||||
-rw-r--r-- | comms/snooper/files/patch-ac | 14 | ||||
-rw-r--r-- | comms/snooper/pkg-message | 2 | ||||
-rw-r--r-- | comms/snooper/pkg-plist | 4 |
6 files changed, 49 insertions, 49 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile index a453321f9c9e..8d1843a18c23 100644 --- a/comms/snooper/Makefile +++ b/comms/snooper/Makefile @@ -7,18 +7,24 @@ PORTNAME= snooper PORTVERSION= 1999.12.02 +PORTREVISION= 1 CATEGORIES= comms -MASTER_SITES= ftp://ftp.foretune.co.jp/pub/tools/snooper/ -DISTNAME= snooper-19991202 +MASTER_SITES= ftp://ftp.foretune.co.jp/pub/tools/snooper/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/snooper/build -HAS_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}/build + +GNU_CONFIGURE= yes + +post-extract: + @${RM} -f ${WRKSRC}/.depend post-install: - ${MKDIR} ${PREFIX}/share/doc/snooper +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/snooper ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/snooper - ${CAT} ${PKGMESSAGE} +.endif .include <bsd.port.mk> diff --git a/comms/snooper/files/patch-aa b/comms/snooper/files/patch-aa deleted file mode 100644 index ca32a79b88f3..000000000000 --- a/comms/snooper/files/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ ---- .depend.orig Sun Apr 25 23:37:14 1999 -+++ .depend Sun Apr 25 23:37:47 1999 -@@ -6,7 +6,7 @@ - /usr/include/errno.h /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/sys/syslimits.h /usr/include/signal.h \ - /usr/include/sys/signal.h /usr/include/machine/signal.h \ -- /usr/include/machine/trap.h /usr/include/stdlib.h /usr/include/string.h \ -+ /usr/include/stdlib.h /usr/include/string.h \ - /usr/include/unistd.h /usr/include/sys/unistd.h ../include/extern.h \ - /usr/include/sys/ioctl.h /usr/include/sys/ttycom.h \ - /usr/include/sys/ioccom.h /usr/include/sys/filio.h \ -@@ -19,7 +19,7 @@ - /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/sys/syslimits.h /usr/include/signal.h \ - /usr/include/sys/signal.h /usr/include/machine/signal.h \ -- /usr/include/machine/trap.h /usr/include/stdlib.h /usr/include/string.h \ -+ /usr/include/stdlib.h /usr/include/string.h \ - /usr/include/unistd.h /usr/include/sys/unistd.h ../include/extern.h \ - /usr/include/sys/ioctl.h /usr/include/sys/ttycom.h \ - /usr/include/sys/ioccom.h /usr/include/sys/filio.h \ -@@ -32,7 +32,7 @@ - /usr/include/errno.h /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/sys/syslimits.h /usr/include/signal.h \ - /usr/include/sys/signal.h /usr/include/machine/signal.h \ -- /usr/include/machine/trap.h /usr/include/stdlib.h /usr/include/string.h \ -+ /usr/include/stdlib.h /usr/include/string.h \ - /usr/include/unistd.h /usr/include/sys/unistd.h ../include/extern.h \ - /usr/include/termios.h /usr/include/sys/ttycom.h /usr/include/sys/ioccom.h \ - /usr/include/sys/ttydefaults.h -@@ -44,7 +44,7 @@ - /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/sys/syslimits.h /usr/include/signal.h \ - /usr/include/sys/signal.h /usr/include/machine/signal.h \ -- /usr/include/machine/trap.h /usr/include/stdlib.h /usr/include/string.h \ -+ /usr/include/stdlib.h /usr/include/string.h \ - /usr/include/unistd.h /usr/include/sys/unistd.h ../include/extern.h - uucplock.o : ../src/uucplock.c config.h /usr/include/sys/file.h \ - /usr/include/sys/fcntl.h /usr/include/sys/types.h \ diff --git a/comms/snooper/files/patch-ab b/comms/snooper/files/patch-ab new file mode 100644 index 000000000000..2686334d17b9 --- /dev/null +++ b/comms/snooper/files/patch-ab @@ -0,0 +1,20 @@ +--- Makefile.in.orig Wed Aug 12 23:31:56 1998 ++++ Makefile.in Thu Jan 18 02:54:00 2001 +@@ -2,7 +2,7 @@ + srcdir=@srcdir@/.. + CC= @CC@ + OPTFLAG=@OPTFLAG@ +-CFLAGS= -c $(OPTFLAG) -I. -I$(srcdir)/include @CFLAGS@ ++CFLAGS= -c -I. -I$(srcdir)/include @CFLAGS@ + LDFLAGS=@LDFLAGS@ + INSTALL=@INSTALL@ + +@@ -26,7 +26,7 @@ + uucplock.o: ../src/uucplock.c + + depend: +- mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c ++# mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c + + install: + [ -d $(bindir) ] || (mkdir $(bindir)) diff --git a/comms/snooper/files/patch-ac b/comms/snooper/files/patch-ac new file mode 100644 index 000000000000..36b0d12a8692 --- /dev/null +++ b/comms/snooper/files/patch-ac @@ -0,0 +1,14 @@ +--- ../src/uucplock.c.orig Thu Dec 2 12:12:46 1999 ++++ ../src/uucplock.c Thu Jan 18 02:57:30 2001 +@@ -38,7 +38,11 @@ + #include "config.h" + + #include <sys/file.h> ++#ifdef HAVE_DIRENT_H ++#include <dirent.h> ++#else + #include <sys/dir.h> ++#endif + #include <errno.h> + + #include "pathnames.h" diff --git a/comms/snooper/pkg-message b/comms/snooper/pkg-message deleted file mode 100644 index f97b90e18723..000000000000 --- a/comms/snooper/pkg-message +++ /dev/null @@ -1,2 +0,0 @@ -snooper has been installed. -Documents can be found at: /usr/local/share/doc/snooper diff --git a/comms/snooper/pkg-plist b/comms/snooper/pkg-plist index 7fefb374db90..4d82e1245b47 100644 --- a/comms/snooper/pkg-plist +++ b/comms/snooper/pkg-plist @@ -1,3 +1,3 @@ bin/snooper -share/doc/snooper/README -@dirrm share/doc/snooper +%%PORTDOCS%%share/doc/snooper/README +%%PORTDOCS%%@dirrm share/doc/snooper |