mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Replace BUILD_DEPENDS on Xvfb and a handful of fonts with USE_DISPLAY=yes.
This commit is contained in:
parent
d733982cbc
commit
e548426d97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199221
@ -27,6 +27,7 @@ CONFIGURE_ENV= ac_cv_path_XML2PO=""
|
||||
CONFIGURE_ARGS= --disable-oss-sound \
|
||||
--enable-docbook-stylesheet=${STYLESHEET}
|
||||
MAKE_ARGS= skipmanual=yes
|
||||
USE_DISPLAY= yes
|
||||
|
||||
MAN1= lessonfile_editor.1 solfege.1
|
||||
|
||||
@ -38,15 +39,6 @@ STYLESHEET= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl
|
||||
USE_GNOME+= pygnomeextras
|
||||
.endif
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
||||
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
||||
.else
|
||||
.if !defined(DISPLAY) || ${DISPLAY} == ""
|
||||
IGNORE= requires an active X session (and DISPLAY variable). Please compile this while running X
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/lesson-files/bin/csound-play-harmonic-interval.sh.orig
|
||||
@${GREP} -lR "/usr/bin/python" ${WRKSRC} | ${XARGS} \
|
||||
|
@ -16,15 +16,12 @@ DIST_SUBDIR= gnome2
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= UML modeling environment written in Python
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
|
||||
.endif
|
||||
|
||||
CONFLICTS= zope-3*
|
||||
|
||||
USE_GNOME= pygnome2
|
||||
USE_PYTHON= 2.4+
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_DISPLAY= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -23,10 +23,7 @@ USE_AUTOTOOLS= libtool:15
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
||||
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
||||
.endif
|
||||
USE_DISPLAY= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
@ -20,10 +20,6 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/p
|
||||
${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \
|
||||
${PYXML} \
|
||||
${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
||||
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
||||
.endif
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/PenguinTV-${PORTVERSION}
|
||||
@ -34,6 +30,7 @@ OPTIONS= PYLUCENE "Use Lucene search engine" ON \
|
||||
USE_GNOME= pygnomeextras pygnome2
|
||||
USE_PYTHON= yes
|
||||
USE_GECKO= firefox
|
||||
USE_DISPLAY= yes
|
||||
|
||||
CONFLICTS= PenguinTV-[0-9]*
|
||||
|
||||
|
@ -19,10 +19,6 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/p
|
||||
${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \
|
||||
${PYXML} \
|
||||
${PYTHON_SITELIBDIR}/Pyrex/__init__.py:${PORTSDIR}/devel/pyrex
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
||||
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
||||
.endif
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/PenguinTV-${PORTVERSION}
|
||||
@ -33,6 +29,7 @@ OPTIONS= PYLUCENE "Use Lucene search engine" ON \
|
||||
USE_GNOME= pygnomeextras pygnome2
|
||||
USE_PYTHON= yes
|
||||
USE_GECKO= firefox
|
||||
USE_DISPLAY= yes
|
||||
|
||||
CONFLICTS= PenguinTV-devel-[0-9]*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user