head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.3
	RELEASE_4_0_0:1.3
	RELEASE_3_4_0:1.3
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.1.1.1
	v11:1.1.1.1
	PIAZZA:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2012.12.10.08.59.20;	author svnexp;	state dead;
branches;
next	1.4;

1.4
date	2000.07.15.16.45.18;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	99.09.17.17.35.06;	author cpiazza;	state Exp;
branches;
next	1.2;

1.2
date	99.05.29.03.55.48;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.03.18.08.53.23;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.03.18.08.53.23;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308593
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308593 | beech | 2012-12-10 08:51:51 +0000 (Mon, 10 Dec 2012) | 7 lines
## SVN ##
## SVN ## - Fix build with clang
## SVN ## - Add option for GTK2 support
## SVN ## - Support PLIST_FILES
## SVN ##
## SVN ## PR:		ports/174157
## SVN ## Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@--- Makefile.orig	Thu Mar 11 17:58:41 1999
+++ Makefile	Sun Jul 16 00:45:14 2000
@@@@ -1,21 +1,21 @@@@
-CC=gcc
-GTK_FLAGS=`gtk-config --cflags` `gtk-config  --libs` 
+CC?=gcc
+GTK_FLAGS=`$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs`
 
 all: gtkportscan portscan
 
 portscan: portscan.c
-	$(CC) -O2 -Wall portscan.c -o portscan -g
+	$(CC) $(CFLAGS) portscan.c -o portscan
 
 gtkportscan: gtkportscan.c
-	$(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g
+	$(CC) $(CFLAGS) $(GTK_FLAGS) gtkportscan.c -o gtkportscan
 
 install:
-	cp portscan /usr/local/bin
-	cp gtkportscan /usr/X11/bin
+	${BSD_INSTALL_PROGRAM} portscan ${PREFIX}/bin
+	${BSD_INSTALL_PROGRAM} gtkportscan ${PREFIX}/bin
 
 clean:
 	rm -f portscan gtkportscan
 
 uninstall:
-	rm -f /usr/local/bin/portscan
-	rm -f /usr/X11/bin/gtkportscan
+	rm -f ${PREFIX}/bin/portscan
+	rm -f ${PREFIX}/bin/gtkportscan
@


1.4
log
@- Use GTK_CONFIG instead of hardcoded gtk12-config

PR: 19930
Submitted by: KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@@


1.3
log
@Update to version 1.2
@
text
@d1 2
a2 2
--- Makefile.orig	Thu Mar 11 01:58:41 1999
+++ Makefile	Sun Sep 12 20:59:30 1999
d7 1
a7 1
+GTK_FLAGS=`gtk12-config --cflags` `gtk12-config  --libs` 
d13 1
a13 1
+	$(CC) $(CFLAgS) -Wall portscan.c -o portscan ${CFLAGS}
d17 1
a17 1
+	$(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan ${CFLAGS}
@


1.2
log
@Update to use gtk version 1.2.3.

PR:		11842
Submitted by:	Jeremy Lea <reg@@shale.csir.co.za>
@
text
@d1 2
a2 2
--- Makefile.orig	Thu Mar 11 18:58:41 1999
+++ Makefile	Thu Mar 18 17:22:45 1999
d4 1
a4 1
 CC=gcc
d6 1
d13 1
a13 1
+	$(CC) -O2 -Wall portscan.c -o portscan -g ${CFLAGS}
d17 1
a17 1
+	$(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g ${CFLAGS}
d30 1
a31 1
-	rm -f /usr/X11/bin/gtkportscan
@


1.1
log
@Initial revision
@
text
@d21 2
a22 2
+	${BSD_INSTALL_PROGRAM} portscan /usr/local/bin
+	${BSD_INSTALL_PROGRAM} gtkportscan /usr/local/bin
d28 2
a29 1
 	rm -f /usr/local/bin/portscan
d31 1
a31 1
+	rm -f /usr/local/bin/gtkportscan
@


1.1.1.1
log
@a simple portscanner

PR:		ports/10551
Submitted by:	Chris Piazza cpiazza@@home.net
@
text
@@
