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
24 lines
545 B
Makefile
24 lines
545 B
Makefile
# Created by: Daichi GOTO <daichi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gyp
|
|
PORTVERSION= r832
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://people.freebsd.org/~daichi/distfiles/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= daichi@FreeBSD.org
|
|
COMMENT= Generate Your Projects
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
${REINPLACE_CMD} -e 's/linux/${OPSYS:tl}/;s|gcc|${CC}|;s|g++|${CXX}|' \
|
|
${WRKSRC}/pylib/gyp/generator/make.py
|
|
|
|
.include <bsd.port.post.mk>
|