diff options
author | pav <pav@FreeBSD.org> | 2004-12-19 08:00:51 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-12-19 08:00:51 +0800 |
commit | d8e39b2047f2cd9c505b9686b70873dec140bbb9 (patch) | |
tree | dfab9d03a9cc9f80aeebf8f263aba3d3e661d662 /databases | |
parent | e2cc8d822da83594e0076a5a16dfa116c36cc6d8 (diff) | |
download | freebsd-ports-gnome-d8e39b2047f2cd9c505b9686b70873dec140bbb9.tar.gz freebsd-ports-gnome-d8e39b2047f2cd9c505b9686b70873dec140bbb9.tar.zst freebsd-ports-gnome-d8e39b2047f2cd9c505b9686b70873dec140bbb9.zip |
- Convert hard py- into PKGNAMEPREFIX, add PKGNAMESUFFIX
- Convert OPTIONS to plain knobs
- Augment conflict with stable version
PR: ports/75221
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-MySQLdb-devel/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/databases/py-MySQLdb-devel/Makefile b/databases/py-MySQLdb-devel/Makefile index 4d25eda8a27a..3e24b805b504 100644 --- a/databases/py-MySQLdb-devel/Makefile +++ b/databases/py-MySQLdb-devel/Makefile @@ -5,12 +5,13 @@ # $FreeBSD$ # -PORTNAME= py-MySQLdb +PORTNAME= MySQLdb PORTVERSION= 1.1.7 -PORTREVISION= 0 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mysql-python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= -devel DISTNAME= MySQL-python-${PORTVERSION} MAINTAINER= marcus@corp.grupos.com.br @@ -20,13 +21,16 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes USE_MYSQL= yes -CONFLICTS= py-MySQLdb-0.* py-MySQLdb-1.[0,2-9].* +CONFLICTS= py*-MySQLdb-[0-9]* -OPTIONS= MYSQLCLIENT_R "Use mysqlclient_r lib" off \ - MYSQLSSL "Use SSL support" off \ - MYSQLCRYPTO "Use CRYPTO support" off - -.include <bsd.port.pre.mk> +pre-fetch: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_MYSQLCLIENT_R=yes Use mysqlclient_r lib" + @${ECHO} " WITH_MYSQLSSL=yes Use SSL support" + @${ECHO} " WITH_MYSQLCRYPTO=yes Use CRYPTO support" + @${ECHO} "" .if defined(WITH_MYSQLCLIENT_R) MAKE_ENV+= mysqlclient="mysqlclient_r" @@ -58,4 +62,4 @@ post-install: .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |