From 24b070e854fbf5428b308a85f7f0485e458531a5 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 1 Jan 2002 03:26:16 +0000 Subject: Fix packaging by overriding DOCSDIR standard for this port PR: 33360 Submitted by: maintainer --- devel/py-optik/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'devel/py-optik') 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} -- cgit