aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-optik
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-01-01 11:26:16 +0800
committerlioux <lioux@FreeBSD.org>2002-01-01 11:26:16 +0800
commit24b070e854fbf5428b308a85f7f0485e458531a5 (patch)
treea98951de0e765357aca3b4a492ee4f5c2e0e0e2e /devel/py-optik
parent03e42ca4647bd81d4868ca1a5552dbdf91f1e958 (diff)
downloadfreebsd-ports-gnome-24b070e854fbf5428b308a85f7f0485e458531a5.tar.gz
freebsd-ports-gnome-24b070e854fbf5428b308a85f7f0485e458531a5.tar.zst
freebsd-ports-gnome-24b070e854fbf5428b308a85f7f0485e458531a5.zip
Fix packaging by overriding DOCSDIR standard for this port
PR: 33360 Submitted by: maintainer
Diffstat (limited to 'devel/py-optik')
-rw-r--r--devel/py-optik/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile
index 79ac11f0e117..ca66f99ffe26 100644
--- a/devel/py-optik/Makefile
+++ b/devel/py-optik/Makefile
@@ -8,6 +8,7 @@
PORTNAME= optik
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,6 +16,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Optik-${PORTVERSION}
MAINTAINER= ports@geeksrus.net
+BUILD_DEPENDS= ${PYDISTUTILS}
USE_PYTHON= yes
@@ -27,6 +29,7 @@ do-install:
@${SETUP_CMD} install
.if !defined(NOPORTDOCS)
+DOCSDIR=${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-install:
@${MKDIR} ${DOCSDIR}/test
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}