Make RUN_DEPENDS comply with packages-specs(7) by converting the
port to python.port.mk; spotted by naddy@. ok kevlo@ (maintainer).
This commit is contained in:
parent
75f2f8c4c8
commit
a42bc0f569
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.19 2008/06/08 14:27:03 phessler Exp $
|
# $OpenBSD: Makefile,v 1.20 2009/07/18 15:07:51 sthen Exp $
|
||||||
|
|
||||||
COMMENT= convert Big5/GB encoded files to postscript
|
COMMENT= convert Big5/GB encoded files to postscript
|
||||||
|
|
||||||
DISTNAME= bg5ps-1.3.0
|
DISTNAME= bg5ps-1.3.0
|
||||||
PKGNAME= zh-${DISTNAME}p1
|
PKGNAME= zh-${DISTNAME}p2
|
||||||
CATEGORIES= chinese x11
|
CATEGORIES= chinese x11
|
||||||
|
|
||||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||||
@ -17,17 +17,19 @@ WANTLIB= c m
|
|||||||
|
|
||||||
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
||||||
|
|
||||||
PYTHON_VER= 2.4
|
MODULES= lang/python
|
||||||
RUN_DEPENDS= ::chinese/arphicttf \
|
MODPY_VERSION= 2.4
|
||||||
:python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
RUN_DEPENDS= ::chinese/arphicttf
|
||||||
LIB_DEPENDS= ttf.>=1::print/freetype
|
LIB_DEPENDS= ttf.>=1::print/freetype
|
||||||
|
|
||||||
|
# python.port.mk overrides various targets when CONFIGURE_STYLE is empty
|
||||||
|
CONFIGURE_STYLE=none
|
||||||
|
|
||||||
NO_REGRESS= Yes
|
NO_REGRESS= Yes
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
perl -pi -e \
|
perl -pi -e \
|
||||||
"s|/usr/local/bin/python.*|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
"s|/usr/local/bin/python.*|${MODPY_BIN}|" ${WRKSRC}/bg5ps
|
||||||
${WRKSRC}/bg5ps
|
|
||||||
|
|
||||||
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/freetype1" \
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/freetype1" \
|
||||||
LDFLAGS=-L${LOCALBASE}/lib \
|
LDFLAGS=-L${LOCALBASE}/lib \
|
||||||
|
Loading…
Reference in New Issue
Block a user