aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-optik/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-10 12:59:47 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-10 12:59:47 +0800
commit32242ac7bcac2897b46a9dde43b19faedac86a6f (patch)
tree15b8e7d96b960c96515fd09cb1d92467b8dd114e /devel/py-optik/Makefile
parent8692f4fab38e905d24f6b28c0752cadc8aa16e78 (diff)
downloadfreebsd-ports-gnome-32242ac7bcac2897b46a9dde43b19faedac86a6f.tar.gz
freebsd-ports-gnome-32242ac7bcac2897b46a9dde43b19faedac86a6f.tar.zst
freebsd-ports-gnome-32242ac7bcac2897b46a9dde43b19faedac86a6f.zip
upgrade to 1.3
PR: 37911 Submitted by: maintainer
Diffstat (limited to 'devel/py-optik/Makefile')
-rw-r--r--devel/py-optik/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/py-optik/Makefile b/devel/py-optik/Makefile
index 1e584cae8e36..817eeb6ee0e6 100644
--- a/devel/py-optik/Makefile
+++ b/devel/py-optik/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= optik
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
+PORTREVISION= 0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -22,11 +22,16 @@ USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
-PLIST_SUB+= DOCSDIR=${DOCSDIR:S/^${PREFIX}\///}
-post-install:
+PLIST_SUB+= DOCSDIR=${DOCSDIR:S@^${PREFIX}/@@}
+post-install::
@${MKDIR} ${DOCSDIR}/test
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/test/* ${DOCSDIR}/test
.endif
+EXAMPLES= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+PLIST_SUB+= EXAMPLES=${EXAMPLES:S@^${PREFIX}/@@}
+post-install::
+ @${MKDIR} ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLES}
.include <bsd.port.mk>