aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-04-07 07:22:20 +0800
committerwg <wg@FreeBSD.org>2013-04-07 07:22:20 +0800
commit6cef85e809abb6a672b4d05f6a8218e5d130035d (patch)
tree6a3a8ede2834ac9af5cb0c3a5da6133f59370890 /security
parentb3412b2be8892f162c5cf14dac9622c91b7f6a17 (diff)
downloadfreebsd-ports-gnome-6cef85e809abb6a672b4d05f6a8218e5d130035d.tar.gz
freebsd-ports-gnome-6cef85e809abb6a672b4d05f6a8218e5d130035d.tar.zst
freebsd-ports-gnome-6cef85e809abb6a672b4d05f6a8218e5d130035d.zip
- Fix pkg-plist [1]
- Trim Makefile header - Use OptionsNG DOCS PR: ports/177605 [1] Submitted by: John Marino <draco@marino.st> [1] Approved by: portmgr (miwi), jpaetzel (mentor)
Diffstat (limited to 'security')
-rw-r--r--security/switzerland/Makefile10
-rw-r--r--security/switzerland/pkg-plist4
2 files changed, 4 insertions, 10 deletions
diff --git a/security/switzerland/Makefile b/security/switzerland/Makefile
index b5996cc0a7ae..379ebc6dfe00 100644
--- a/security/switzerland/Makefile
+++ b/security/switzerland/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Switzerland
-# Date created: 08/08/08
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= switzerland
PORTVERSION= 0.1.0
@@ -18,13 +14,15 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's,gcc -O3,${CC} ${CFLAGS}, ; \
s,"Switzerland","switzerland", ; \
s,"0\.0","${PORTVERSION}",' ${WRKSRC}/setup.py
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/BUGS.txt ${WRKSRC}/README.txt \
${WRKSRC}/doc/* ${DOCSDIR}
diff --git a/security/switzerland/pkg-plist b/security/switzerland/pkg-plist
index 9159634a78ca..09ec3fbc9ed0 100644
--- a/security/switzerland/pkg-plist
+++ b/security/switzerland/pkg-plist
@@ -77,8 +77,6 @@ bin/switzerland-server
%%PYTHON_SITELIBDIR%%/switzerland/lib/__init__.py
%%PYTHON_SITELIBDIR%%/switzerland/lib/__init__.pyc
%%PYTHON_SITELIBDIR%%/switzerland/lib/__init__.pyo
-%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy
-%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/__init__.py
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/__init__.pyc
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/__init__.pyo
@@ -100,8 +98,6 @@ bin/switzerland-server
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/fields.py
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/fields.pyc
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/fields.pyo
-%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/layers
-%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/layers
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/layers/__init__.py
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/layers/__init__.pyc
%%PYTHON_SITELIBDIR%%/switzerland/lib/shrunk_scapy/layers/__init__.pyo