svn commit: r315694 - head/net/queso
Martin Wilke
miwi at FreeBSD.org
Wed Apr 3 06:24:07 UTC 2013
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 at freebsd.ee.ntu.edu.tw>
+# Created by: Wu Ching-hong <woju at freebsd.ee.ntu.edu.tw>
# and David O'Brien (obrien at 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 at 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>
More information about the svn-ports-all
mailing list