use the constant directory for documentation; ok steven@

This commit is contained in:
martynas 2007-06-25 17:12:29 +00:00
parent ce44a3bea8
commit 890fa0a60c
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2007/05/27 14:45:33 martynas Exp $ # $OpenBSD: Makefile,v 1.29 2007/06/25 17:12:29 martynas Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= "Python interface to MySQL"
VERSION= 1.2.2 VERSION= 1.2.2
DISTNAME= MySQL-python-${VERSION} DISTNAME= MySQL-python-${VERSION}
PKGNAME= py-mysql-${VERSION} PKGNAME= py-mysql-${VERSION}p0
CATEGORIES= databases lang/python CATEGORIES= databases lang/python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
@ -26,10 +26,9 @@ LIB_DEPENDS= lib/mysql/mysqlclient_r.>=14::databases/mysql
NO_REGRESS= Yes NO_REGRESS= Yes
MODPY_SETUPTOOLS= Yes MODPY_SETUPTOOLS= Yes
DOC_DIR= ${PREFIX}/share/doc/MySQL-python
post-install: post-install:
${INSTALL_DATA_DIR} ${DOC_DIR} ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-mysql
${INSTALL_DATA} ${WRKBUILD}/doc/*.txt ${DOC_DIR} ${INSTALL_DATA} ${WRKBUILD}/doc/*.txt ${PREFIX}/share/doc/py-mysql/
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2007/05/27 14:45:33 martynas Exp $ @comment $OpenBSD: PLIST,v 1.9 2007/06/25 17:12:29 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/MySQL_python-1.2.2-py${MODPY_VERSION}.egg-info/SOURCES.txt
@ -36,6 +36,6 @@ lib/python${MODPY_VERSION}/site-packages/MySQLdb/times.pyc
lib/python${MODPY_VERSION}/site-packages/_mysql.so lib/python${MODPY_VERSION}/site-packages/_mysql.so
lib/python${MODPY_VERSION}/site-packages/_mysql_exceptions.py lib/python${MODPY_VERSION}/site-packages/_mysql_exceptions.py
lib/python${MODPY_VERSION}/site-packages/_mysql_exceptions.pyc lib/python${MODPY_VERSION}/site-packages/_mysql_exceptions.pyc
share/doc/MySQL-python/ share/doc/py-mysql/
share/doc/MySQL-python/FAQ.txt share/doc/py-mysql/FAQ.txt
share/doc/MySQL-python/MySQLdb.txt share/doc/py-mysql/MySQLdb.txt