1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- 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)
This commit is contained in:
William Grzybowski 2013-04-06 23:22:20 +00:00
parent 74974c1ba5
commit 7cb67fd558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315749
2 changed files with 4 additions and 10 deletions

View File

@ -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}

View File

@ -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