Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2013 06:24:07 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315694 - head/net/queso
Message-ID:  <201304030624.r336O7WE015644@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Apr  3 06:24:06 2013
New Revision: 315694
URL: http://svnweb.freebsd.org/changeset/ports/315694

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Support CFLAGS properly
  - Support STRIP properly
  
  PR:		177554
  Submitted by:	ports fury
  Approved by:	portmgr

Modified:
  head/net/queso/Makefile   (contents, props changed)

Modified: head/net/queso/Makefile
==============================================================================
--- head/net/queso/Makefile	Wed Apr  3 06:21:41 2013	(r315693)
+++ head/net/queso/Makefile	Wed Apr  3 06:24:06 2013	(r315694)
@@ -1,32 +1,37 @@
-# ex:ts=8
-# Ports collection makefile for:  Queso
-# Date created:			  13 Oct 1998
-# Whom:				  Wu Ching-hong <woju@freebsd.ee.ntu.edu.tw>
+# Created by: Wu Ching-hong <woju@freebsd.ee.ntu.edu.tw>
 # 				  and David O'Brien (obrien@NUXI.com)
-#
 # $FreeBSD$
-#
 
 PORTNAME=	queso
 PORTVERSION=	980922
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net security
-MASTER_SITES=	http://ftp.cerias.purdue.edu/pub/tools/unix/scanners/queso/ \
-		http://www.mirrors.wiretapped.net/security/network-mapping/
+MASTER_SITES=	PACKETSTORM/UNIX/scanners
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Determine the remote OS using simple TCP packets
 
+LICENSE=	GPLv2
+
+OPTIONS_DEFINE=	DOCS
+
 GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
-post-patch:
-	@${REINPLACE_CMD} 's,$(CFGDIR)/queso.conf,$(CFGDIR)/queso.conf.sample,' \
-		${WRKSRC}/Makefile.in
+.include <bsd.port.options.mk>
 
-post-install:
-.if !defined(NOPORTDOCS)
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|-O2 -pipe|| ; \
+		 s|^LDFLAGS|#LDFLAGS|' ${WRKSRC}/Makefile.in
+	@${LN} -sf queso.conf ${WRKSRC}/queso.conf.sample
+
+do-install:
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} queso ${PREFIX}/sbin)
+	(cd ${WRKSRC} && ${INSTALL_DATA} queso.conf.sample ${PREFIX}/etc)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} Documentation.txt ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304030624.r336O7WE015644>