diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2012-09-01 01:55:22 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2012-09-01 01:55:22 +0800 |
commit | 63648ed5bc06a0838cfebea62273cc4183d49e14 (patch) | |
tree | 394e734bb73dc8ea0fb1bf6e5e5285191f257869 /www/py-django13 | |
parent | 6453caab9706b3e65cc7c9ac7c094ed8ef9f6b28 (diff) | |
download | freebsd-ports-gnome-63648ed5bc06a0838cfebea62273cc4183d49e14.tar.gz freebsd-ports-gnome-63648ed5bc06a0838cfebea62273cc4183d49e14.tar.zst freebsd-ports-gnome-63648ed5bc06a0838cfebea62273cc4183d49e14.zip |
- Update to 1.3.3
- Convert to new options framework
PR: ports/170496
Submitted by: Po-Chien Lin <linpc@cs.nctu.edu.tw>
Diffstat (limited to 'www/py-django13')
-rw-r--r-- | www/py-django13/Makefile | 31 | ||||
-rw-r--r-- | www/py-django13/distinfo | 4 |
2 files changed, 17 insertions, 18 deletions
diff --git a/www/py-django13/Makefile b/www/py-django13/Makefile index 4403a4b8f73e..c137e75fbada 100644 --- a/www/py-django13/Makefile +++ b/www/py-django13/Makefile @@ -6,7 +6,7 @@ # PORTNAME= django -PORTVERSION= 1.3.2 +PORTVERSION= 1.3.3 CATEGORIES= www python MASTER_SITES= http://www.djangoproject.com/m/releases/${PORTVERSION:R}/ \ CHEESESHOP @@ -30,11 +30,10 @@ CONFLICTS= py2[0-9]-django-devel-[0-9]* py2[0-9]-django-1.[24]* DOCSDIR= ${PREFIX}/share/doc/py-django -OPTIONS= POSTGRESQL "PostgreSQL support" off \ - MYSQL "MySQL support" off \ - SQLITE "SQLite support" off \ - FASTCGI "FastCGI support" off \ - DOCS "Install HTML documentation (requires Sphinx)" off +OPTIONS_DEFINE= PGSQL MYSQL SQLITE FASTCGI HTMLDOCS +OPTIONS_DEFAULT= + +HTMLDOCS_DESC= Build and install the HTML documentation (requires Sphinx) MAN1= daily_cleanup.1 django-admin.1 gather_profile_stats.1 @@ -43,34 +42,34 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options .include <bsd.port.pre.mk> -.if defined(WITH_POSTGRESQL) +.if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-changeset_16520.diff .endif -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb .endif -.if defined(WITH_SQLITE) +.if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 .endif -.if defined(WITH_FASTCGI) +.if ${PORT_OPTIONS:MFASTCGI} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup .endif -.if defined(WITH_DOCS) +.if ${PORT_OPTIONS:MHTMLDOCS} +. if defined(NOPORTDOCS) +IGNORE= you cannot build documentation while setting NOPORTDOCS +. endif BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx EXTRA_PATCHES+= ${FILESDIR}/extra-patch-changeset_16223_16231.diff PORTDOCS= * .endif post-build: -.if defined(WITH_DOCS) -. if defined(NOPORTDOCS) -IGNORE= you cannot build documentation while setting NOPORTDOCS -. endif +.if ${PORT_OPTIONS:MHTMLDOCS} cd ${WRKSRC}/docs && ${MAKE} html .endif @@ -79,7 +78,7 @@ post-install: @${ECHO_MSG} "" @${ECHO_MSG} " * See http://docs.djangoproject.com/ for complete documentation" @${ECHO_MSG} "" -.if defined(WITH_DOCS) +.if ${PORT_OPTIONS:MHTMLDOCS} ${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR} .endif diff --git a/www/py-django13/distinfo b/www/py-django13/distinfo index 129bea068cd6..bec9c2d35805 100644 --- a/www/py-django13/distinfo +++ b/www/py-django13/distinfo @@ -1,2 +1,2 @@ -SHA256 (python/Django-1.3.2.tar.gz) = 72c4080fe30863c4581521ef6f7bfcc12d01e7c55b9ad1935acaa43e466dd764 -SIZE (python/Django-1.3.2.tar.gz) = 6507042 +SHA256 (python/Django-1.3.3.tar.gz) = 8ef44cfd89dee0331018ec56a2ed27dc14ae8d65feb664c10e128b3437cbd46a +SIZE (python/Django-1.3.3.tar.gz) = 6507280 |