fix deps on python versions to actually use that version; ok naddy@
This commit is contained in:
parent
102533d907
commit
057dcacf52
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2002/03/21 20:35:43 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "convert Big5/GB encoded files to postscript"
|
||||
|
||||
@ -17,10 +17,16 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ \
|
||||
ftp://ftp.shellhung.org/pub/OpenBSD/packages/chinese/bg5ps/
|
||||
|
||||
PYTHON_VER= 2.1
|
||||
RUN_DEPENDS= ::chinese/arphicttf \
|
||||
:python-2.1*:lang/python/2.1
|
||||
:python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
LIB_DEPENDS= ttf.1::print/freetype
|
||||
|
||||
post-patch:
|
||||
perl -pi -e \
|
||||
"s|/usr/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
||||
${WRKSRC}/bg5ps
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/bg5ps
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bg5ps
|
||||
|
@ -1,11 +1,5 @@
|
||||
--- bg5ps.orig Mon Feb 14 20:46:43 2000
|
||||
+++ bg5ps Sun Jan 21 22:40:56 2001
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/local/bin/python
|
||||
################################################################################
|
||||
# bg5ps.py which use the ttf2ps program to convert the Big5 Coding chinese #
|
||||
# text into printable postscript file. Since it uses true type font, the #
|
||||
--- bg5ps.orig Mon Feb 14 15:46:43 2000
|
||||
+++ bg5ps Sat Apr 6 13:16:45 2002
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# Revision 1.5 2000/02/14 20:40:04 platin
|
||||
@ -15,7 +9,7 @@
|
||||
#
|
||||
# Revision 1.4 2000/02/14 20:28:35 platin
|
||||
# Automatic selection of fontName in echo Encoding.
|
||||
@@ -55,7 +55,7 @@
|
||||
@@ -55,7 +55,7 @@ if wd=="": wd="."
|
||||
#start default config file segment
|
||||
#Font and font path
|
||||
chineseFontPath=wd
|
||||
@ -24,7 +18,7 @@
|
||||
|
||||
#Output only even or odd
|
||||
oddPages=true
|
||||
@@ -443,10 +443,10 @@
|
||||
@@ -443,10 +443,10 @@ mpage -2 big5.txt | bg5ps -en big5 -nps
|
||||
exec l
|
||||
cf.close()
|
||||
else:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2002/02/15 19:53:43 matt Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "c/c++ source code auditing tool"
|
||||
|
||||
@ -19,7 +19,8 @@ MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
|
||||
${MASTER_SITE_PACKETSTORM}
|
||||
MASTER_SITE_SUBDIR= UNIX/misc
|
||||
|
||||
RUN_DEPENDS= :python-2.1*:lang/python/2.1
|
||||
PYTHON_VER= 2.1
|
||||
RUN_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
|
||||
NO_BUILD= Yes
|
||||
|
||||
@ -33,6 +34,11 @@ DOC_FILES= ChangeLog README flawfinder.pdf \
|
||||
flawfinder.ps index.html test.c \
|
||||
announcement
|
||||
|
||||
post-patch:
|
||||
perl -pi -e \
|
||||
"s|/usr/bin/env python|${LOCALBASE}/bin/python${PYTHON_VER}|" \
|
||||
${WRKSRC}/flawfinder
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${DOC_DIR}
|
||||
.for i in ${DOC_FILES}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2002/03/25 03:26:01 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "simplified wrapper and interface generator"
|
||||
COMMENT-examples= "examples for swig"
|
||||
@ -21,7 +21,8 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
BUILD_DEPENDS= :python-2.2*:lang/python/2.2 \
|
||||
PYTHON_VER= 2.2
|
||||
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER} \
|
||||
::lang/tcl/8.3 \
|
||||
::lang/guile \
|
||||
::lang/ruby
|
||||
@ -33,7 +34,8 @@ WRKDIST= ${WRKDIR}/SWIG-${VERSION}
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-tclincl=${LOCALBASE}/include/tcl8.3 \
|
||||
--with-tcllib==${LOCALBASE}/lib/tcl8.3 \
|
||||
--with-guilelib=${LOCALBASE}/lib
|
||||
--with-guilelib=${LOCALBASE}/lib \
|
||||
--with-python=${LOCALBASE}/bin/python${PYTHON_VER}
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/Tools
|
||||
|
||||
ALL_TARGET= swig runtime
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2002/02/15 19:53:43 matt Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "mailing list manager with web interface"
|
||||
|
||||
@ -20,7 +20,8 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= mailman
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
BUILD_DEPENDS= :python-2.1*:lang/python/2.1
|
||||
PYTHON_VER= 2.1
|
||||
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
@ -38,7 +39,8 @@ FAKE_FLAGS= prefix="${WRKINST}${MMHOME}" \
|
||||
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_ARGS+= --with-var-prefix="${MMSPOOL}" \
|
||||
--prefix="${MMHOME}"
|
||||
--prefix="${MMHOME}" \
|
||||
--with-python=${LOCALBASE}/bin/python${PYTHON_VER}
|
||||
|
||||
FLAVORS=postfix
|
||||
FLAVOR?=
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2002/03/08 02:01:28 lebel Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "reduce the amount of SPAM/UCE (junk-mail)"
|
||||
|
||||
@ -28,7 +28,8 @@ PYTHON_LIBDIR= lib/python${PYTHON_VER}
|
||||
SUBST_VARS= PYTHON_VER
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}; ./compileall
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/python${PYTHON_VER} -c \
|
||||
'import compileall; compileall.compile_dir(".", force=1)'
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/${PYTHON_LIBDIR}/TMDA
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2002/03/21 21:09:19 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= "fully compliant DynDNS.org client"
|
||||
|
||||
@ -22,7 +22,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://ipcheck.sourceforge.net/releases/
|
||||
|
||||
RUN_DEPENDS+= :python-2.1*:lang/python/2.1
|
||||
PYTHON_VER= 2.1
|
||||
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
@ -30,7 +31,7 @@ NO_BUILD= Yes
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
do-patch:
|
||||
@sed -e "s!/usr/bin/python!${LOCALBASE}/bin/python!" \
|
||||
@sed -e "s!/usr/bin/python!${LOCALBASE}/bin/python${PYTHON_VER}!" \
|
||||
-e "s!ppp0!tun0!" \
|
||||
${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2002/02/15 19:53:43 matt Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2002/04/07 22:30:23 matt Exp $
|
||||
|
||||
COMMENT= checks HTML documents for broken links
|
||||
|
||||
@ -17,16 +17,18 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
BUILD_DEPENDS= :python-2.1*:lang/python/2.1
|
||||
PYTHON_VER= 2.1
|
||||
BUILD_DEPENDS= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC}; python setup.py config
|
||||
cd ${WRKSRC}; python${PYTHON_VER} setup.py config
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}; python setup.py build
|
||||
cd ${WRKSRC}; python${PYTHON_VER} setup.py build
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; python setup.py install --root=${WRKINST} --no-compile
|
||||
cd ${WRKSRC}; python${PYTHON_VER} setup.py install \
|
||||
--root=${WRKINST} --no-compile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user