mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
2d08890059
handle PORTDOCS PR: 33139 Submitted by: Alan Eldridge <alane@geeksrus.net> (maintainer)
37 lines
705 B
Makefile
37 lines
705 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: py-optik
|
|
# Date created: Nov 13, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= optik
|
|
PORTVERSION= 1.2
|
|
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
|
|
|
|
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
|
|
|
do-build:
|
|
@${SETUP_CMD} build
|
|
|
|
do-install:
|
|
@${SETUP_CMD} install
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}/test
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/test/* ${DOCSDIR}/test
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|