aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-sqlobject/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-13 17:25:45 +0800
committerpav <pav@FreeBSD.org>2004-10-13 17:25:45 +0800
commitc23a34b8d632875b09aaaf194b99783609eddafc (patch)
tree7f8b05bd9396b9494bd2899beba706f481f943c4 /databases/py-sqlobject/Makefile
parentc233cf605d38932d48bd38d565ddf3f0aafbc72e (diff)
downloadfreebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.tar.gz
freebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.tar.zst
freebsd-ports-gnome-c23a34b8d632875b09aaaf194b99783609eddafc.zip
- Install docs and examples
PR: ports/72601 Submitted by: Choe, Cheng-Dae <whitekid@gmail.com> (maintainer)
Diffstat (limited to 'databases/py-sqlobject/Makefile')
-rw-r--r--databases/py-sqlobject/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile
index b3e536b31277..7e4dc6b27252 100644
--- a/databases/py-sqlobject/Makefile
+++ b/databases/py-sqlobject/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sqlobject
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,4 +24,13 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-M
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.mk>