mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 10:10:31 -04:00
- Add LICENSE It explicitly requires user agreement (thus no-auto-accept) and forbids distribution for a fee `beyond reasonable duplication charges` which is too vague I don't think can be guaranteed in any case (thus no-*-sell) tdir port uses another variant of license, which also forbids modification, and since the port requires shebangfix and Makefile patching, also mark it no-pkg-mirror and BROKEN. - Don't install licenses with documentation, since our license framework already handles this - Fix python shebangs - Limit python version to 2.7, as no port is compatible with python3 - Add NO_ARCH - User options targets helpers - Simplify installation in a few cases Approved by: portmgr blanket
34 lines
1,005 B
Makefile
34 lines
1,005 B
Makefile
# Created by: tundra
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tconfpy
|
|
PORTVERSION= 2.112
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.tundraware.com/Software/tconfpy/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= tconfpy@tundraware.com
|
|
COMMENT= Python Configuration File Parser
|
|
|
|
LICENSE= TundraWare
|
|
LICENSE_NAME= TundraWare license
|
|
LICENSE_FILE= ${WRKSRC}/tconfpy-license.txt
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept
|
|
|
|
USES= python:2.7,run
|
|
USE_PYTHON= distutils autoplist
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= READ-1ST.txt WHATSNEW.txt tconfpy.html tconfpy.pdf tconfpy.ps tconfpy.txt test-tc.html test-tc.pdf test-tc.ps test-tc.txt
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/test-tc.1.gz ${STAGEDIR}${PREFIX}/man/man1/
|
|
${INSTALL_MAN} ${WRKSRC}/tconfpy.3.gz ${STAGEDIR}${PREFIX}/man/man3/
|
|
|
|
.include <bsd.port.mk>
|