mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
dda1f1551f
PR: 37911 Submitted by: maintainer
38 lines
906 B
Makefile
38 lines
906 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: py-optik
|
|
# Date created: Nov 13, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= optik
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Optik-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@geeksrus.net
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
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>
|