freebsd-ports/x11-toolkits/py-Pmw/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Thomas Gellekum <tg@FreeBSD.org>
1999-08-31 05:04:38 +02:00
# $FreeBSD$
PORTNAME= Pmw
PORTVERSION= 1.3.2
PORTREVISION= 3
1998-12-15 09:13:06 +01:00
CATEGORIES= x11-toolkits python
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTNAME}.${PORTVERSION}
2001-02-15 13:02:54 +01:00
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= High-level compound graphics widgets for Python
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
LIB_DEPENDS= libBLT25.so:${PORTSDIR}/x11-toolkits/blt
USE_PYTHON= yes
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PMWVERSION= ${DISTNAME:R:S/./_/g}
PLIST_SUB= PMWVERSION="${PMWVERSION}"
NO_STAGE= yes
post-install:
@${MKDIR} ${DATADIR}
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${TAR} cf - .) | \
(cd ${DATADIR}; ${TAR} -xof -)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${TAR} cf - .) | \
(cd ${DOCSDIR}; ${TAR} -xof -)
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for d in contrib demos
@(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${TAR} cf - $d) | \
(cd ${EXAMPLESDIR}; ${TAR} -xof -)
.endfor
.endif
.include <bsd.port.mk>