# New ports collection makefile for: ocp # Date created: 22 April 2005 # Whom: Emanuel Haupt # # $FreeBSD$ # PORTNAME= ocp PORTVERSION= 0.1.20 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= http://stian.cubic.org/ocp/ \ CRITICAL MAINTAINER= ehaupt@FreeBSD.org COMMENT= The legendary Open Cubic Player LICENSE= GPLv2 LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag \ mad.2:${PORTSDIR}/audio/libmad \ vorbis.4:${PORTSDIR}/audio/libvorbis \ sidplay.1:${PORTSDIR}/audio/libsidplay ONLY_FOR_ARCHS= i386 amd64 GNU_CONFIGURE= yes USE_GMAKE= yes USE_NCURSES= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes MAKE_JOBS_UNSAFE= yes WANT_GNOME= desktopfileutils CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -L${LOCALBASE}/lib ${CPPFLAGS} CXXFLAGS+= -L${LOCALBASE}/lib ${CPPFLAGS} CONFIGURE_ARGS= --with-dir-suffix="" \ --without-alsa \ --libdir=${PREFIX}/lib INFO= ocp TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg PFILES= configure cpiface/cpianal.c cpiface/cpidots.c \ cpiface/cpiface.c cpiface/cpigraph.c cpiface/cpiinst.c \ cpiface/cpikube.c cpiface/cpilinks.c cpiface/cpimsg.c \ cpiface/cpiphase.c cpiface/cpiscope.c cpiface/cpitrack.c \ cpiface/mcpedit.c cpiface/volctrl.c filesel/cphlpfs.c \ filesel/pfilesel.c filesel/pfilesel.c.bak help/cphelper.c \ medialib/medialib.c playcda/cdapplay.c stuff/poutput-curses.c \ stuff/poutput-dga.c stuff/poutput-keyboard.c \ stuff/poutput-vcsa.c stuff/poutput-x11.c OPTIONS= ADPLUG "Build with adplug support" on \ FLAC "Build with FLAC support" on \ MIDI "Build with timidity support" on \ X11 "Build with X11 support" on \ SDL "Build with SDL support" on .include .if exists(${TIMIDITY_CFG}) || !defined(WITHOUT_MIDI) RUN_DEPENDS+= ${TIMIDITY_CFG}:${PORTSDIR}/audio/eawpats .endif .if defined(WITHOUT_X11) CONFIGURE_ARGS+= --without-x11 PLIST_SUB+= XORG="@comment " .else USE_XORG= xxf86dga xxf86vm xpm USE_GNOME= desktopfileutils CONFIGURE_ARGS+= --with-x11=yes PLIST_SUB+= XORG="" .endif .if defined(WITH_ADPLUG) LIB_DEPENDS+= adplug-2.2:${PORTSDIR}/audio/libadplug CONFIGURE_ARGS+= --with-adplug PLIST_SUB+= ADPLUG="" .else PLIST_SUB+= ADPLUG="@comment " CONFIGURE_ARGS+= --without-adplug .endif .if defined(WITH_SDL) USE_SDL= sound USE_GNOME+= desktopfileutils CONFIGURE_ARGS+= --with-sdl=yes PLIST_SUB+= SDL="" .else CONFIGURE_ARGS+= --with-sdl=no PLIST_SUB+= SDL="@comment " .endif .if defined(WITH_SDL) || defined(WITH_X11) PLIST_SUB+= DESKTOP="" .else PLIST_SUB+= DESKTOP="@comment " .endif .if defined(WITH_FLAC) LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac CONFIGURE_ARGS+= --with-flac PLIST_SUB+= FLAC="" .else PLIST_SUB+= FLAC="@comment " CONFIGURE_ARGS+= --without-flac .endif .if defined(NOPORTDOCS) MAKE_ENV+= DOCS="\#" .endif post-patch: @${REINPLACE_CMD} -e 's|/etc/.*\.cfg|${TIMIDITY_CFG}|' \ ${WRKSRC}/playgmi/gmitimidity.c # conflicts with fnmatch.h from security/heimdal @${REINPLACE_CMD} -e 's|<\(fnmatch.h\)>|"/usr/include/\1"|' \ ${WRKSRC}/filesel/adb.c \ ${WRKSRC}/filesel/pfilesel.c .include c-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* MASTER_SITES cleanup.mat2015-05-141-2/+1
* Make fonts repecting XDGbapt2015-03-223-13/+13
* chinese/kcfonts: Yes, it really is jobs unsafe. Believe me.marino2014-08-211-1/+1
* 1: Stagify.vanilla2014-08-08