mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Pmw
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11-toolkits python
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}.${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
|
COMMENT= High-level compound graphics widgets for Python
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
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}"
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${PAX} -rw . ${STAGEDIR}${DATADIR})
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
.for d in contrib demos
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${COPYTREE_SHARE} $d ${STAGEDIR}${EXAMPLESDIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|