diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 22:41:40 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-25 22:41:40 +0800 |
commit | 89317330060843847c20d79c1334d6ba4ec82c08 (patch) | |
tree | 45abf127f7d87c40cd909104ccc9569ca754ca70 /databases | |
parent | 87b5c927d3c57d2f02c57b51990fa061769a562b (diff) | |
download | freebsd-ports-gnome-89317330060843847c20d79c1334d6ba4ec82c08.tar.gz freebsd-ports-gnome-89317330060843847c20d79c1334d6ba4ec82c08.tar.zst freebsd-ports-gnome-89317330060843847c20d79c1334d6ba4ec82c08.zip |
- Add LICENSE
- Switch to options helpers
- Add NO_ARCH
- Regenerate patches with `make makepatch`
Approved by: portmgr blanket
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-forgetsql/Makefile | 14 | ||||
-rw-r--r-- | databases/py-forgetsql/files/patch-lib-forgetSQL.py | 4 | ||||
-rw-r--r-- | databases/py-forgetsql/pkg-plist | 3 |
3 files changed, 11 insertions, 10 deletions
diff --git a/databases/py-forgetsql/Makefile b/databases/py-forgetsql/Makefile index ae48e918e225..a4e22829432a 100644 --- a/databases/py-forgetsql/Makefile +++ b/databases/py-forgetsql/Makefile @@ -12,10 +12,14 @@ DISTNAME= forgetSQL-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python module for object-oriented access to SQL databases +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + USES= python:2 USE_PYTHON= distutils autoplist +NO_ARCH= yes -DOCS= BUGS README TODO +PORTDOCS= BUGS README TODO OPTIONS_DEFINE= DOCS MYSQL PGSQL @@ -37,11 +41,11 @@ post-install: @${ECHO_MSG} "===> you should install py-psycopg or py-MySQLdb from ports/databases." @${ECHO} .endif -.if ${PORT_OPTIONS:MDOCS} - ${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR} -.for f in ${DOCS} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif .include <bsd.port.mk> diff --git a/databases/py-forgetsql/files/patch-lib-forgetSQL.py b/databases/py-forgetsql/files/patch-lib-forgetSQL.py index 963fbb5f2486..87ad5cd232e9 100644 --- a/databases/py-forgetsql/files/patch-lib-forgetSQL.py +++ b/databases/py-forgetsql/files/patch-lib-forgetSQL.py @@ -1,5 +1,5 @@ ---- lib/forgetSQL.py.orig Sat Nov 20 16:59:07 2004 -+++ lib/forgetSQL.py Sat Nov 20 16:59:39 2004 +--- lib/forgetSQL.py.orig 2004-03-08 12:16:25 UTC ++++ lib/forgetSQL.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: ISO-8859-1 -*- diff --git a/databases/py-forgetsql/pkg-plist b/databases/py-forgetsql/pkg-plist deleted file mode 100644 index 4eac639a5613..000000000000 --- a/databases/py-forgetsql/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO |