Index: head/archivers/file-roller/Makefile =================================================================== --- head/archivers/file-roller/Makefile (revision 394777) +++ head/archivers/file-roller/Makefile (revision 394778) @@ -1,58 +1,54 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= file-roller PORTVERSION= 3.16.3 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= archivers gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Archive manager for zip files, tar, etc BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar \ unzip:${PORTSDIR}/archivers/unzip PORTSCOUT= limitw:1,even USES= desktop-file-utils gettext gmake libarchive libtool \ pathfix pkgconfig tar:xz USE_GNOME= gtk30 intlhack introspection:build USE_XORG= sm INSTALLS_ICONS= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-packagekit INSTALL_TARGET= install-strip PORTDOCS= AUTHORS NEWS README TODO ChangeLog GLIB_SCHEMAS= org.gnome.FileRoller.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= NAUTILUS OPTIONS_DEFAULT=NAUTILUS NAUTILUS_DESC= Enable Nautilus extension NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_CONFIGURE_ENABLE= nautilus-actions post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/fr-command-tar.c \ ${WRKSRC}/src/fr-command-zip.c -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor -.endif .include Index: head/archivers/php5-snappy/Makefile =================================================================== --- head/archivers/php5-snappy/Makefile (revision 394777) +++ head/archivers/php5-snappy/Makefile (revision 394778) @@ -1,38 +1,32 @@ # Created by: Melvyn Sopacua # $FreeBSD$ PORTNAME= php5-snappy PORTVERSION= 0.0.2 PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= GOOGLE_CODE PROJECTHOST= php-snappy DISTNAME= ${PROJECTHOST}-${PORTVERSION} MAINTAINER= melvyn@magemana.nl COMMENT= PHP extension for the snappy compression algorithm LICENSE= BSD2CLAUSE LIB_DEPENDS+= libsnappy.so:${PORTSDIR}/archivers/snappy CONFIGURE_ARGS+= --with-snappy-includedir=${LOCALBASE}/include USE_PHP= yes USE_PHPEXT= yes PHP_MODNAME= snappy WRKSRC= ${WRKDIR}/${PROJECTHOST} OPTIONS_DEFINE= TEST -.include -test: build +post-build-TEST-on: @(cd ${WRKSRC} && ${MAKE} ${MAKE_ENV} NO_INTERACTION=yes ${.TARGET}) -.if !empty(${PORT_OPTIONS:MTEST}) -post-stage: test - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so -.else post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/snappy.so -.endif .include Index: head/archivers/xarchiver/Makefile =================================================================== --- head/archivers/xarchiver/Makefile (revision 394777) +++ head/archivers/xarchiver/Makefile (revision 394778) @@ -1,40 +1,35 @@ # Created by: Andreev Maxim # $FreeBSD$ PORTNAME= xarchiver PORTVERSION= 0.5.4 CATEGORIES= archivers MASTER_SITES= SF/${PORTNAME:tl} MAINTAINER= danilo@FreeBSD.org COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools LICENSE= GPLv2 RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils \ 7zr:${PORTSDIR}/archivers/p7zip \ zip:${PORTSDIR}/archivers/zip USES= tar:bzip2 gmake pkgconfig desktop-file-utils USE_GNOME= glib20 gtk20 intltool GNU_CONFIGURE= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CPPFLAGS+= -I${LOCALBASE}/include NLS_LDFLAGS+= -L${LOCALBASE}/lib -.include - -post-patch: -.if empty(PORT_OPTIONS:MDOCS) +post-patch-DOCS-off: @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in -.endif -.if empty(PORT_OPTIONS:MNLS) +post-patch-NLS-off: @${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in -.endif .include Index: head/astro/boinc-astropulse/Makefile =================================================================== --- head/astro/boinc-astropulse/Makefile (revision 394777) +++ head/astro/boinc-astropulse/Makefile (revision 394778) @@ -1,84 +1,79 @@ # Created by: rene # $FreeBSD$ PORTNAME= boinc-astropulse PORTVERSION= 6.01 PORTREVISION= 10 CATEGORIES= astro MASTER_SITES= LOCAL/rene DISTNAME= astropulse-svn-1702 # modified archive, see leftout in top directory MAINTAINER= ports@FreeBSD.org COMMENT= Astropulse for BOINC LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \ ${NONEXISTENT}:${PORTSDIR}/astro/boinc-setiathome-v7:patch RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float GNU_CONFIGURE= yes USES= autoreconf gmake libtool pkgconfig tar:xz WRKSRC= ${WRKDIR}/${DISTNAME}/client CPPFLAGS+= -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib # these must match settings in ${PORTSDIR}/net/boinc-client/Makefile BOINC_CLIENT_USER?= boinc BOINC_CLIENT_GROUP?= nobody BOINC_CLIENT_HOME?= /var/db/boinc OPTIONS_DEFINE= X11 X11_DESC= Build screensaver (requires net/boinc-client with X11) OPTIONS_SUB= yes X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client X11_USES= jpeg X11_USE= GL=gl,glu,glut \ XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm X11_CONFIGURE_ENABLE= graphics -.include +X11_BUILD_DEPENDS_OFF= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client -.if ! ${PORT_OPTIONS:MX11} -BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client -.endif - SETI_WORK!= cd ${.CURDIR}/../boinc-setiathome-v7 && ${MAKE} -V WRKSRC CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" \ BOINC_DIR="${NONEXISTENT}" \ SETI_BOINC_DIR="${SETI_WORK}" CONFIGURE_ARGS+= --disable-static-client \ --with-boinc-platform=${ARCH}-portbld-freebsd SETI_SITE= setiathome.berkeley.edu AP_BINARY= astropulse-${PORTVERSION:S/.0/./}.${ARCH}-portbld-freebsd SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= AP_BINARY=${AP_BINARY} \ AP_VERSION=${PORTVERSION:S/.//} \ SETI_SITE=${SETI_SITE} \ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} PLIST_SUB+= AP_BINARY=${AP_BINARY} \ SETI_SITE=${SETI_SITE} \ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} do-install: ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE} ${INSTALL_PROGRAM} ${WRKSRC}/${AP_BINARY} \ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ -.if ${PORT_OPTIONS:MX11} +do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/ap_graphics \ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ -.endif .include Index: head/astro/boinc-setiathome-v7/Makefile =================================================================== --- head/astro/boinc-setiathome-v7/Makefile (revision 394777) +++ head/astro/boinc-setiathome-v7/Makefile (revision 394778) @@ -1,108 +1,104 @@ # Created by: rene # $FreeBSD$ PORTNAME= boinc-setiathome-v7 PORTVERSION= 7.00 PORTREVISION= 5 CATEGORIES= astro MASTER_SITES= LOCAL/rene DISTNAME= setiathome-svn-1924 # modified archive, see leftout in top directory MAINTAINER= ports@FreeBSD.org COMMENT= Setiathome Enhanced for BOINC LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float USES= tar:xz gmake pkgconfig USE_AUTOTOOLS= autoconf:env automake:env GNU_CONFIGURE= yes CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \ -L${LOCALBASE}/lib .if defined(CPUTYPE) CFLAGS+= -march=${CPUTYPE} .endif # these must match settings in ${PORTSDIR}/net/boinc-client/Makefile BOINC_CLIENT_USER?= boinc BOINC_CLIENT_GROUP?= nobody BOINC_CLIENT_HOME?= /var/db/boinc OPTIONS_DEFINE= X11 X11_DESC= Build screensaver (requires net/boinc-client with X11) OPTIONS_SUB= yes X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client X11_USES= jpeg X11_USE= GL=gl,glu,glut \ XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm X11_CONFIGURE_ENABLE= graphics -.include +X11_BUILD_DEPENDS_OFF= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client -.if ! ${PORT_OPTIONS:MX11} -BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client -.endif - .if ${ARCH} == i386 || ${ARCH} == amd64 # comment out if world is built with clang and port with gcc CFLAGS+= -mtune=native .endif .if !empty(MACHINE_CPU:Maltivec) CONFIGURE_ARGS+= --enable-altivec .endif CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" CONFIGURE_ARGS+= --disable-static-client --disable-server \ --disable-tests \ --with-boinc-platform=${ARCH}-portbld-freebsd SETI_SITE= setiathome.berkeley.edu SETI_BINARY= setiathome-${PORTVERSION:S/.0/./}.${ARCH}-portbld-freebsd SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= SETI_BINARY=${SETI_BINARY} \ SETI_SITE=${SETI_SITE} \ SETI_VERSION=${PORTVERSION:S/.//} \ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} PLIST_SUB+= PREFIX=${PREFIX} \ SETI_BINARY=${SETI_BINARY} \ SETI_SITE=${SETI_SITE} \ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} # str_replace.h is included in newer versions of net/boinc-client, # but it is not needed on FreeBSD post-patch: ${REINPLACE_CMD} -E -e "s|#include \"str_replace.h\"||" \ ${WRKSRC}/client/main.cpp \ ${WRKSRC}/client/sah_gfx.cpp \ ${WRKSRC}/client/seti.cpp \ ${WRKSRC}/client/timecvt.cpp \ ${WRKSRC}/db/xml_util.cpp pre-configure: (cd ${WRKSRC} ; ./_autosetup) do-install: ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE} ${INSTALL_PROGRAM} ${WRKSRC}/client/${SETI_BINARY} \ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ -.if ${PORT_OPTIONS:MX11} +do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/client/seti_graphics \ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ -.endif + .include Index: head/astro/google-earth/Makefile =================================================================== --- head/astro/google-earth/Makefile (revision 394777) +++ head/astro/google-earth/Makefile (revision 394778) @@ -1,86 +1,83 @@ # $FreeBSD$ PORTNAME= google-earth PORTVERSION= 6.0.3.2197 PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= astro deskutils geography MASTER_SITES= http://dl.google.com/earth/client/advanced/previous/:previous \ http://dl.google.com/earth/client/current/:current DISTFILES= GoogleEarthLinux.bin:current DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} EXTRACT_ONLY= # none MAINTAINER= nox@FreeBSD.org COMMENT= Explore, Search, and Discover EXTRACT_DEPENDS= unmakeself:${PORTSDIR}/archivers/unmakeself RESTRICTED= Not really sure about the redistribution terms WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/ OPTIONS_DEFINE= NVIDIA USE_LINUX= yes USE_LINUX_APPS= xorglibs curl USES= perl5 shared-mime-info desktop-file-utils USE_PERL5= patch build #SUB_FILES= bin/googleearth -.include -.include UNMAKESELF= ${LOCALBASE}/bin/unmakeself -.if ${PORT_OPTIONS:MNVIDIA} -RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver -.else -USE_LINUX_APPS+= dri libpciaccess -LIBGL_ALWAYS_SOFTWARE=LIBGL_ALWAYS_SOFTWARE=yes -.endif +NVIDIA_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver +NVIDIA_USE_OFF= LINUX_APPS=dri,libpciaccess # Fixed by the first post-patch target line? Also, linprocfs needs to be mounted. #.if ${OSVERSION} >= 900000 && ${ARCH} == "amd64" #BROKEN= seems to crash on >= 9.x/amd64: http://www.freebsd.org/cgi/query-pr.cgi?pr=160422 #.endif do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DIST_SUBDIR}/${_DISTFILES} ${WRKSRC} @cd ${WRKSRC} && ${UNMAKESELF} ${_DISTFILES} && ${RM} -f ${_DISTFILES} @cd ${WRKSRC} && ${TAR} xf googleearth-data.tar && ${RM} -f googleearth-data.tar @cd ${WRKSRC} && ${TAR} xf googleearth-linux-x86.tar && ${RM} -f googleearth-linux-x86.tar post-patch: @${REINPLACE_CMD} -e '/OS.*=/s|linux|FreeBSD|' ${WRKSRC}/drivers.ini - @${REINPLACE_CMD} -e 's|^# Set the home.*|GOOGLEEARTH_DATA_PATH=${DATADIR}|; \ - s|%%LIBGL_ALWAYS_SOFTWARE%%|${LIBGL_ALWAYS_SOFTWARE}|' ${WRKSRC}/bin/googleearth + @${REINPLACE_CMD} -e 's|^# Set the home.*|GOOGLEEARTH_DATA_PATH=${DATADIR}|' ${WRKSRC}/bin/googleearth @${REINPLACE_CMD} -i "" -e "s|^# Let's boogie.*|rm -f ${LINUXBASE}\$${HOME}/.googleearth/instance-running-lock|" ${WRKSRC}/bin/googleearth @${REINPLACE_CMD} -i "" -e 's/^TMPPATH.*/exit 0/' ${WRKSRC}/postinstall.sh @${REINPLACE_CMD} -i "" -e 's|\"\$$SETUP_INSTALLPATH/|\"${WRKSRC}/|' ${WRKSRC}/postinstall.sh @${REINPLACE_CMD} -i "" -e 's|\$$SETUP_INSTALLPATH/googleearth |${PREFIX}/bin/googleearth |' ${WRKSRC}/postinstall.sh ${RM} ${WRKSRC}/libcurl.so.4 ${PERL} -i -pe 's|/lib/ld-lsb.so.3\0\0\0|/lib/ld-linux.so.2\0|' ${WRKSRC}/googleearth-bin +post-patch-NVIDIA-on: + @${REINPLACE_CMD} 's|%%LIBGL_ALWAYS_SOFTWARE%%||' ${WRKSRC}/bin/googleearth +post-patch-NVIDIA-off: + @${REINPLACE_CMD} 's|%%LIBGL_ALWAYS_SOFTWARE%%|LIBGL_ALWAYS_SOFTWARE=yes|' ${WRKSRC}/bin/googleearth do-build: @${SETENV} SETUP_INSTALLPATH=${DATADIR} ${WRKSRC}/postinstall.sh @cd ${WRKSRC} && ${RM} -rf setup.* preuninstall.sh postinstall.sh \ bin/googleearth.orig do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/googleearth-mimetypes.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages/ ${INSTALL_DATA} ${WRKSRC}/Google-googleearth.desktop \ ${STAGEDIR}${PREFIX}/share/applications/googleearth.desktop ${CP} -rp ${WRKSRC}/* ${STAGEDIR}${DATADIR} ${RM} -f ${STAGEDIR}${DATADIR}/googleearth-mimetypes.xml \ ${STAGEDIR}${DATADIR}/googleearth.desktop ${INSTALL_SCRIPT} ${FILESDIR}/browserwrapper \ ${STAGEDIR}${DATADIR}/bin/ ${LN} -sf ${DATADIR}/bin/googleearth \ ${STAGEDIR}${PREFIX}/bin/ -.include +.include Index: head/astro/gpsd/Makefile =================================================================== --- head/astro/gpsd/Makefile (revision 394777) +++ head/astro/gpsd/Makefile (revision 394778) @@ -1,272 +1,151 @@ # Created by: Anton Karpov # $FreeBSD$ PORTNAME= gpsd PORTVERSION= 3.14 PORTREVISION= 3 CATEGORIES= astro geography MASTER_SITES= SAVANNAH MAINTAINER= glebius@FreeBSD.org COMMENT= Daemon that monitors one or more GPSes attached to a host computer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \ xsltproc:${PORTSDIR}/textproc/libxslt USES= cpe pathfix pkgconfig python scons CPE_VENDOR= gpsd_project USE_RC_SUBR= gpsd MAKE_ARGS= prefix="${PREFIX}" mandir="man" pkgconfig="libdata/pkgconfig" MAKE_ENV= DESTDIR="${STAGEDIR}" OPTIONS_DEFINE= AIVDM ASHTECH CPPBIND DBUS EARTHMATE EVERMORE FURY FV18 GARMIN \ GARMINTXT GEOSTAR GPSCLOCK IPV6 ITRAX MTK NAVCOM NCURSES \ NETFEED NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE \ PASSTHROUGH PPS PROFILING RECONFIGURE RTCM104V2 RTCM104V3 \ SHMEXPORT SIRF SOCKEXPORT SUPERSTARII TIMING TNT TRIPMATE \ TSIP QTBIND UBLOX USB OPTIONS_DEFAULT= AIVDM ASHTECH CPPBIND EARTHMATE EVERMORE FURY FV18 GARMIN \ GARMINTXT GEOSTAR GPSCLOCK ITRAX NAVCOM NCURSES NETFEED \ NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE PASSTHROUGH \ RECONFIGURE RTCM104V2 RTCM104V3 SHMEXPORT SIRF SOCKEXPORT \ SUPERSTARII TIMING TNT TRIPMATE TSIP UBLOX USB AIVDM_DESC= Aivdm support ASHTECH_DESC= Ashtech support CPPBIND_DESC= Build C++ bindings EARTHMATE_DESC= DeLorme EarthMate Zodiac support EVERMORE_DESC= Evermore binary support FURY_DESC= Jackson Labs Fury and Firefly support FV18_DESC= San Jose Navigation FV-18 support GARMIN_DESC= Garmin kernel driver support GARMINTXT_DESC= Garmin Simple Text support GEOSTAR_DESC= Geostar Protocol support GPSCLOCK_DESC= GPSclock support ITRAX_DESC= iTrax support MTK_DESC= MTK-3301 support NAVCOM_DESC= Navcom support NCURSES_DESC= Build with ncurses NETFEED_DESC= Build support for handling TCP/IP data sources NMEA0183_DESC= NMEA0183 support NTP_DESC= NTP time hinting support NTPSHM_DESC= NTP time hinting support via shared memory NTRIP_DESC= NTRIP support OCEANSERVER_DESC= Oceanserver support ONCORE_DESC= Motorola OnCore chipset support PASSTHROUGH_DESC= Build support for passing through JSON PPS_DESC= PPS time syncing support PROFILING_DESC= Profiling support RECONFIGURE_DESC= Allow gpsd to change device settings RTCM104V2_DESC= rtcm104v2 support RTCM104V3_DESC= rtcm104v3 support SHMEXPORT_DESC= Enable export via shared memory SIRF_DESC= SiRF chipset support SOCKEXPORT_DESC= Enable export over sockets SUPERSTARII_DESC= SuperStarII support TIMING_DESC= Build latency timing support TNT_DESC= True North Technologies support TRIPMATE_DESC= DeLorme TripMate support TSIP_DESC= Trimble TSIP support QTBIND_DESC= build QT bindings UBLOX_DESC= u-blox protocol support USB_DESC= libusb support for USB devices -.include - # Options related to GPS protocols -.if ! ${PORT_OPTIONS:MNMEA0183} -MAKE_ARGS+= nmea0183=no -.endif +NMEA0183_MAKE_ARGS_OFF= nmea0183=no +ASHTECH_MAKE_ARGS_OFF= ashtech=no +EARTHMATE_MAKE_ARGS_OFF= earthmate=no +EVERMORE_MAKE_ARGS_OFF= evermore=no +FURY_MAKE_ARGS_OFF= fury=no +FV18_MAKE_ARGS_OFF= fv18=no +GARMIN_MAKE_ARGS_OFF= garmin=no +GARMINTXT_MAKE_ARGS_OFF= garmintxt=no +GEOSTAR_MAKE_ARGS_OFF= geostar=no +ITRAX_MAKE_ARGS_OFF= itrax=no +MTK_MAKE_ARGS_OFF= mtk3301=no +NAVCOM_MAKE_ARGS_OFF= navcom=no +ONCORE_MAKE_ARGS_OFF= oncore=no +SIRF_MAKE_ARGS_OFF= sirf=no +SUPERSTARII_MAKE_ARGS_OFF= superstar2=no +TNT_MAKE_ARGS_OFF= tnt=no +TRIPMATE_MAKE_ARGS_OFF= tripmate=no +TSIP_MAKE_ARGS_OFF= tsip=no +UBLOX_MAKE_ARGS_OFF= ublox=no -.if ! ${PORT_OPTIONS:MASHTECH} -MAKE_ARGS+= ashtech=no -.endif - -.if ! ${PORT_OPTIONS:MEARTHMATE} -MAKE_ARGS+= earthmate=no -.endif - -.if ! ${PORT_OPTIONS:MEVERMORE} -MAKE_ARGS+= evermore=no -.endif - -.if ! ${PORT_OPTIONS:MFURY} -MAKE_ARGS+= fury=no -.endif - -.if ! ${PORT_OPTIONS:MFV18} -MAKE_ARGS+= fv18=no -.endif - -.if ! ${PORT_OPTIONS:MGARMIN} -MAKE_ARGS+= garmin=no -.endif - -.if ! ${PORT_OPTIONS:MGARMINTXT} -MAKE_ARGS+= garmintxt=no -.endif - -.if ! ${PORT_OPTIONS:MGEOSTAR} -MAKE_ARGS+= geostar=no -.endif - -.if ! ${PORT_OPTIONS:MITRAX} -MAKE_ARGS+= itrax=no -.endif - -.if ! ${PORT_OPTIONS:MMTK} -MAKE_ARGS+= mtk3301=no -.endif - -.if ! ${PORT_OPTIONS:MNAVCOM} -MAKE_ARGS+= navcom=no -.endif - -.if ! ${PORT_OPTIONS:MONCORE} -MAKE_ARGS+= oncore=no -.endif - -.if ! ${PORT_OPTIONS:MSIRF} -MAKE_ARGS+= sirf=no -.endif - -.if ! ${PORT_OPTIONS:MSUPERSTARII} -MAKE_ARGS+= superstar2=no -.endif - -.if ! ${PORT_OPTIONS:MTNT} -MAKE_ARGS+= tnt=no -.endif - -.if ! ${PORT_OPTIONS:MTRIPMATE} -MAKE_ARGS+= tripmate=no -.endif - -.if ! ${PORT_OPTIONS:MTSIP} -MAKE_ARGS+= tsip=no -.endif - -.if ! ${PORT_OPTIONS:MUBLOX} -MAKE_ARGS+= ublox=no -.endif - # Options related to Non-GPS protocols -.if ! ${PORT_OPTIONS:MAIVDM} -MAKE_ARGS+= aivdm=no -.endif +AIVDM_MAKE_ARGS_OFF= aivdm=no +GPSCLOCK_MAKE_ARGS_OFF= gpsclock=no +NTRIP_MAKE_ARGS_OFF= ntrip=no +OCEANSERVER_MAKE_ARGS_OFF= oceanserver=no +RTCM104V2_MAKE_ARGS_OFF= rtcm104v2=no +RTCM104V3_MAKE_ARGS_OFF= rtcm104v3=no -.if ! ${PORT_OPTIONS:MGPSCLOCK} -MAKE_ARGS+= gpsclock=no -.endif - -.if ! ${PORT_OPTIONS:MNTRIP} -MAKE_ARGS+= ntrip=no -.endif - -.if ! ${PORT_OPTIONS:MOCEANSERVER} -MAKE_ARGS+= oceanserver=no -.endif - -.if ! ${PORT_OPTIONS:MRTCM104V2} -MAKE_ARGS+= rtcm104v2=no -.endif - -.if ! ${PORT_OPTIONS:MRTCM104V3} -MAKE_ARGS+= rtcm104v3=no -.endif - # Time service -.if ! ${PORT_OPTIONS:MNTP} -MAKE_ARGS+= ntp=no -.endif +NTP_MAKE_ARGS_OFF= ntp=no +NTPSHM_MAKE_ARGS_OFF= ntpshm=no +PPS_MAKE_ARGS_OFF= pps=no +PPS_IMPLIES= NTPSHM -.if ! ${PORT_OPTIONS:MNTPSHM} -MAKE_ARGS+= ntpshm=no -.endif - -.if ! ${PORT_OPTIONS:MPPS} -MAKE_ARGS+= pps=no -.else -. if ! ${PORT_OPTIONS:MNTPSHM} -IGNORE= PPS requires NTPSHM -. endif -.endif - # Export methods -.if ! ${PORT_OPTIONS:MSOCKEXPORT} -MAKE_ARGS+= socket_export=no -.endif +SOCKEXPORT_MAKE_ARGS_OFF= socket_export=no +DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus +DBUS_MAKE_ARGS= dbus_export=yes +SHMEXPORT_MAKE_ARGS_OFF= shm_export=no -.if ${PORT_OPTIONS:MDBUS} -LIB_DEPENDS+= libdbus-1.so:${PORTSDIR}/devel/dbus -MAKE_ARGS+= dbus_export=yes -.endif - -.if ! ${PORT_OPTIONS:MSHMEXPORT} -MAKE_ARGS+= shm_export=no -.endif - # Communication -.if ! ${PORT_OPTIONS:MUSB} -MAKE_ARGS+= usb=no -.endif +USB_MAKE_ARGS_OFF= usb=no +IPV6_MAKE_ARGS_OFF= ipv6=no +NETFEED_MAKE_ARGS_OFF= netfeed=no +PASSTHROUGH_MAKE_ARGS_OFF= passthrough=no -.if ! ${PORT_OPTIONS:MIPV6} -MAKE_ARGS+= ipv6=no -.endif - -.if ! ${PORT_OPTIONS:MNETFEED} -MAKE_ARGS+= netfeed=no -.endif - -.if ! ${PORT_OPTIONS:MPASSTHROUGH} -MAKE_ARGS+= passthrough=no -.endif - # Other daemon options -.if ! ${PORT_OPTIONS:MTIMING} -MAKE_ARGS+= timing=no -.endif +TIMING_MAKE_ARGS_OFF= timing=no # Client-side options -.if ! ${PORT_OPTIONS:MNCURSES} -MAKE_ARGS+= ncurses=no -.endif +NCURSES_MAKE_ARGS_OFF= ncurses=no +QTBIND_USE= QT4=network +QTBIND_MAKE_ARGS= qt=yes +QTBIND_MAKE_ARGS_OFF= qt=no +QTBIND_PLIST_SUB= QTBIND="" +QTBIND_PLIST_SUB_OFF= QTBIND="@comment " +RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no +CPPBIND_MAKE_ARGS_OFF= libgpsmm=no -.if ${PORT_OPTIONS:MQTBIND} -USE_QT4= network -MAKE_ARGS+= qt=yes -PLIST_SUB+= QTBIND="" -.else -MAKE_ARGS+= qt=no -PLIST_SUB+= QTBIND="@comment " -.endif - -.if ! ${PORT_OPTIONS:MRECONFIGURE} -MAKE_ARGS+= reconfigure=no -.endif - -.if ! ${PORT_OPTIONS:MCPPBIND} -MAKE_ARGS+= libgpsmm=no -.endif - # Build control -.if ${PORT_OPTIONS:MPROFILING} -MAKE_ARGS+= profiling=yes -.endif +PROFILING_MAKE_ARGS= profiling=yes # generates .py[co] files for installed modules # if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted # with these files when module is imported from root user post-install: (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) .include Index: head/astro/gpsdrive/Makefile =================================================================== --- head/astro/gpsdrive/Makefile (revision 394777) +++ head/astro/gpsdrive/Makefile (revision 394778) @@ -1,48 +1,45 @@ # Created by: Marco Molteni # $FreeBSD$ PORTNAME= gpsdrive PORTVERSION= 2.09 PORTREVISION= 16 CATEGORIES= astro geography MASTER_SITES= http://www.gpsdrive.de/packages/ \ LOCAL/beech MAINTAINER= ports@FreeBSD.org COMMENT= GPS navigation system LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USES= gmake libtool perl5 pkgconfig shebangfix SHEBANG_FILES= src/gpsfetchmap.pl src/geocache2way src/gpssmswatch \ src/gpspoint2gpsdrive.pl src/gpsreplay src/wpcvt USE_GNOME= gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-garmin CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lgmodule-2.0 -lm INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_USES_OFF= gettext-tools -.include - post-patch: @${REINPLACE_CMD} 's/test "$$CC" = "gcc"/false/' ${WRKSRC}/configure -.if empty(PORT_OPTIONS:MNLS) +post-patch-NLS-off: @${REINPLACE_CMD} 's|SUBDIRS = src po man|SUBDIRS = src man|' \ ${WRKSRC}/Makefile.in -.endif .include Index: head/astro/gpsman/Makefile =================================================================== --- head/astro/gpsman/Makefile (revision 394777) +++ head/astro/gpsman/Makefile (revision 394778) @@ -1,56 +1,50 @@ # Created by: David Wolfskill # $FreeBSD$ PORTNAME= gpsman PORTVERSION= 6.4.4.2 CATEGORIES= astro tk geography MASTER_SITES= SF/${PORTNAME}/distrib MAINTAINER= david@catwhisker.org COMMENT= Tcl/Tk-based GPS management utility OPTIONS_DEFINE= DOCS USES+= tk:wrapper,run tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GPSMANDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB+= GPSMANDIR=${GPSMANDIR:S/${PREFIX}\///} NO_BUILD= yes PORTDOCS= * -.include - GPSMAN_DEFAULT_PORT?= /dev/cuau0 -.if ${PORT_OPTIONS:MDOCS} -SUB_FILES= pkg-message -.endif +DOCS_SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \ ${WRKSRC}/util/exerciser.tcl \ ${WRKSRC}/manual/html/info/l_realtime.doc.txt \ ${WRKSRC}/gpsman.tcl @${REINPLACE_CMD} -e "s:%%WISH%%:${WISH}:; s:%%GPSMANDIR%%:${GPSMANDIR}:g" ${WRKSRC}/gpsman.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${STAGEDIR}${PREFIX}/bin/gpsman ${INSTALL_MAN} ${WRKSRC}/man/man1/gpsman.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${GPSMANDIR}/gmsrc/gmicons ${STAGEDIR}${GPSMANDIR}/util ${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${STAGEDIR}${GPSMANDIR}/gmsrc ${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${STAGEDIR}${GPSMANDIR}/gmsrc/gmicons ${INSTALL_DATA} ${WRKSRC}/util/*.sh ${STAGEDIR}${GPSMANDIR}/util ${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${STAGEDIR}${GPSMANDIR}/util -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/info ${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${STAGEDIR}${DOCSDIR}/html .for i in gif txt ps ${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.${i} ${STAGEDIR}${DOCSDIR}/html/info .endfor - @${CAT} ${PKGMESSAGE} -.endif .include Index: head/astro/merkaartor/Makefile =================================================================== --- head/astro/merkaartor/Makefile (revision 394777) +++ head/astro/merkaartor/Makefile (revision 394778) @@ -1,60 +1,53 @@ # Created by: Slaven Rezic # $FreeBSD$ PORTNAME= merkaartor PORTVERSION= 0.18.1 PORTREVISION= 8 CATEGORIES= astro MASTER_SITES= http://merkaartor.be/attachments/download/301/ \ https://secure.ohos.nl/downloads/ MAINTAINER= dev2@heesakkers.info COMMENT= Openstreetmap mapping program LICENSE= GPLv2 LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \ libproj.so:${PORTSDIR}/graphics/proj BROKEN= does not build with GDAL 2.0 USES= qmake tar:bzip2 USE_LDCONFIG= yes USE_QT4= uic_build moc_build rcc_build \ gui network svg webkit xml imageformats script scripttools OPTIONS_DEFINE= DEBUG GEOIMAGE NLS ZBAR OPTIONS_DEFAULT= GEOIMAGE GEOIMAGE_DESC= Enable geotagged images (needs exiv2) GEOIMAGE_QMAKE_ON= GEOIMAGE=1 GEOIMAGE_LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 ZBAR_DESC= Read barcodes from walking papers (BROKEN) ZBAR_QMAKE_ON= ZBAR=1 ZBAR_LIB_DEPENDS= libzbar.so:${PORTSDIR}/graphics/zbar +ZBAR_BROKEN= Does not build with option ZBAR selected DEBUG_QMAKE_OFF= NODEBUG=1 RELEASE=1 +NLS_USE= QT4=linguist_build + OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MZBAR} -BROKEN= Does not build with option ZBAR selected -.endif - -.if ${PORT_OPTIONS:MNLS} -USE_QT4+= linguist_build - -pre-build: +pre-build-NLS-on: @cd ${WRKSRC}/translations && ${LRELEASE} ../src/src.pro -post-install: +post-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/translations @(cd ${WRKSRC}/translations && ${COPYTREE_SHARE} "merkaartor_*.qm" \ ${STAGEDIR}${DATADIR}/translations) -.endif .include Index: head/astro/osmium/Makefile =================================================================== --- head/astro/osmium/Makefile (revision 394777) +++ head/astro/osmium/Makefile (revision 394778) @@ -1,68 +1,62 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= osmium PORTVERSION= git20130522 PORTREVISION= 10 CATEGORIES= astro geography devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= C++/Javascript framework for working with OSM files LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal \ libboost_regex.so:${PORTSDIR}/devel/boost-libs \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libgeos.so:${PORTSDIR}/graphics/geos \ libprotobuf.so:${PORTSDIR}/devel/protobuf BUILD_DEPENDS= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash RUN_DEPENDS= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash USE_GITHUB= yes GH_ACCOUNT= joto GH_TAGNAME= 1a5bb26 CXXFLAGS+= -I${LOCALBASE}/include \ -L${LOCALBASE}/lib NO_ARCH= yes +NO_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= JAVASCRIPT DOXYGEN DOCS OPTIONS_DEFAULT=JAVASCRIPT JAVASCRIPT_DESC=Enable javascript support JAVASCRIPT_LIB_DEPENDS= libv8.so:${PORTSDIR}/lang/v8 \ libshp.so:${PORTSDIR}/devel/shapelib \ libicuuc.so:${PORTSDIR}/devel/icu -.include -.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen -.endif +DOXYGEN_IMPLIES= DOCS +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen -do-build: -.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} +do-build-DOXYGEN-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKR_ARGS} doc -.else - ${TRUE} -.endif regression-test: cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${SH} run_tests.sh do-install: cd ${WRKSRC}/include && ${COPYTREE_SHARE} '${PORTNAME} ${PORTNAME}.hpp' \ ${STAGEDIR}${PREFIX}/include/ ${MKDIR} ${STAGEDIR}${DOCSDIR} -.if ${PORT_OPTIONS:MDOXYGEN} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/ -.endif ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/THANKS \ ${WRKSRC}/NOTES_FOR_DEVELOPERS ${STAGEDIR}${DOCSDIR}/ +do-install-DOXYGEN-on: + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/ .include Index: head/astro/viking/Makefile =================================================================== --- head/astro/viking/Makefile (revision 394777) +++ head/astro/viking/Makefile (revision 394778) @@ -1,87 +1,82 @@ # Created by: David Le Brun # $FreeBSD$ PORTNAME= viking PORTVERSION= 1.5.1 PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= koalative@gmail.com COMMENT= Program to manage GPS data (tracks, waypoints, etc.) LICENSE= GPLv2 BROKEN= Fails to build BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \ libpcre.so:${PORTSDIR}/devel/pcre \ libcurl.so:${PORTSDIR}/ftp/curl \ libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel USES= gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2 USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender USE_GNOME= cairo gnomedocutils gtk20 USE_PERL5= run GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD OPTIONS_DEFAULT= GEOTAG GPSD MERKAATOR OPTIONS_MULTI= OpenStreetMap-Editor OPTIONS_MULTI_OpenStreetMap-Editor= JOSM MERKAATOR GEOCACHES_DESC= GeoCaches Acquire support GEOTAG_DESC= Geotag support GPSD_DESC= Realtime GPS tracking JOSM_DESC= Edit OpenStreetMap via JOSM MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor OPTIONS_SUB= yes GEOCACHES_CONFIGURE_ENABLE= geocaches +GEOCACHES_SUB_FILES= pkg-message NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext GEOTAG_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif GEOTAG_CONFIGURE_ENABLE=geotag GPSD_LIB_DEPENDS= libgpsd.so:${PORTSDIR}/astro/gpsd GPSD_CONFIGURE_ENABLE= realtime-gps-tracking JOSM_RUN_DEPENDS= josm:${PORTSDIR}/astro/josm MERKAATOR_RUN_DEPENDS= merkaartor:${PORTSDIR}/astro/merkaartor - -.include - -.if ${PORT_OPTIONS:MGEOCACHES} -SUB_FILES+= pkg-message -.endif post-patch: @${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \ ${WRKSRC}/src/viking.desktop.in post-install: ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/astro/xtide/Makefile =================================================================== --- head/astro/xtide/Makefile (revision 394777) +++ head/astro/xtide/Makefile (revision 394778) @@ -1,98 +1,96 @@ # Created by: Brion Moss # $FreeBSD$ PORTNAME= xtide PORTVERSION= 2.14 CATEGORIES= astro geography MASTER_SITES= ftp://ftp.flaterco.com/xtide/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${TCD_DISTNAME}${EXTRACT_SUFX} \ ${HARM_DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Harmonic tide clock and tide predictor LICENSE= GPLv3 LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png USES= compiler:c++0x gmake libtool tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_tcd_h=yes \ ac_cv_lib_tcd_get_tide_db_header=yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes CFLAGS+= -Wno-deprecated-declarations CPPFLAGS+= -I${TCD_WRKSRC} $$(libpng-config --I_opts) \ -I${LOCALBASE}/include LDFLAGS+= -L${TCD_WRKSRC}/.libs $$(libpng-config --L_opts) \ -L${LOCALBASE}/lib OPTIONS_DEFINE= WVS X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes WVS_DESC= Use world vector shoreline data (37MB) WVS_DISTFILES= ${WVS_DISTNAME}${EXTRACT_SUFX} X11_USE= xorg=xaw,xpm X11_CONFIGURE_WITH= x TCD_DISTNAME= libtcd-2.2.6-r2 TCD_WRKSRC= ${WRKDIR}/${TCD_DISTNAME:C/-r[0-9]+//} HARM_DISTNAME= harmonics-dwf-20141224-free HARM_WRKSRC= ${WRKDIR}/${HARM_DISTNAME:C/-free//} WVS_DISTNAME= wvs .include .if ${PORT_OPTIONS:MX11} DESKTOP_ENTRIES="XTide" "" "${PREFIX}/share/pixmaps/xtide.png" "xtide" "" "" .endif post-patch: @${REINPLACE_CMD} -e \ '/if test/s|==|=|g' ${TCD_WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|"/etc/|"${PREFIX}/etc/| ; \ s| /etc/| ${PREFIX}/etc/|' ${WRKSRC}/libxtide/Global.cc pre-configure: @(cd ${TCD_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ CC="${CC}" CFLAGS="${CFLAGS} -fPIC" \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -fPIC" \ ${SH} ./configure ${CONFIGURE_ARGS}) pre-build: @(cd ${TCD_WRKSRC} && ${DO_MAKE_BUILD} ${ALL_TARGET}) post-build: @${ECHO_CMD} -n > ${WRKDIR}/xtide.conf.sample @${ECHO_CMD} "${DATADIR}/harmonics.tcd" >> ${WRKDIR}/xtide.conf.sample @${ECHO_CMD} "${DATADIR}/wvs" >> ${WRKDIR}/xtide.conf.sample @${LN} -sf ${HARM_DISTNAME}.tcd ${HARM_WRKSRC}/harmonics.tcd @${LN} -sf icon_48x48_orig.png ${WRKSRC}/iconsrc/xtide.png pre-install: @(cd ${TCD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) post-install: (cd ${WRKDIR} && ${INSTALL_DATA} xtide.conf.sample \ ${STAGEDIR}${PREFIX}/etc) @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${HARM_WRKSRC} && ${INSTALL_DATA} harmonics.tcd \ ${STAGEDIR}${DATADIR}) -.if ${PORT_OPTIONS:MWVS} +post-install-WVS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/wvs (cd ${WRKDIR} && ${INSTALL_DATA} wvs*.dat \ ${STAGEDIR}${DATADIR}/wvs) -.endif -.if ${PORT_OPTIONS:MX11} +post-install-X11-on: (cd ${WRKSRC}/iconsrc && ${INSTALL_DATA} xtide.png \ ${STAGEDIR}${PREFIX}/share/pixmaps) -.endif .include Index: head/audio/abraca/Makefile =================================================================== --- head/audio/abraca/Makefile (revision 394777) +++ head/audio/abraca/Makefile (revision 394778) @@ -1,42 +1,38 @@ # Created by: Olivier Smedts # $FreeBSD$ PORTNAME= abraca PORTVERSION= 0.8.2 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} MAINTAINER= madpilot@FreeBSD.org COMMENT= GTK2 client for the XMMS2 music player BUILD_DEPENDS= ${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2 \ libgee-0.8.so:${PORTSDIR}/devel/libgee RUN_DEPENDS= gnome-themes-standard>=3.0.0:${PORTSDIR}/x11-themes/gnome-themes-standard \ gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme USES= pkgconfig waf tar:bzip2 USE_GNOME= gtk30 intltool MAKE_ARGS= MANDIR=${MANPREFIX}/man CONFIGURE_ARGS+= --prefix=${PREFIX} \ --mandir=${PREFIX}/man OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS OPTIONS_SUB= yes NLS_USES= gettext -.include - -post-patch: -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -e '/\.load(/s/ intltool//' \ -e '/recurse/s/ po//' ${WRKSRC}/wscript -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/audio/alsa-plugins/Makefile =================================================================== --- head/audio/alsa-plugins/Makefile (revision 394777) +++ head/audio/alsa-plugins/Makefile (revision 394778) @@ -1,69 +1,64 @@ # Created by: Aragon Gouveia # $FreeBSD$ PORTNAME= alsa-plugins PORTVERSION= 1.0.29 CATEGORIES= audio MASTER_SITES= ALSA/plugins \ GENTOO MAINTAINER= jbeich@FreeBSD.org COMMENT= ALSA compatibility library plugins LICENSE= LGPL21 # or any later version LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib GNU_CONFIGURE= yes USES= alias libtool:keepla pkgconfig tar:bzip2 EXTRA_PATCHES+= ${FILESDIR}/alsa-plugins.patch INSTALL_TARGET= install-strip CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFAULT=IO_PTR OPTIONS_DEFINE= JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX OPTIONS_SUB= yes OPTIONS_GROUP= OSS OPTIONS_GROUP_OSS=IO_PTR BLKCNT_P2 BUFSZ_P2 VERBOSE IO_PTR_DESC= Precise playback/recording pointer BLKCNT_P2_DESC= Restrict number of fragments to ^2 aligned BUFSZ_P2_DESC= Restrict buffer size to ^2 aligned VERBOSE_DESC= Print debugging messages IO_PTR_CFLAGS= -DFREEBSD_OSS_USE_IO_PTR BLKCNT_P2_CFLAGS=-DFREEBSD_OSS_BLKCNT_P2 BUFSZ_P2_CFLAGS=-DFREEBSD_OSS_BUFSZ_P2 VERBOSE_CFLAGS= -DFREEBSD_OSS_DEBUG_VERBOSE JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CONFIGURE_ENABLE= jack +JACK_IMPLIES= SAMPLERATE FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE=avcodec FFMPEG_CPPFLAGS= -I${LOCALBASE}/include PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE=pulseaudio SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE=samplerate SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex SPEEX_CONFIGURE_ON= --with-speex=lib SPEEX_CONFIGURE_OFF= --without-speex - -.include - -.if ${PORT_OPTIONS:MJACK} && empty(PORT_OPTIONS:MSAMPLERATE) -IGNORE= JACK audio support requires SAMPLERATE -.endif post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/s/-ldl//g' \ -e '/lt_cv_dlopen/s/-ldl//g' \ ${WRKSRC}/configure .include Index: head/audio/alure/Makefile =================================================================== --- head/audio/alure/Makefile (revision 394777) +++ head/audio/alure/Makefile (revision 394778) @@ -1,72 +1,69 @@ # Created by: nemysis # $FreeBSD$ PORTNAME= alure PORTVERSION= 1.2 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://kcat.strangesoft.net/alure-releases/ MAINTAINER= nemysis@FreeBSD.org COMMENT= Utility library to help manage common tasks with OpenAL LICENSE= MIT USES= cmake openal:soft pkgconfig USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_STATIC:BOOL=FALSE PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS DUMB EXAMPLES FLAC FLUIDSYNTH MPG123 MODPLUG VORBIS SNDFILE OPTIONS_DEFAULT= DUMB FLAC VORBIS SNDFILE DUMB_DESC= DUMB audio library decoding support FLUIDSYNTH_DESC= MIDI support via FluidSynth MODPLUG_DESC= MOD decoding via ModPlug DOCS_BUILD_DEPENDS= NaturalDocs:${PORTSDIR}/devel/naturaldocs DUMB_BUILD_DEPENDS= ${LOCALBASE}/include/dumb.h:${PORTSDIR}/audio/dumb DUMB_CMAKE_ON= -DDUMB:BOOL=TRUE DUMB_CMAKE_OFF= -DDUMB:BOOL=FALSE FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac FLAC_CMAKE_ON= -DFLAC:BOOL=TRUE FLAC_CMAKE_OFF= -DFLAC:BOOL=FALSE FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth FLUIDSYNTH_CMAKE_ON= -DFLUIDSYNTH:BOOL=TRUE FLUIDSYNTH_CMAKE_OFF= -DFLUIDSYNTH:BOOL=FALSE MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123 MPG123_CMAKE_ON= -DMPG123:BOOL=TRUE MPG123_CMAKE_OFF= -DMPG123:BOOL=FALSE MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug MODPLUG_CMAKE_ON= -DMODPLUG:BOOL=TRUE MODPLUG_CMAKE_OFF= -DMODPLUG:BOOL=FALSE VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis VORBIS_CMAKE_ON= -DVORBIS:BOOL=TRUE VORBIS_CMAKE_OFF= -DVORBIS:BOOL=FALSE SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile SNDFILE_CMAKE_ON= -DSNDFILE:BOOL=TRUE SNDFILE_CMAKE_OFF= -DSNDFILE:BOOL=FALSE -.include - post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ -e 's|LIBFLAC_LIBRARIES|FLAC_LIBRARIES|' \ ${WRKSRC}/CMakeLists.txt -.if ${PORT_OPTIONS:MDOCS} +post-patch-DOCS-on: @${REINPLACE_CMD} \ -e 's|INSTALL(DIRECTORY "$${ALURE_SOURCE_DIR}/docs/html"|INSTALL(DIRECTORY "$${ALURE_SOURCE_DIR}/docs/html" "$${ALURE_SOURCE_DIR}/docs/naturaldocs"|' \ ${WRKSRC}/CMakeLists.txt -.else +post-patch-DOCS-off: @${REINPLACE_CMD} -i '' '/FIND_PROGRAM(NATDOCS_BIN NaturalDocs)/,/ENDIF(NATDOCS_BIN)/s/^/#/' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -i '' -e '/INSTALL(DIRECTORY "$${ALURE_SOURCE_DIR}/,+2d' ${WRKSRC}/CMakeLists.txt -.endif post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/audio/ario/Makefile =================================================================== --- head/audio/ario/Makefile (revision 394777) +++ head/audio/ario/Makefile (revision 394778) @@ -1,60 +1,50 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= ario PORTVERSION= 1.5.1 PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Ario is a GTK2 client for MPD LICENSE= GPLv2 LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libcurl.so:${PORTSDIR}/ftp/curl \ libnotify.so:${PORTSDIR}/devel/libnotify \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libtag_c.so:${PORTSDIR}/audio/taglib \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \ libmpdclient.so:${PORTSDIR}/audio/libmpdclient GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib USES= gmake libtool pkgconfig USE_LDCONFIG= yes USE_GNOME= gtk20 intltool INSTALLS_ICONS= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= AVAHI NLS AVAHI_DESC= Zeroconf support (Avahi) -.include +AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app +AVAHI_CONFIGURE_ENABLE= avahi -.if ${PORT_OPTIONS:MAVAHI} -LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app -CONFIGURE_ARGS+= --enable-avahi -.else -CONFIGURE_ARGS+= --disable-avahi -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+= --enable-nls -.else -CONFIGURE_ARGS+= --disable-nls -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|glib/gslist.h|glib.h|g ; \ s|glib/gkeyfile.h>|glib.h>|g' \ ${WRKSRC}/src/ario-util.h \ ${WRKSRC}/src/plugins/ario-plugin-info.c \ ${WRKSRC}/src/ario-profiles.h .include Index: head/audio/asunder/Makefile =================================================================== --- head/audio/asunder/Makefile (revision 394777) +++ head/audio/asunder/Makefile (revision 394778) @@ -1,52 +1,47 @@ # Created by: Fraser Tweedale # $FreeBSD$ PORTNAME= asunder PORTVERSION= 2.7 CATEGORIES= audio MASTER_SITES= http://littlesvr.ca/asunder/releases/ MAINTAINER= frase@frase.id.au COMMENT= Lightweight GTK+ CD ripper LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:${PORTSDIR}/audio/cdparanoia OPTIONS_DEFINE= LAME OGG FLAC OPUS WAVPACK APE WINDOWS_CHARS NLS DOCS OPTIONS_DEFAULT= OGG FLAC OPTIONS_SUB= yes WINDOWS_CHARS_DESC= Allow Windows special chars in filenames GNU_CONFIGURE= yes USES= desktop-file-utils gettext gmake pkgconfig tar:bzip2 USE_GNOME= gtk20 glib20 intltool intlhack PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame OGG_RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac OPUS_RUN_DEPENDS= opusenc:${PORTSDIR}/audio/opus-tools WAVPACK_RUN_DEPENDS= wavpack:${PORTSDIR}/audio/wavpack APE_RUN_DEPENDS= mac:${PORTSDIR}/audio/mac NLS_CONFIGURE_ENABLE= yes -.include - post-patch: @${REINPLACE_CMD} -e 's/^itlocaledir = .*/itlocaledir = @datarootdir@\/locale/' ${WRKSRC}/po/Makefile.in.in -.if ${PORT_OPTIONS:MWINDOWS_CHARS} +post-patch-WINDOWS_CHARS-on: @${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h -.endif -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ -.endif .include Index: head/audio/baudline/Makefile =================================================================== --- head/audio/baudline/Makefile (revision 394777) +++ head/audio/baudline/Makefile (revision 394778) @@ -1,53 +1,48 @@ # Created by: David Yeske # $FreeBSD$ PORTNAME= baudline PORTVERSION= 1.08 CATEGORIES= audio linux # We have permission from author Erik Olsen for the # package cluster to automatically fetch baudline MASTER_SITES= http://www.baudline.com/ PKGNAMEPREFIX= linux- DISTNAME= baudline_${PORTVERSION:S/.p/pre/}_linux_i686 MAINTAINER= hamradio@FreeBSD.org COMMENT= Real-time signal analysis and time-frequency browser WRKSRC= ${WRKDIR}/${DISTNAME:S/i686/x86/} USE_LINUX= yes USE_LINUX_APPS= xorglibs ONLY_FOR_ARCHS= i386 amd64 RESTRICTED= author requests no distribution except from their site PORTDOCS= README_unix.txt PLIST_FILES= bin/baudline OPTIONS_DEFINE= MPG123 DOCS OPTIONS_DEFAULT= MPG123 MMPG123_RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -.include -.include - .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) IGNORE= may not be automatically fetched due to licensing\ restrictions. You must manually fetch ${DISTFILES} from\ http://www.baudline.com/download.html. Once ${DISTFILES}\ has been downloaded, move it to ${DISTDIR} and then\ restart this build .endif do-build: ${BRANDELF} -t Linux ${WRKSRC}/baudline do-install: @${INSTALL_PROGRAM} ${WRKSRC}/baudline ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${INSTALL} -d ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ -.endif - @[ -f /compat/linux/proc/stat ] || ${CAT} ${PKGMESSAGE} -.include +.include Index: head/audio/clementine-player/Makefile =================================================================== --- head/audio/clementine-player/Makefile (revision 394777) +++ head/audio/clementine-player/Makefile (revision 394778) @@ -1,155 +1,114 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= clementine PORTVERSION= 1.2.3 PORTREVISION= 7 CATEGORIES= audio PKGNAMESUFFIX= -player USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}${PKGNAMESUFFIX} GH_PROJECT= Clementine MAINTAINER= sbruno@FreeBSD.org COMMENT= Cross-platform music player based on Amarok 1.4 LICENSE= GPLv3 LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ libchromaprint.so:${PORTSDIR}/audio/chromaprint \ libprotobuf.so:${PORTSDIR}/devel/protobuf \ libqca.so:${PORTSDIR}/devel/qca \ libqjson.so:${PORTSDIR}/devel/qjson \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libechonest.so:${PORTSDIR}/audio/libechonest BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs USES= compiler:c++11-lib cmake desktop-file-utils execinfo \ gettext-tools pkgconfig USE_GL= glew USE_QT4= dbus gui xml qmake_build uic_build moc_build rcc_build \ linguist_build network sql opengl qtestlib corelib webkit \ imageformats INSTALLS_ICONS= yes USE_GSTREAMER= gio ogg mp3 flac soup vorbis CONFLICTS_BUILD= qt-3.* CFLAGS+= -Wno-deprecated-register CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \ -DENABLE_DBUS=ON -DENABLE_SPARKLE=OFF \ -DENABLE_SOUNDMENU=OFF -DENABLE_SPOTIFY_BLOB=OFF \ -DENABLE_UBUNTU_ONE=OFF -DENABLE_SKYDRIVE=OFF OPTIONS_DEFINE= AUDIOCD BREAKPAD DEVICEKIT DROPBOX BOX GIO GOOGLE_DRIVE \ GPOD LASTFM MTP VISUALISATION WIIMOTEDEV MOODBAR OPTIONS_SUB= VISUALISATION AUDIOCD_DESC= Devices: Audio CD support BREAKPAD_DESC= Crash reporting BOX_DESC= Box Drive support DEVICEKIT_DESC= Devices: DeviceKit backend DROPBOX_DESC= Dropbox Support GIO_DESC= Devices: GIO device backend GOOGLE_DRIVE_DESC= Google Drive support GPOD_DESC= iPod support LASTFM_DESC= Support Last.fm service (requires ruby) MTP_DESC= MTP device support VISUALISATION_DESC= Visualisations from projectM WIIMOTEDEV_DESC= Wiimote support MOODBAR_DESC= Moodbar Support OPTIONS_DEFAULT= AUDIOCD BOX DEVICEKIT DROPBOX GIO GOOGLE_DRIVE GPOD \ LASTFM MTP VISUALISATION WIIMOTEDEV MOODBAR -.include +DROPBOX_CMAKE_ON= -DENABLE_DROPBOX=ON +DROPBOX_CMAKE_OFF= -DENABLE_DROPBOX=OFF -.if ${PORT_OPTIONS:MDROPBOX} -CMAKE_ARGS+= -DENABLE_DROPBOX=ON -.else -CMAKE_ARGS+= -DENABLE_DROPBOX=OFF -.endif +MOODBAR_CMAKE_ON= -DENABLE_MOODBAR=ON +MOODBAR_CMAKE_OFF= -DENABLE_MOODBAR=OFF -.if ${PORT_OPTIONS:MMOODBAR} -CMAKE_ARGS+= -DENABLE_MOODBAR=ON -.else -CMAKE_ARGS+= -DENABLE_MOODBAR=OFF -.endif +AUDIOCD_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio +AUDIOCD_CMAKE_ON= -DENABLE_AUDIOCD=ON +AUDIOCD_CMAKE_OFF= -DENABLE_AUDIOCD=OFF -.if ${PORT_OPTIONS:MAUDIOCD} -CMAKE_ARGS+= -DENABLE_AUDIOCD=ON -LIB_DEPENDS+= libcdio.so:${PORTSDIR}/sysutils/libcdio -.else -CMAKE_ARGS+= -DENABLE_AUDIOCD=OFF -.endif +BOX_CMAKE_ON= -DENABLE_BOX=ON +BOX_CMAKE_OFF= -DENABLE_BOX=OFF -.if ${PORT_OPTIONS:MBOX} -CMAKE_ARGS+= -DENABLE_BOX=ON -.else -CMAKE_ARGS+= -DENABLE_BOX=OFF -.endif +BREAKPAD_CMAKE_ON= -DENABLE_BREAKPAD=ON +BREAKPAD_CMAKE_OFF= -DENABLE_BREAKPAD=OFF -.if ${PORT_OPTIONS:MBREAKPAD} -CMAKE_ARGS+= -DENABLE_BREAKPAD=ON -.else -CMAKE_ARGS+= -DENABLE_BREAKPAD=OFF -.endif +DEVICEKIT_CMAKE_ON= -DENABLE_DEVICEKIT=ON +DEVICEKIT_CMAKE_OFF= -DENABLE_DEVICEKIT=OFF -.if ${PORT_OPTIONS:MDEVICEKIT} -CMAKE_ARGS+= -DENABLE_DEVICEKIT=ON -.else -CMAKE_ARGS+= -DENABLE_DEVICEKIT=OFF -.endif +GIO_USE= GNOME=glib20 +GIO_CMAKE_ON= -DENABLE_GIO=ON +GIO_CMAKE_OFF= -DENABLE_GIO=OFF -.if ${PORT_OPTIONS:MGIO} -CMAKE_ARGS+= -DENABLE_GIO=ON -USE_GNOME= glib20 -.else -CMAKE_ARGS+= -DENABLE_GIO=OFF -.endif +GOOGLE_DRIVE_BUILD_DEPENDS= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash +GOOGLE_DRIVE_CMAKE_ON= -DENABLE_GOOGLE_DRIVE=ON +GOOGLE_DRIVE_CMAKE_OFF= -DENABLE_GOOGLE_DRIVE=OFF -.if ${PORT_OPTIONS:MGOOGLE_DRIVE} -CMAKE_ARGS+= -DENABLE_GOOGLE_DRIVE=ON -BUILD_DEPENDS+= google-sparsehash>=2.0.2:${PORTSDIR}/devel/google-sparsehash -.else -CMAKE_ARGS+= -DENABLE_GOOGLE_DRIVE=OFF -.endif +GPOD_LIB_DEPENDS= libgpod.so:${PORTSDIR}/audio/libgpod +GPOD_CMAKE_ON= -DENABLE_LIBGPOD=ON +GPOD_CMAKE_OFF= -DENABLE_LIBGPOD=OFF -.if ${PORT_OPTIONS:MGPOD} -CMAKE_ARGS+= -DENABLE_LIBGPOD=ON -LIB_DEPENDS+= libgpod.so:${PORTSDIR}/audio/libgpod -.else -CMAKE_ARGS+= -DENABLE_LIBGPOD=OFF -.endif +LASTFM_LIB_DEPENDS= liblastfm.so:${PORTSDIR}/audio/liblastfm +LASTFM_CMAKE_ON= -DENABLE_LIBLASTFM=ON +LASTFM_CMAKE_OFF= -DENABLE_LIBLASTFM=OFF -.if ${PORT_OPTIONS:MLASTFM} -CMAKE_ARGS+= -DENABLE_LIBLASTFM=ON -LIB_DEPENDS+= liblastfm.so:${PORTSDIR}/audio/liblastfm -.else -CMAKE_ARGS+= -DENABLE_LIBLASTFM=OFF -.endif +MPT_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp +MTP_CMAKE_ON= -DENABLE_LIBMTP=ON +MTP_CMAKE_OFF= -DENABLE_LIBMTP=OFF -.if ${PORT_OPTIONS:MMTP} -CMAKE_ARGS+= -DENABLE_LIBMTP=ON -LIB_DEPENDS+= libmtp.so:${PORTSDIR}/multimedia/libmtp -.else -CMAKE_ARGS+= -DENABLE_LIBMTP=OFF -.endif +VISUALISATION_CMAKE_ON= -DENABLE_VISUALISATIONS=ON +VISUALISATION_CMAKE_OFF= -DENABLE_VISUALISATIONS=OFF -.if ${PORT_OPTIONS:MVISUALISATION} -CMAKE_ARGS+= -DENABLE_VISUALISATIONS=ON -.else -CMAKE_ARGS+= -DENABLE_VISUALISATIONS=OFF -.endif - -.if ${PORT_OPTIONS:MWIIMOTEDEV} -CMAKE_ARGS+= -DENABLE_WIIMOTEDEV=ON -.else -CMAKE_ARGS+= -DENABLE_WIIMOTEDEV=OFF -.endif +WIIMOTEDEV_CMAKE_ON= -DENABLE_WIIMOTEDEV=ON +WIIMOTEDEV_CMAKE_OFF= -DENABLE_WIIMOTEDEV=OFF .include Index: head/audio/csound/Makefile =================================================================== --- head/audio/csound/Makefile (revision 394777) +++ head/audio/csound/Makefile (revision 394778) @@ -1,193 +1,189 @@ # Created by: trevor # $FreeBSD$ PORTNAME= csound PORTVERSION= 5.19.01 PORTREVISION= 4 CATEGORIES= audio lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION:R} \ SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}${PORTVERSION:R}/manual:manual DISTFILES= ${PORTNAME:S/c/C/}${PORTVERSION}${EXTRACT_SUFX} \ ${CSOUND_DOCS:S/$/:manual/} DIST_SUBDIR= csound MAINTAINER= ports@FreeBSD.org COMMENT= Sound synthesizer LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= swig13>0:${PORTSDIR}/devel/swig13 \ eigen>0:${PORTSDIR}/math/eigen3 \ gmm++>0:${PORTSDIR}/math/gmm++ LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile PORTSCOUT= limit:^5\. OPTIONS_DEFINE= ALSA PNG DSSI FLTK FLUIDSYNTH JACK OSC PORTAUDIO PULSEAUDIO DOCS OPTIONS_DEFAULT=FLTK OPTIONS_SUB= yes ALSA_DESC= Build ALSA I/O module PNG_DESC= Build image opcodes DSSI_DESC= Build DSSI/LADSPA host opcodes FLUIDSYNTH_DESC=Building FluidSynth opcodes JACK_DESC= Build Jack I/O module and opcodes OSC_DESC= Build OSC opcodes PORTAUDIO_DESC= Build the PortAudio I/O module PULSEAUDIO_DESC=Build the PulseAudio I/O module FLTK_DESC= Build FLTK plugin and GUI CONFLICTS_INSTALL= outguess-* csound6 WRKSRC= ${WRKDIR}/${PORTNAME:S/c/C/}${PORTVERSION} USES= bison cpe gettext scons compiler:openmp python CPE_VENDOR= csounds MAKE_ARGS= instdir="${STAGEDIR}" prefix="${PREFIX}" \ CC="${CC}" CXX="${CXX}" \ buildCsoundAC=0 buildCsoundVST=0 buildInterfaces=1 \ buildRelease=1 buildVirtual=1 dynamicCsoundLibrary=1 \ install=1 noDebug=1 useDouble=1 \ useGettext=1 usePortMIDI=0 USE_LDCONFIG= yes SSP_UNSAFE= yes CFLAGS+= -fPIC -fopenmp -DUSE_OPENMP LDFLAGS+= -pthread -Wl,-export-dynamic LINKFLAGS= # empty SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MALSA} LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib MAKE_ARGS+= useALSA=1 ALSA_H= alsa/asoundlib.h .else MAKE_ARGS+= useALSA=0 ALSA_H= ##alsa/asoundlib.h## .endif .if ${PORT_OPTIONS:MPNG} LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png MAKE_ARGS+= buildImageOpcodes=1 .else MAKE_ARGS+= buildImageOpcodes=0 .endif .if ${PORT_OPTIONS:MDSSI} BUILD_DEPENDS+= dssi>=0:${PORTSDIR}/audio/dssi LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib RUN_DEPENDS+= dssi>=0:${PORTSDIR}/audio/dssi MAKE_ARGS+= buildDSSI=1 .else MAKE_ARGS+= buildDSSI=0 .endif .if ${PORT_OPTIONS:MFLUIDSYNTH} LIB_DEPENDS+= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth FLUIDSYNTH_H= fluidsynth.h .else FLUIDSYNTH_H= ##fluidsynth.h## .endif .if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack MAKE_ARGS+= useJack=1 .else MAKE_ARGS+= useJack=0 .endif .if ${PORT_OPTIONS:MOSC} LIB_DEPENDS+= liblo.so:${PORTSDIR}/audio/liblo MAKE_ARGS+= useOSC=1 .else MAKE_ARGS+= useOSC=0 .endif .if ${PORT_OPTIONS:MPORTAUDIO} LIB_DEPENDS+= libportaudio.so:${PORTSDIR}/audio/portaudio MAKE_ARGS+= usePortAudio=1 .else MAKE_ARGS+= usePortAudio=0 .endif .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_H= pulse/simple.h .else PULSEAUDIO_H= ##pulse/simple.h## .endif .if ${PORT_OPTIONS:MFLTK} LIB_DEPENDS+= libfltk.so:${PORTSDIR}/x11-toolkits/fltk MAKE_ARGS+= buildCsound5GUI=1 buildCSEditor=1 buildWinsound=1 useFLTK=1 .else MAKE_ARGS+= buildCsound5GUI=0 buildCSEditor=0 buildWinsound=0 useFLTK=0 .endif .if ${PORT_OPTIONS:MDOCS} CSOUND_DOCS= Csound${PORTVERSION:R}_manual_html.zip .endif -.include - .if ${ARCH} == amd64 || ${ARCH} == sparc64 || ${ARCH} == ia64 MAKE_ARGS+= Word64=1 .endif .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= flex>0:${PORTSDIR}/textproc/flex MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH .endif .if ${OSVERSION} >= 1000054 CXXLIB= c++ .else CXXLIB= # empty .endif -.include - post-patch: @${SED} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|" \ < ${FILESDIR}/custom.py.in > ${WRKSRC}/custom.py @${REINPLACE_CMD} -e "s|'unsupported'|'linux'|; \ s|Exit(-1)|print \"\"|; \ /CCFLAGS/s|\['-Wno-format'\]|Split('${CFLAGS}')|; \ /CXXFLAGS/s|\['-Wno-format'\]|Split('${CXXFLAGS}')|; \ s|/usr/local|${LOCALBASE}|; \ s|/usr/X11R6|${LOCALBASE}|; \ /LINKFLAGS/s|\['-Wl,-Bdynamic'\]|Split('${LDFLAGS}')|; \ s|\"pthread\"|\"\"|; \ s|'pthread'|''|; \ s|\"boost/any.hpp\"|\"##boost/any.hpp##\"|; \ s|\"alsa/asoundlib.h\"|\"${ALSA_H}\"|; \ s|'xmlfile.h'|'##xmlfile.h##'|; \ s|\"pulse/simple.h\"|\"${PULSEAUDIO_H}\"|; \ s|\"m_pd.h\"|\"##m_pd.h##\"|; \ s|\"tcl.h\"|\"##tcl.h##\"|; \ s|'5.2'|'5'|; \ s|'dl'|''|; \ s|'stdc++'|'${CXXLIB}'|; \ /linuxjoystick/s|^.*| print \"\"|; \ s|\"fluidsynth.h\"|\"${FLUIDSYNTH_H}\"|; \ /mixer_main.c/s|'mixer'|'csmixer'|; \ /jpluginEnvironment/s|'asound'|''|; \ /portaudioEnvironment/s|'asound'|''|; \ /jackEnvironment/s|'asound'|''|" ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e "s|linux/if.h|sys/types.h|" \ ${WRKSRC}/OOps/remote.c post-install: ${LN} -sf libcsound64.so.5 ${STAGEDIR}${PREFIX}/lib/libcsound64.so .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so* \ ${STAGEDIR}${PREFIX}/lib/csound/plugins64/*.so -.include +.include Index: head/audio/csound6/Makefile =================================================================== --- head/audio/csound6/Makefile (revision 394777) +++ head/audio/csound6/Makefile (revision 394778) @@ -1,145 +1,141 @@ # Created by: trevor # $FreeBSD$ PORTNAME= csound PORTVERSION= 6.05 CATEGORIES= audio lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION} PKGNAMESUFFIX= 6 DISTNAME= ${PORTNAME:S/c/C/}${PORTVERSION} DIST_SUBDIR= csound MAINTAINER= ports@FreeBSD.org COMMENT= Sound synthesizer LICENSE= LGPL21 BUILD_DEPENDS= boost-libs>0:${PORTSDIR}/devel/boost-libs \ swig>2:${PORTSDIR}/devel/swig20 \ eigen>0:${PORTSDIR}/math/eigen3 \ gmm++>0:${PORTSDIR}/math/gmm++ LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile USES= bison cmake python:2 CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ -DBUILD_JAVA_INTERFACE:BOOL=OFF \ -DBUILD_P5GLOVE_OPCODES:BOOL=OFF \ -DBUILD_PD_CLASS:BOOL=OFF \ -DBUILD_STK_OPCODES:BOOL=OFF \ -DBUILD_TESTS:BOOL=OFF \ -DBUILD_WIIMOTE_OPCODES:BOOL=OFF \ -DPYTHON_MODULE_INSTALL_DIR:PATH="${PYTHONPREFIX_SITELIBDIR}" USE_LDCONFIG= yes SSP_UNSAFE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message CONFLICTS= csound-5.* CONFLICTS_INSTALL= outguess-* OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH HDF5 JACK LUA NLS \ OPENMP OSC PNG PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= FLTK OPENMP OPTIONS_SUB= yes ALSA_DESC= Build ALSA I/O module ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF +ALSA_PREVENTS= DSSI CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl CURL_CMAKE_OFF= -DUSE_CURL:BOOL=OFF DSSI_DESC= Build DSSI/LADSPA host opcodes DSSI_BUILD_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi DSSI_LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat DSSI_RUN_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi DSSI_CMAKE_OFF= -DBUILD_DSSI_OPCODES:BOOL=OFF DSSI_CFLAGS= -isystem ${LOCALBASE}/include/dssi FLTK_DESC= Build FLTK plugin and GUI FLTK_LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk FLTK_CMAKE_ON= -DBUILD_WINSOUND:BOOL=ON FLTK_CMAKE_OFF= -DBUILD_CSOUND_AC:BOOL=OFF \ -DBUILD_VIRTUAL_KEYBOARD:BOOL=OFF \ -DUSE_FLTK:BOOL=OFF FLUIDSYNTH_DESC= Building FluidSynth opcodes FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF HDF5_DESC= Build HDF5 read/write opcodes HDF5_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 HDF5_CMAKE_OFF= -DBUILD_HDF5_OPCODES:BOOL=OFF JACK_DESC= Build Jack I/O module and opcodes JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ -DUSE_JACK:BOOL=OFF LUA_DESC= Build Lua Interface and opcodes LUA_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit LUA_CMAKE_OFF= -DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \ -DBUILD_LUA_INTERFACE:BOOL=OFF \ -DBUILD_LUA_OPCODES:BOOL=OFF NLS_USES= gettext NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH="" \ -DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH="" \ -DLIBINTL_LIBRARY:FILEPATH="" \ -DUSE_GETTEXT:BOOL=OFF OPENMP_USES= compiler:gcc-c++11-lib OPENMP_USES_OFF= compiler:c++11-lib OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF OSC_DESC= Build OSC opcodes OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF PNG_DESC= Build Image opcodes PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF PORTAUDIO_DESC= Build PortAudio I/O module PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF PULSEAUDIO_DESC= Build PulseAudio I/O module PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DUSE_PULSEAUDIO:BOOL=OFF .include .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING="${LOCALBASE}/bin/flex" .endif -.if ${PORT_OPTIONS:MALSA} && ${PORT_OPTIONS:MDSSI} -IGNORE= ALSA and DSSI options are mutually exclusive -.endif - post-patch: @${REINPLACE_CMD} -e \ '/-O3/s|^|#| ; \ /PYTHON_MODULE_INSTALL_DIR/s|^|#| ; \ /CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"| ; \ s|(LIBINTL_LIBRARY OR LINUX)|(LIBINTL_LIBRARY)| ; \ s|(NOT LINUX)|(LINUX)| ; \ s|-D_GNU_SOURCE|| ; \ s| dl)|)|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/InOut/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/usr/include/Python2.7|${PYTHON_INCLUDEDIR}| ; \ s|/usr/local|${LOCALBASE}| ; \ /linuxjoystick/s|^|#| ; \ s| dl)|)|' \ ${WRKSRC}/Opcodes/CMakeLists.txt @${REINPLACE_CMD} -e \ '/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"|' \ ${WRKSRC}/frontends/CMakeLists.txt @${REINPLACE_CMD} -e \ 's| mixer)| csmixer)|' \ ${WRKSRC}/util/CMakeLists.txt post-install: @${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 @${LN} -sf libcsound64.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsound64.so.6 -.if ${PORT_OPTIONS:MFLTK} +post-install-FLTK-on: @${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6 -.endif .include Index: head/audio/deadbeef/Makefile =================================================================== --- head/audio/deadbeef/Makefile (revision 394777) +++ head/audio/deadbeef/Makefile (revision 394778) @@ -1,196 +1,188 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= deadbeef PORTVERSION= 0.6.2 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= vg@FreeBSD.org COMMENT= Ultimate music player for Unix-like systems LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual GNU_CONFIGURE= yes USES= desktop-file-utils execinfo gettext gmake iconv libtool \ pkgconfig shebangfix tar:bzip2 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-alsa --disable-nullout --disable-gtk3 CPPFLAGS+= -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff \ -I../../plugins/gme/game-music-emu-0.6pre \ -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo -lintl USE_GNOME= intltool INSTALLS_ICONS= yes SHEBANG_FILES= yasmwrapper.sh INSTALL_TARGET= install-strip OPTIONS_DEFINE= MAD PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \ HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \ MUSEPACK WILDMIDI TTA DCA AAC MMS SHN AO SHELLEXEC NLS M3U \ PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \ WMA OPTIONS_DEFAULT= MAD GUI VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \ OGG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY MUSEPACK \ WILDMIDI TTA DCA AAC MMS SHN AO SHELLEXEC M3U PSF ADPLUG DSP \ MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA PULSEAUDIO_DESC= PulseAudio output plugin (unsupported) GUI_DESC= Standard GTK+2 user interface plugin VFS_DESC= HTTP streaming VFS plugin LASTFM_DESC= Last.fm/Libre.fm scrobbler plugin ART_DESC= Cover artwork loader plugin SUPEREQ_DESC= SuperEQ DSP plugin (equalizer) SID_DESC= Commodore 64 SID music player plugin FFAP_DESC= ${APE_DESC} VTX_DESC= VTX ZX-Spectrum music player plugin ADPLUG_DESC= AdPlug audio format (OPL2/OPL3) support HOTKEYS_DESC= Local and global hotkeys support GME_DESC= Chiptune music support (based on GME) DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc. NOTIFY_DESC= OSD notification support in GTKUI plugin WILDMIDI_DESC= WildMIDI synthesizer plugin SHN_DESC= Shorten waveform encoder support AO_DESC= Audio Overload (vintage hardware sound) plugin SHELLEXEC_DESC= Shell commands execution plugin M3U_DESC= M3U and PLS playlist format support PSF_DESC= AOSDK-based PSF(,QSF,SSF,DSF) plugin DSP_DESC= High-quality sample rate conversion support MONO2STEREO_DESC= Mono to stereo converter DSP plugin CONVERTER_DESC= Plugin for converting files from/to any formats VFS_ZIP_DESC= Play files directly from ZIP archives PLTBROWSER_DESC= Playlist browser GUI plugin OPTIONS_SUB= yes MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad MAD_CONFIGURE_OFF= --disable-mad PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse GUI_USE= gnome=gtk20,glib20 GUI_CONFIGURE_OFF= --disable-gtkui --disable-gtk3 +GUI_IMPLIES= CONVERTER VFS_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl VFS_CONFIGURE_OFF= --disable-vfs-curl LASTFM_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl LASTFM_CONFIGURE_OFF= --disable-lfm ART_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libImlib2.so:${PORTSDIR}/graphics/imlib2 ART_USES= jpeg ART_CONFIGURE_OFF= --disable-artwork --disable-artwork-imlib2 +ART_IMPLIES= VFS SUPEREQ_CONFIGURE_OFF= --disable-supereq SID_CONFIGURE_OFF= --disable-sid FFAP_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm FFAP_CONFIGURE_OFF= --disable-ffap VTX_CONFIGURE_OFF= --disable-vtx ADPLUG_CONFIGURE_OFF= --disable-adplug HOTKEYS_CONFIGURE_OFF= --disable-hotkeys OGG_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis OGG_CONFIGURE_OFF= --disable-vorbis FFMPEG_LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \ libavformat0.so:${PORTSDIR}/multimedia/ffmpeg0 \ libavutil0.so:${PORTSDIR}/multimedia/ffmpeg0 FFMPEG_CONFIGURE_ENABLE= ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac FLAC_CONFIGURE_OFF= --disable-flac SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack CDDA_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio \ libcddb.so:${PORTSDIR}/audio/libcddb CDDA_CONFIGURE_OFF= --disable-cdda GME_CONFIGURE_OFF= --disable-gme DUMB_CONFIGURE_OFF= --disable-dumb NOTIFY_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib NOTIFY_CONFIGURE_OFF= --disable-notify MUSEPACK_CONFIGURE_OFF= --disable-musepack WILDMIDI_RUN_DEPENDS= ${LOCALBASE}/share/freepats/crude.cfg:${PORTSDIR}/audio/freepats WILDMIDI_CONFIGURE_OFF= --disable-wildmidi TTA_CONFIGURE_OFF= --disable-tta DCA_CONFIGURE_OFF= --disable-dca AAC_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad AAC_CONFIGURE_OFF= --disable-aac MMS_CONFIGURE_OFF= --disable-mms SHN_CONFIGURE_OFF= --disable-shn AO_CONFIGURE_OFF= --disable-ao SHELLEXEC_CONFIGURE_ARGS+= --disable-shellexec NLS_CONFIGURE_OFF= --disable-nls M3U_CONFIGURE_OFF= --disable-m3u SPF_CONFIGURE_OFF= --disable-psf DSP_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate DSP_CONFIGURE_OFF= --disable-src MONO2STEREO_CONFIGURE_OFF= --disable-mono2stereo CONVERTER_CONFIGURE_OFF= --disable-converter VFS_ZIP_LIB_DEPENDS= libzip.so:${PORTSDIR}/archivers/libzip VFS_ZIP_CONFIGURE_OFF= --disable-vfs-zip ALAC_CONFIGURE_OFF= --disable-alac PLTBROWSER_CONFIGURE_OFF= --disable-pltbrowser WMA_CONFIGURE_OFF= --disable-wma - -.include - -.if ${PORT_OPTIONS:MART} && ! ${PORT_OPTIONS:MVFS} -BROKEN= VFS plugin required for album art loader, please rerun 'make config' and either disable ART or enable VFS -.endif - -.if ${PORT_OPTIONS:MCONVERTER} && ! ${PORT_OPTIONS:MGUI} -BROKEN= CONVERTER plugin required for gui, please rerun 'make config' and either disable CONVERTER or enable GUI -.endif post-patch: # Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches) @${REINPLACE_CMD} -e 's, -lsupc++,,' \ ${WRKSRC}/plugins/adplug/Makefile.in \ ${WRKSRC}/plugins/gme/Makefile.in \ ${WRKSRC}/plugins/sid/Makefile.in \ ${WRKSRC}/plugins/supereq/Makefile.in @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c @${REINPLACE_CMD} \ -e 's,libavcodec ,libavcodec0 ,g' \ -e 's,libavutil ,libavutil0 ,g' \ -e 's,libavformat ,libavformat0 ,g' \ ${WRKSRC}/configure .include Index: head/audio/dumb/Makefile =================================================================== --- head/audio/dumb/Makefile (revision 394777) +++ head/audio/dumb/Makefile (revision 394778) @@ -1,47 +1,39 @@ # Created by: Andreas Kohn # $FreeBSD$ PORTNAME= dumb PORTVERSION= 0.9.3 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= IT, XM, S3M, and MOD player library USES= gmake OPTIONS_DEFINE= ALLEGRO +OPTIONS_SUB= yes ALLEGRO_DESC= Enable allegro support -.include +ALLEGRO_LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro +ALLEGRO_MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`" \ + LINK_ALLEGRO="`allegro-config --libs` -lm" +ALLEGRO_CONFLICTS= dumb-[0-9]* +ALLEGRO_MAKE_ARGS_OFF= _PORT_ALLEGRO_CFLAGS= +ALLEGRO_CONFLICTS_OFF= dumb-allegro-[0-9]* -.if ${PORT_OPTIONS:MALLEGRO} -LIB_DEPENDS+= liballeg.so:${PORTSDIR}/devel/allegro -PLIST_SUB+= ALLEGRO="" -MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`" -MAKE_ARGS+= LINK_ALLEGRO="`allegro-config --libs` -lm" -PKGNAMESUFFIX= -allegro -CONFLICTS= dumb-[0-9]* -.else -PLIST_SUB+= ALLEGRO="@comment " -MAKE_ARGS= _PORT_ALLEGRO_CFLAGS= -CONFLICTS= dumb-allegro-[0-9]* -.endif +CFLAGS_amd64= -fPIC +CFLAGS_ia64= -fPIC +CFLAGS_sparc64= -fPIC -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64" -CFLAGS+= -fPIC -.endif - post-patch: @${REINPLACE_CMD} -e 's|_INSTALL_PATH := |&$${DESTDIR}|' ${WRKSRC}/Makefile do-configure: @${ECHO_CMD} 'include make/unix.inc' > ${WRKSRC}/make/config.txt @${ECHO_CMD} 'ALL_TARGETS := core core-examples core-headers' >> ${WRKSRC}/make/config.txt -.if ${PORT_OPTIONS:MALLEGRO} +do-configure-ALLEGRO-on: @${ECHO_CMD} 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> ${WRKSRC}/make/config.txt -.endif .include Index: head/audio/dumb-allegro/Makefile =================================================================== --- head/audio/dumb-allegro/Makefile (revision 394777) +++ head/audio/dumb-allegro/Makefile (revision 394778) @@ -1,7 +1,8 @@ # Created by: Stas Timokhin # $FreeBSD$ OPTIONS_SLAVE= ALLEGRO MASTERDIR= ${.CURDIR}/../dumb +PKGNAMESUFFIX= -allegro .include "${MASTERDIR}/Makefile" Index: head/audio/dvda-author/Makefile =================================================================== --- head/audio/dvda-author/Makefile (revision 394777) +++ head/audio/dvda-author/Makefile (revision 394778) @@ -1,49 +1,45 @@ # Created by: dieringe@zedat.fu-berlin.de # $FreeBSD$ PORTNAME= dvda-author PORTVERSION= 09.05 PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= SF/dvd-audio/${PORTNAME}-core/${PORTNAME}-${PORTVERSION}-core DISTNAME= ${PORTNAME}-${PORTVERSION}-7 MAINTAINER= martin.dieringer@gmx.de COMMENT= Author and playback unencrypted and uncompressed Audio-DVDs BROKEN= Fails to fetch LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ libogg.so:${PORTSDIR}/audio/libogg \ libsox.so:${PORTSDIR}/audio/sox \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libltdl.so:${PORTSDIR}/devel/libltdl \ libpng.so:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/FLAC USES= tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \ --with-ogg=${LOCALBASE}/lib/libogg.so \ --enable-glibc USE_CSTD= gnu89 OPTIONS_DEFINE= DOCS -.include - -.if ! ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc -.endif +DOCS_CONFIGURE_OFF= --docdir=${WRKDIR}/doc post-patch: @${REINPLACE_CMD} 's|-std=c99||g' \ ${WRKSRC}/configure \ ${WRKSRC}/libats2wav/Makefile.in @${REINPLACE_CMD} 's|-std=c99 -O3||' \ ${WRKSRC}/fixwav/src/Makefile.in .include Index: head/audio/easytag/Makefile =================================================================== --- head/audio/easytag/Makefile (revision 394777) +++ head/audio/easytag/Makefile (revision 394778) @@ -1,75 +1,69 @@ # Created by: Adam Weinberger # $FreeBSD$ PORTNAME= easytag PORTVERSION= 2.2.6 CATEGORIES= audio MASTER_SITES= GNOME MAINTAINER= novel@FreeBSD.org COMMENT= GTK Tag editor for audio files LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/catalog.xml:${PORTSDIR}/textproc/docbook-xml \ ${LOCALBASE}/share/xsl/docbook/html/refentry.xsl:${PORTSDIR}/textproc/docbook-xsl \ itstool:${PORTSDIR}/textproc/itstool \ xsltproc:${PORTSDIR}/textproc/libxslt LIB_DEPENDS= libid3.so:${PORTSDIR}/audio/id3lib \ libid3tag.so:${PORTSDIR}/audio/libid3tag \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libFLAC.so:${PORTSDIR}/audio/flac \ libtag.so:${PORTSDIR}/audio/taglib USES= desktop-file-utils gmake pkgconfig tar:xz gettext-tools USE_GNOME= glib20 intltool intlhack libxslt INSTALLS_ICONS= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_GTK LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-appdata-validate \ --without-help-dir \ --with-xml-catalog=${LOCALBASE}/share/xml/catalog PORTDOCS= HACKING THANKS TODO OPTIONS_DEFINE= WAVPACK NLS OPUS SPEEX DOCS OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_DEFAULT= GTK2 NLS OPTIONS_SUB= yes WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack WAVPACK_CONFIGURE_ENABLE= wavpack NLS_CONFIGURE_ENABLE= nls OPUS_LIB_DEPENDS= libopusfile.so:${PORTSDIR}/audio/opusfile OPUS_CONFIGURE_ENABLE= opus SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex SPEEX_CONFIGURE_ENABLE= speex -.include - NLS_USES= gettext-runtime -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME+= gtk20 -CONFIGURE_ARGS+=--with-gtk2 -.endif +GTK2_USE= GNOME=gtk20 +GTK2_CONFIGURE_ON=--with-gtk2 -.if ${PORT_OPTIONS:MGTK3} -USE_GNOME+= gtk30 -CONFIGURE_ARGS+=--without-gtk2 -.endif +GTK3_USE= GNOME=gtk30 +GTK3_CONFIGURE_ON=--without-gtk2 post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor pre-configure: @${REINPLACE_CMD} -e 's,^DATADIRNAME = @DATADIRNAME@,DATADIRNAME = share,' \ ${WRKSRC}/po/Makefile.in.in .include Index: head/audio/espeak/Makefile =================================================================== --- head/audio/espeak/Makefile (revision 394777) +++ head/audio/espeak/Makefile (revision 394778) @@ -1,66 +1,64 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= espeak PORTVERSION= 1.48.04 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= nivit@FreeBSD.org COMMENT= Software speech synthesizer LICENSE= GPLv3 OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PORTAUDIO OPTIONS_RADIO= AUDIO_SYSTEM OPTIONS_RADIO_AUDIO_SYSTEM= PORTAUDIO PULSEAUDIO RUNTIME RUNTIME_DESC= Sound interface selected at runtime PORTAUDIOLIB= libportaudio.so:${PORTSDIR}/audio/portaudio PULSEAUDIOLIB= libpulse.so:${PORTSDIR}/audio/pulseaudio PORTAUDIO_LIB_DEPENDS= ${PORTAUDIOLIB} PULSEAUDIO_LIB_DEPENDS= ${PULSEAUDIOLIB} RUNTIME_LIB_DEPENDS= ${PORTAUDIOLIB} \ ${PULSEAUDIOLIB} PULSEAUDIO_USES= compiler:c++0x RUNTIME_USES= compiler:c++0x PULSEAUDIO_MAKE_ENV= AUDIO="pulseaudio" PORTAUDIO_MAKE_ENV= AUDIO="portaudio" RUNTIME_MAKE_ENV= AUDIO="runtime" CONFLICTS= speak-1.[0-9] CXXFLAGS+= -I${LOCALBASE}/include USES= gmake zip USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${WRKSRC}/src REINPLACE_FILES= Makefile speech.h REINPLACE_ARGS= -i.bak -e "s|%%DATADIR%%|${DATADIR}|g" BROKEN_sparc64= Does not compile on sparc64 -.include post-patch: cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES} -.if ${PORT_OPTIONS:MPORTAUDIO} +post-patch-PORTAUDIO-on: ${MV} ${WRKSRC}/src/portaudio19.h ${WRKSRC}/src/portaudio.h -.endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libespeak.so* .include Index: head/audio/etktab/Makefile =================================================================== --- head/audio/etktab/Makefile (revision 394777) +++ head/audio/etktab/Makefile (revision 394778) @@ -1,53 +1,48 @@ # Created by: Juha Erkkilä # $FreeBSD$ PORTNAME= etktab PORTVERSION= 3.2 PORTREVISION= 3 CATEGORIES= audio tcl tk MASTER_SITES= SF/${PORTNAME}/eTktab/${PORTVERSION} \ SF/${PORTNAME}/keyboard%20layout%20support/${PORTVERSION}:keyboard DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Guitar tablature editor OPTIONS_DEFINE= DOCS USES= tk NO_BUILD= yes WRKSRC= ${WRKDIR}/eTktab-${PORTVERSION} PLIST_FILES= bin/${PORTNAME} PORTDOCS= * -.include - -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= canada_multi-3.2.etk:keyboard \ +DOCS_DISTFILES= canada_multi-3.2.etk:keyboard \ dvorak-3.2.etk:keyboard \ uk-3.2.etk:keyboard \ us-3.2.etk:keyboard -.endif post-patch: ${REINPLACE_CMD} -e 's|wish|${WISH}|g' ${WRKSRC}/eTktab post-extract: .for FILE in canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk @${CP} ${DISTDIR}/${DIST_SUBDIR}/${FILE} ${WRKSRC} .endfor do-install: ${INSTALL_SCRIPT} ${WRKSRC}/eTktab ${STAGEDIR}${PREFIX}/bin/etktab -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in CHANGES.html LICENSE.html README.html eTktab-small.xpm eTktab.xpm \ canada_multi-3.2.etk dvorak-3.2.etk uk-3.2.etk us-3.2.etk ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/festival/Makefile =================================================================== --- head/audio/festival/Makefile (revision 394777) +++ head/audio/festival/Makefile (revision 394778) @@ -1,135 +1,129 @@ # Created by: trevor # $FreeBSD$ PORTNAME= festival PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= audio accessibility MASTER_SITES= FESTIVAL DISTFILES= ${DISTNAME}-release.tar.gz \ speech_tools-${PORTVERSION}-release.tar.gz PATCHFILES= src_modules_diphone_diphone.h.diff?id=b58a836:debian \ src_modules_diphone_di_io.cc.diff?id=b58a836:debian \ src_modules_diphone_diphone.cc.diff?id=b58a836:debian \ src_modules_donovan_t2s.h.diff?id=b58a836:debian \ src_modules_UniSyn_diphone_UniSyn_diphone.cc.diff?id=b58a836:debian \ festival_el_utf8.diff?id=b58a836:debian \ lintianspellpatch.diff?id=b58a836:debian \ hts21compat.diff?id=b58a836:debian \ languagespatch.diff?id=b58a836:debian \ ${SPT_PATCHES:C/.*/patch-speech__tools_\0:netbsd/} PATCH_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/audio/festival/patches/:netbsd \ http://anonscm.debian.org/cgit/tts/festival.git/plain/debian/patches/:debian MAINTAINER= mi@aldan.algebra.com COMMENT= Multi-lingual speech synthesis system OPTIONS_DEFINE= NAS ESD OPTIONS_DEFAULT=NAS ESD ESD_DESC= ${ESOUND_DESC} DIST_SUBDIR= festival CXXFLAGS+= -DFTLIBDIR=${LOCALBASE}/share/festival/lib CONFIGURE_WRKSRC= ${WRKDIR}/festival USES= gmake SPEECHTOOLS= ${WRKSRC}/speech_tools FESTIVAL= ${WRKSRC}/festival MAKE_ARGS+= CC="${CC}" GCC="${CC}" \ CXX="${CXX}" GXX="${CXX}" \ EST_HOME=${SPEECHTOOLS} WRKSRC= ${WRKDIR} SPT_PATCHES= base__class_EST__TVector.cc \ base__class_inst__tmpl_vector__dmatrix__t.cc \ base__class_inst__tmpl_vector__dvector__t.cc \ base__class_inst__tmpl_vector__fmatrix__t.cc \ config_compilers_gcc__defaults.mak \ include_EST__Ngrammar.h \ include_EST__SCFG.h \ include_EST__String.h \ include_EST__error.h \ include_ling__class_EST__FeatureFunctionPackage.h \ include_unix_EST__socket__unix.h \ stats_dynamic__program.cc \ utils_EST__ServiceTable.cc do-build: .for d in speech_tools festival ${MAKE_CMD} -C ${WRKDIR}/$d ${MAKE_FLAGS} Makefile ${MAKE_ARGS} .endfor # Can not make test in `festival', because the voices may not be installed # XXX: this should fail, if the verdict is not "CORRECT"... post-build test: ${MAKE_CMD} -C ${WRKDIR}/speech_tools test # The below is needed, because Debian's patches expect a different # directory-name pre-patch: ${LN} -s festival ${WRKSRC}/festival-2.1~release ${LN} -s festival ${WRKSRC}/b post-patch:: ${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ ${WRKSRC}/*/config/systems/default.mak -.include - .for m in nas esd -. if ${PORT_OPTIONS:M${m:tu}} -LIB_DEPENDS+= lib${m:nas=audio}.so:${PORTSDIR}/audio/${m:esd=esound} -post-patch:: +${m:tu}_LIB_DEPENDS= lib${m:nas=audio}.so:${PORTSDIR}/audio/${m:esd=esound} +post-patch-${m:tu}-on: ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:tu}_AUDIO,INCLUDE_MODULES += ${m:tu}_AUDIO,' \ ${WRKDIR}/*/config/config.in -CONFIGURE_ARGS+=--enable-$m -. else -CONFIGURE_ARGS+=--disable-$m -. endif +${m:tu}_CONFIGURE_ENABLE=${m} .endfor do-configure: .for d in speech_tools festival @cd ${WRKDIR}/$d && \ if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}; then \ ${ECHO_CMD} "===> configuration script for $d failed."; \ ${FALSE}; \ fi # This step helps non-i386 systems and is harmless on i386 -${LN} -s ix86_FreeBSD.mak ${WRKDIR}/$d/config/systems/${ARCH:S/armv6/arm/}_unknown.mak .endfor ${REINPLACE_CMD} \ -e '/^CFLAGS *=/s|$$| ${CFLAGS}|' \ -e '/^CXXFLAGS *=/s|$$| ${CXXFLAGS}|' \ -e 's,^OPTIMI,#OPTIMI,' \ ${WRKSRC}/speech_tools/config/compilers/gcc*.mak # This step helps to use a compiler, the vendor has not seen before: ${TEST} -e ${WRKDIR}/speech_tools/config/compilers/${CC}.mak || \ ${LN} -s gcc_defaults.mak ${WRKDIR}/speech_tools/config/compilers/${CC}.mak do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib ${FIND} ${FESTIVAL}/lib -type d -print0 | ${XARGS} -0 ${CHMOD} 755 ${FIND} ${FESTIVAL} -type f -name *.orig -delete ${CP} -pPR ${FESTIVAL}/lib ${FESTIVAL}/examples ${STAGEDIR}${DATADIR} ${RM} -rf ${STAGEDIR}${DATADIR}/lib/etc/Makefile ${STAGEDIR}${DATADIR}/lib/etc/*FreeBSD* \ ${STAGEDIR}${DATADIR}/lib/etc/*unknown ${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*/audsp ${STAGEDIR}${PREFIX}/libexec ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${STAGEDIR}${PREFIX}/libexec/festival.naked ${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client ${STAGEDIR}${PREFIX}/libexec/festival_client.naked for n in festival.sh festival_client.sh sitevars.scm; \ do {\ ${SED} "s%@PKG_FESTIVAL_LOCATION@%${DATADIR}%; \ s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/$$n > ${WRKDIR}/$$n ;} \ done ${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${STAGEDIR}${PREFIX}/bin/festival ${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh ${STAGEDIR}${PREFIX}/bin/festival_client ${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${STAGEDIR}${DATADIR}/lib/sitevars.scm ${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 ${STAGEDIR}${PREFIX}/man/man1/festival.1 ${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${STAGEDIR}${PREFIX}/man/man1/festival_client.1 .include Index: head/audio/firefly/Makefile =================================================================== --- head/audio/firefly/Makefile (revision 394777) +++ head/audio/firefly/Makefile (revision 394778) @@ -1,82 +1,78 @@ # Created by: Mark Foster # $FreeBSD$ PORTNAME= firefly PORTVERSION= 1696 PORTREVISION= 12 CATEGORIES= audio MASTER_SITES= SF/fireflyserver-server/Sources/mt-daapd/svn-${PORTVERSION} DISTNAME= mt-daapd-svn-${PORTVERSION} MAINTAINER= info@NetOcean.de COMMENT= Open-source media server for the Roku SoundBridge and iTunes LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/vorbis/codec.h:${PORTSDIR}/audio/libvorbis \ ${LOCALBASE}/include/FLAC/metadata.h:${PORTSDIR}/audio/flac RUN_DEPENDS= oggdec:${PORTSDIR}/audio/vorbis-tools \ flac:${PORTSDIR}/audio/flac LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libid3tag.so:${PORTSDIR}/audio/libid3tag GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-id3tag=${LOCALBASE} --enable-sqlite3 \ --enable-oggvorbis --enable-flac --localstatedir=/var USES= libtool INSTALL_TARGET= install-strip DAAPD_USER?= daapd DAAPD_GROUP?= daapd DAAPD_DBDIR?= /var/db/${PORTNAME} USE_RC_SUBR= mt-daapd USERS= ${DAAPD_USER} GROUPS= ${DAAPD_GROUP} SUB_LIST+= DAAPD_USER=${DAAPD_USER} \ DAAPD_GROUP=${DAAPD_GROUP} \ DAAPD_DBDIR=${DAAPD_DBDIR} SUB_FILES= pkg-message PLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} \ DAAPD_USER=${DAAPD_USER} \ DAAPD_GROUP=${DAAPD_GROUP} USE_LDCONFIG= yes USE_GCC= any OPTIONS_DEFINE= JAPANESE DOCS JAPANESE_DESC= Japanese support in ID3 tags -.include +JAPANESE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_scan-mp3.c +JAPANESE_USES= iconv +JAPANESE_CONFIGURE_ON= --enable-iconv -.if ${PORT_OPTIONS:MJAPANESE} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_scan-mp3.c -USES+= iconv -CONFIGURE_ARGS+= --enable-iconv -.endif - pre-everything:: @${ECHO_CMD} "Define vars below if you need:" @${ECHO_CMD} "DAAPD_USER=${DAAPD_USER} (default: daapd)" @${ECHO_CMD} "DAAPD_GROUP=${DAAPD_GROUP} (default: daapd)" @${ECHO_CMD} "DAAPD_DBDIR=${DAAPD_DBDIR} (default: /var/db/${PORTNAME})" post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in README AUTHORS COPYING CREDITS \ - ChangeLog INSTALL NEWS TODO - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} -.endfor -.endif @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/mt-daapd.conf.sample @${MKDIR} ${STAGEDIR}${DAAPD_DBDIR} @${MKDIR} ${STAGEDIR}${DATADIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in README AUTHORS COPYING CREDITS \ + ChangeLog INSTALL NEWS TODO + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} +.endfor + .include Index: head/audio/gbsplay/Makefile =================================================================== --- head/audio/gbsplay/Makefile (revision 394777) +++ head/audio/gbsplay/Makefile (revision 394778) @@ -1,97 +1,92 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= gbsplay PORTVERSION= 0.0.8 PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= LOCAL/ehaupt PKGNAMEPREFIX?= MAINTAINER= ehaupt@FreeBSD.org COMMENT?= Emulates the sound hardware of the Nintendo Game Boy(TM) HAS_CONFIGURE= yes USES= gettext gmake USE_CSTD= gnu89 CONFIGURE_ARGS+= --prefix=${PREFIX} .if ${PKGNAMEPREFIX} == "" CONFIGURE_ARGS+= --without-xmmsplugin MANPAGE1= gbsplay.1 gbsinfo.1 MANPAGE5= gbsplayrc.5 PORTDOCS= COPYRIGHT HISTORY README OPTIONS_DEFINE= NAS DOCS .endif -.include - .if ${PKGNAMEPREFIX} == "" -.if ${PORT_OPTIONS:MNAS} -LIB_DEPENDS+= libaudio.so:${PORTSDIR}/audio/nas -.else -CONFIGURE_ARGS+= --disable-nas -.endif +NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas +NAS_CONFIGURE_ENABLE= nas .endif post-patch: gbsplay-post-patch @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e \ '/^need_include\ /d; \ 468s|char argc|int argc|; \ s|/usr/local/include|${LOCALBASE}/include|; \ s|/usr/local/lib|${LOCALBASE}/lib|; \ s|/usr/X11R6/include||; \ s|/usr/X11R6/lib||; \ s|/usr/X11/lib|${LOCALBASE}/lib|; \ s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \ s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \ s|-march=$$ARCH||' \ ${WRKSRC}/configure .if ${PKGNAMEPREFIX} == "" gbsplay-post-patch: @${REINPLACE_CMD} -e 's|/\(etc/gbsplayrc\)|${PREFIX}/\1|' \ ${WRKSRC}/gbsplay.c \ ${WRKSRC}/gbsplay.in.1 \ ${WRKSRC}/gbsplayrc.in.5 do-install: .for f in ${PORTNAME} gbsinfo ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor .for f in ${MANPAGE1} ${MANPAGE5} ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN${f:E}PREFIX}/man/man${f:E} .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.sample .if !exists(${STAGEDIR}${PREFIX}/etc/gbsplayrc) ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ ${STAGEDIR}${PREFIX}/etc/gbsplayrc .endif .for l in de en ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \ ${STAGEDIR}${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif .include Index: head/audio/gimmix/Makefile =================================================================== --- head/audio/gimmix/Makefile (revision 394777) +++ head/audio/gimmix/Makefile (revision 394778) @@ -1,44 +1,37 @@ # Created by: Matthieu Guegan # $FreeBSD$ PORTNAME= gimmix PORTVERSION= 0.5.7.2 CATEGORIES= audio MASTER_SITES= BERLIOS MAINTAINER= ports@FreeBSD.org COMMENT= Gimmix is a graphical MPD client written in C using GTK+2 LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \ libtag.so:${PORTSDIR}/audio/taglib \ libnxml.so:${PORTSDIR}/textproc/libnxml LICENSE= GPLv2 OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes USE_GNOME= gtk20 intltool libglade2 GNU_CONFIGURE= yes USES= tar:bzip2 desktop-file-utils gmake pkgconfig CONFIGURE_ENV= DATADIRNAME=share -.include - -.if ${PORT_OPTIONS:MNLS} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lintl -CONFIGURE_ARGS+= --enable-nls -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext post-patch: @${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/gimmix-covers.c ${WRKSRC}/src/gimmix-lyrics.c .include Index: head/audio/gmpc/Makefile =================================================================== --- head/audio/gmpc/Makefile (revision 394777) +++ head/audio/gmpc/Makefile (revision 394778) @@ -1,47 +1,39 @@ # Created by: Mark Reidel # $FreeBSD$ PORTNAME= gmpc PORTVERSION= 11.8.16 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \ http://freebsd.unixfreunde.de/sources/ MAINTAINER= ports@FreeBSD.org COMMENT= Full featured GTK2 client for musicpd BUILD_DEPENDS= gob2:${PORTSDIR}/devel/gob2 \ valac:${PORTSDIR}/lang/vala LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \ libsexy.so:${PORTSDIR}/x11-toolkits/libsexy \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique GNU_CONFIGURE= yes USES= gettext gmake libtool pathfix pkgconfig USE_GNOME= glib20 gtk20 intltool libglade2 INSTALLS_ICONS= yes CONFIGURE_ARGS= --enable-system-libsexy CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm OPTIONS_DEFINE= MMKEYS XSPF OPTIONS_DEFAULT= MMKEYS -.include +MMKEYS_CONFIGURE_ON=--disable-mmkeys -.if ${PORT_OPTIONS:MMMKEYS} -CONFIGURE_ARGS+=--disable-mmkeys -.endif - -.if ${PORT_OPTIONS:MXSPF} -LIB_DEPENDS+= libxspf.so:${PORTSDIR}/multimedia/libxspf -CONFIGURE_ARGS+=--enable-libxspf -.else -CONFIGURE_ARGS+=--disable-libxspf -.endif +XSPF_LIB_DEPENDS= libxspf.so:${PORTSDIR}/multimedia/libxspf +XSPF_CONFIGURE_ENABLE= libxspf .include Index: head/audio/gmusicbrowser/Makefile =================================================================== --- head/audio/gmusicbrowser/Makefile (revision 394777) +++ head/audio/gmusicbrowser/Makefile (revision 394778) @@ -1,55 +1,52 @@ # Created by: Zhihao Yuan # $FreeBSD$ PORTNAME= gmusicbrowser PORTVERSION= 1.1.13 CATEGORIES= audio MASTER_SITES= http://gmusicbrowser.org/download/ MAINTAINER= lichray@gmail.com COMMENT= Jukebox for large collections of mp3/ogg/flac/mpc files LICENSE= GPLv3 RUN_DEPENDS= p5-Gtk2>=1.0:${PORTSDIR}/x11-toolkits/p5-Gtk2 NO_BUILD= yes PORTDOCS= AUTHORS COPYING README NEWS INSTALL layout_doc.html PORTDATA= * USES= shebangfix SHEBANG_FILES= *.pl OPTIONS_DEFINE= GSTREAMER DBUS WEBKIT NLS LIBNOTIFY DOCS OPTIONS_DEFAULT=LIBNOTIFY LIBNOTIFY_DESC= Desktop notification WEBKIT_DESC= Enable embedded web browser GSTREAMER_RUN_DEPENDS= p5-GStreamer>=0:${PORTSDIR}/multimedia/p5-GStreamer DBUS_RUN_DEPENDS= p5-Net-DBus>=1.0:${PORTSDIR}/devel/p5-Net-DBus WEBKIT_RUN_DEPENDS= p5-Gtk2-WebKit>=0:${PORTSDIR}/www/p5-Gtk2-WebKit LIBNOTIFY_RUN_DEPENDS= p5-Gtk2-Notify>=0.05:${PORTSDIR}/devel/p5-Gtk2-Notify NLS_RUN_DEPENDS= p5-Locale-gettext>=1.0:${PORTSDIR}/devel/p5-Locale-gettext OPTIONS_SUB= yes -.include - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MANPREFIX}/man/man1/${MAN1} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && (for d in layouts pix plugins; do \ ${COPYTREE_SHARE} $$d ${STAGEDIR}${DATADIR}; done) && \ ${INSTALL_DATA} *.pm ${STAGEDIR}${DATADIR} && \ ${INSTALL_SCRIPT} iceserver.pl ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) -.if ${PORT_OPTIONS:MNLS} +do-install-NLS-on: (cd ${WRKSRC}/locale && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/locale) -.endif .include Index: head/audio/gnome-media/Makefile =================================================================== --- head/audio/gnome-media/Makefile (revision 394777) +++ head/audio/gnome-media/Makefile (revision 394778) @@ -1,53 +1,46 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/audio/gnome-media/Makefile,v 1.164 2012/09/01 23:02:08 mezz Exp $ PORTNAME= gnome-media PORTVERSION= 2.32.0 PORTREVISION= 6 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Multimedia applications for the GNOME 2 desktop BUILD_DEPENDS= xml2po:${PORTSDIR}/textproc/gnome-doc-utils LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique CONFLICTS= gnome-control-center-3.[0-9]* libgnome-media-profiles-3.[0-9]* INSTALLS_OMF= yes INSTALLS_ICONS= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gettext gmake libtool:keepla pathfix pkgconfig tar:bzip2 USE_GNOME= gnomeprefix intlhack gtk20 libxml2 gconf2 USE_GSTREAMER= gconf good CONFIGURE_ARGS= --disable-gstmix CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= gnome-audio-profiles.schemas \ gnome-sound-recorder.schemas OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MPULSEAUDIO} -LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio -CONFIGURE_ARGS+=--enable-pulseaudio -PLIST_SUB+= PULSE="" -.else -CONFIGURE_ARGS+=--disable-pulseaudio -PLIST_SUB+= PULSE="@comment " -.endif +PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_ENABLE=pulseaudio post-patch: @${REINPLACE_CMD} -e 's|have_gladeui=true|have_gladeui=false|g' \ ${WRKSRC}/configure .include Index: head/audio/gnome-media/pkg-plist =================================================================== --- head/audio/gnome-media/pkg-plist (revision 394777) +++ head/audio/gnome-media/pkg-plist (revision 394778) @@ -1,304 +1,304 @@ bin/gnome-audio-profiles-properties bin/gnome-sound-recorder -%%PULSE%%bin/gnome-volume-control -%%PULSE%%bin/gnome-volume-control-applet +%%PULSEAUDIO%%bin/gnome-volume-control +%%PULSEAUDIO%%bin/gnome-volume-control-applet bin/gstreamer-properties -%%PULSE%%etc/xdg/autostart/gnome-volume-control-applet.desktop +%%PULSEAUDIO%%etc/xdg/autostart/gnome-volume-control-applet.desktop include/gnome-media/profiles/audio-profile-choose.h include/gnome-media/profiles/audio-profile-edit.h include/gnome-media/profiles/audio-profile.h include/gnome-media/profiles/audio-profiles-edit.h include/gnome-media/profiles/gnome-media-profiles.h lib/libgnome-media-profiles.a lib/libgnome-media-profiles.la lib/libgnome-media-profiles.so lib/libgnome-media-profiles.so.0 lib/libgnome-media-profiles.so.0.0.0 libdata/pkgconfig/gnome-media-profiles.pc share/applications/gnome-sound-recorder.desktop -%%PULSE%%share/applications/gnome-volume-control.desktop +%%PULSEAUDIO%%share/applications/gnome-volume-control.desktop share/applications/gstreamer-properties.desktop %%DATADIR%%/gnome-audio-profile-edit.ui %%DATADIR%%/gnome-audio-profile-new.ui -%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-high.png -%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-low.png -%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-medium.png -%%PULSE%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-muted.png -%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-high.png -%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-low.png -%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-medium.png -%%PULSE%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-muted.png -%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-high.png -%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-low.png -%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-medium.png -%%PULSE%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-muted.png -%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-high.png -%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-low.png -%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-medium.png -%%PULSE%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-muted.png -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-back.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-back-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-side.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-side-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-back.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-back-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-side.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-side-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-back-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-back.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-subwoofer.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-subwoofer-testing.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-high.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-low.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-medium.svg -%%PULSE%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-muted.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-high.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-low.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-medium.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/16x16/status/audio-input-microphone-muted.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-high.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-low.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-medium.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/22x22/status/audio-input-microphone-muted.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-high.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-low.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-medium.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/24x24/status/audio-input-microphone-muted.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-high.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-low.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-medium.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/32x32/status/audio-input-microphone-muted.png +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-back.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-back-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-side.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-side-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-left-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-back.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-back-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-side.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-side-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-right-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-back-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-speaker-center-back.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-subwoofer.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/48x48/devices/audio-subwoofer-testing.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-high.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-low.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-medium.svg +%%PULSEAUDIO%%%%DATADIR%%/icons/hicolor/scalable/status/audio-input-microphone-muted.svg %%DATADIR%%/sounds/gnome-sounds-default.xml share/gnome-sound-recorder/ui/ui.xml share/gnome/help/gnome-audio-profiles/C/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/C/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/C/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/C/legal.xml share/gnome/help/gnome-audio-profiles/da/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/da/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/da/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/da/legal.xml share/gnome/help/gnome-audio-profiles/de/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/de/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/de/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/de/legal.xml share/gnome/help/gnome-audio-profiles/el/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/el/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/el/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/el/legal.xml share/gnome/help/gnome-audio-profiles/es/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/es/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/es/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/es/legal.xml share/gnome/help/gnome-audio-profiles/fr/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/fr/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/fr/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/fr/legal.xml share/gnome/help/gnome-audio-profiles/sv/figures/gnome-audio-profiles-profile-window.png share/gnome/help/gnome-audio-profiles/sv/figures/gnome-audio-profiles-profiles-window.png share/gnome/help/gnome-audio-profiles/sv/gnome-audio-profiles.xml share/gnome/help/gnome-audio-profiles/sv/legal.xml share/gnome/help/gnome-sound-recorder/C/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/C/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/C/legal.xml share/gnome/help/gnome-sound-recorder/ca/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/ca/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/cs/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/cs/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/da/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/da/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/de/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/de/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/el/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/el/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/en_GB/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/en_GB/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/es/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/es/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/fr/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/fr/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/it/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/it/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/oc/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/oc/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/ru/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/ru/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/sv/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/sv/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/uk/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/uk/gnome-sound-recorder.xml share/gnome/help/gnome-sound-recorder/zh_CN/figures/grecord_window.png share/gnome/help/gnome-sound-recorder/zh_CN/gnome-sound-recorder.xml share/gnome/help/gstreamer-properties/C/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/C/gstreamer-properties.xml share/gnome/help/gstreamer-properties/C/legal.xml share/gnome/help/gstreamer-properties/ca/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/ca/gstreamer-properties.xml share/gnome/help/gstreamer-properties/cs/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/cs/gstreamer-properties.xml share/gnome/help/gstreamer-properties/da/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/da/gstreamer-properties.xml share/gnome/help/gstreamer-properties/de/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/de/gstreamer-properties.xml share/gnome/help/gstreamer-properties/el/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/el/gstreamer-properties.xml share/gnome/help/gstreamer-properties/en_GB/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/en_GB/gstreamer-properties.xml share/gnome/help/gstreamer-properties/es/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/es/gstreamer-properties.xml share/gnome/help/gstreamer-properties/fr/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/fr/gstreamer-properties.xml share/gnome/help/gstreamer-properties/it/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/it/gstreamer-properties.xml share/gnome/help/gstreamer-properties/oc/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/oc/gstreamer-properties.xml share/gnome/help/gstreamer-properties/pt_BR/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/pt_BR/gstreamer-properties.xml share/gnome/help/gstreamer-properties/ru/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/ru/gstreamer-properties.xml share/gnome/help/gstreamer-properties/sv/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/sv/gstreamer-properties.xml share/gnome/help/gstreamer-properties/th/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/th/gstreamer-properties.xml share/gnome/help/gstreamer-properties/uk/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/uk/gstreamer-properties.xml share/gnome/help/gstreamer-properties/zh_CN/figures/gstreamer_properties_window.png share/gnome/help/gstreamer-properties/zh_CN/gstreamer-properties.xml share/gstreamer-properties/gstreamer-properties.ui share/gstreamer-properties/icons/gstreamer-properties.png share/icons/hicolor/16x16/apps/gnome-sound-recorder.png -%%PULSE%%share/icons/hicolor/16x16/apps/multimedia-volume-control.png -%%PULSE%%share/icons/hicolor/16x16/apps/multimedia-volume-control.svg +%%PULSEAUDIO%%share/icons/hicolor/16x16/apps/multimedia-volume-control.png +%%PULSEAUDIO%%share/icons/hicolor/16x16/apps/multimedia-volume-control.svg share/icons/hicolor/22x22/apps/gnome-sound-recorder.png -%%PULSE%%share/icons/hicolor/22x22/apps/multimedia-volume-control.png -%%PULSE%%share/icons/hicolor/22x22/apps/multimedia-volume-control.svg +%%PULSEAUDIO%%share/icons/hicolor/22x22/apps/multimedia-volume-control.png +%%PULSEAUDIO%%share/icons/hicolor/22x22/apps/multimedia-volume-control.svg share/icons/hicolor/24x24/apps/gnome-sound-recorder.png -%%PULSE%%share/icons/hicolor/24x24/apps/multimedia-volume-control.png +%%PULSEAUDIO%%share/icons/hicolor/24x24/apps/multimedia-volume-control.png share/icons/hicolor/32x32/apps/gnome-sound-recorder.png -%%PULSE%%share/icons/hicolor/32x32/apps/multimedia-volume-control.png -%%PULSE%%share/icons/hicolor/32x32/apps/multimedia-volume-control.svg +%%PULSEAUDIO%%share/icons/hicolor/32x32/apps/multimedia-volume-control.png +%%PULSEAUDIO%%share/icons/hicolor/32x32/apps/multimedia-volume-control.svg share/icons/hicolor/48x48/apps/gnome-sound-recorder.png -%%PULSE%%share/icons/hicolor/48x48/apps/multimedia-volume-control.png +%%PULSEAUDIO%%share/icons/hicolor/48x48/apps/multimedia-volume-control.png share/icons/hicolor/48x48/apps/gstreamer-properties.png share/icons/hicolor/scalable/apps/gnome-sound-recorder.svg -%%PULSE%%share/icons/hicolor/scalable/apps/multimedia-volume-control.svg +%%PULSEAUDIO%%share/icons/hicolor/scalable/apps/multimedia-volume-control.svg share/locale/af/LC_MESSAGES/gnome-media-2.0.mo share/locale/am/LC_MESSAGES/gnome-media-2.0.mo share/locale/ar/LC_MESSAGES/gnome-media-2.0.mo share/locale/as/LC_MESSAGES/gnome-media-2.0.mo share/locale/ast/LC_MESSAGES/gnome-media-2.0.mo share/locale/az/LC_MESSAGES/gnome-media-2.0.mo share/locale/be/LC_MESSAGES/gnome-media-2.0.mo share/locale/be@latin/LC_MESSAGES/gnome-media-2.0.mo share/locale/bg/LC_MESSAGES/gnome-media-2.0.mo share/locale/bn/LC_MESSAGES/gnome-media-2.0.mo share/locale/bn_IN/LC_MESSAGES/gnome-media-2.0.mo share/locale/br/LC_MESSAGES/gnome-media-2.0.mo share/locale/bs/LC_MESSAGES/gnome-media-2.0.mo share/locale/ca/LC_MESSAGES/gnome-media-2.0.mo share/locale/ca@valencia/LC_MESSAGES/gnome-media-2.0.mo share/locale/cs/LC_MESSAGES/gnome-media-2.0.mo share/locale/cy/LC_MESSAGES/gnome-media-2.0.mo share/locale/da/LC_MESSAGES/gnome-media-2.0.mo share/locale/de/LC_MESSAGES/gnome-media-2.0.mo share/locale/dz/LC_MESSAGES/gnome-media-2.0.mo share/locale/el/LC_MESSAGES/gnome-media-2.0.mo share/locale/en@shaw/LC_MESSAGES/gnome-media-2.0.mo share/locale/en_CA/LC_MESSAGES/gnome-media-2.0.mo share/locale/en_GB/LC_MESSAGES/gnome-media-2.0.mo share/locale/es/LC_MESSAGES/gnome-media-2.0.mo share/locale/et/LC_MESSAGES/gnome-media-2.0.mo share/locale/eu/LC_MESSAGES/gnome-media-2.0.mo share/locale/fa/LC_MESSAGES/gnome-media-2.0.mo share/locale/fi/LC_MESSAGES/gnome-media-2.0.mo share/locale/fr/LC_MESSAGES/gnome-media-2.0.mo share/locale/ga/LC_MESSAGES/gnome-media-2.0.mo share/locale/gl/LC_MESSAGES/gnome-media-2.0.mo share/locale/gu/LC_MESSAGES/gnome-media-2.0.mo share/locale/he/LC_MESSAGES/gnome-media-2.0.mo share/locale/hi/LC_MESSAGES/gnome-media-2.0.mo share/locale/hr/LC_MESSAGES/gnome-media-2.0.mo share/locale/hu/LC_MESSAGES/gnome-media-2.0.mo share/locale/id/LC_MESSAGES/gnome-media-2.0.mo share/locale/it/LC_MESSAGES/gnome-media-2.0.mo share/locale/ja/LC_MESSAGES/gnome-media-2.0.mo share/locale/ka/LC_MESSAGES/gnome-media-2.0.mo share/locale/kn/LC_MESSAGES/gnome-media-2.0.mo share/locale/ko/LC_MESSAGES/gnome-media-2.0.mo share/locale/ku/LC_MESSAGES/gnome-media-2.0.mo share/locale/lt/LC_MESSAGES/gnome-media-2.0.mo share/locale/lv/LC_MESSAGES/gnome-media-2.0.mo share/locale/mai/LC_MESSAGES/gnome-media-2.0.mo share/locale/mg/LC_MESSAGES/gnome-media-2.0.mo share/locale/mk/LC_MESSAGES/gnome-media-2.0.mo share/locale/ml/LC_MESSAGES/gnome-media-2.0.mo share/locale/mn/LC_MESSAGES/gnome-media-2.0.mo share/locale/mr/LC_MESSAGES/gnome-media-2.0.mo share/locale/ms/LC_MESSAGES/gnome-media-2.0.mo share/locale/nb/LC_MESSAGES/gnome-media-2.0.mo share/locale/nds/LC_MESSAGES/gnome-media-2.0.mo share/locale/ne/LC_MESSAGES/gnome-media-2.0.mo share/locale/nl/LC_MESSAGES/gnome-media-2.0.mo share/locale/nn/LC_MESSAGES/gnome-media-2.0.mo share/locale/oc/LC_MESSAGES/gnome-media-2.0.mo share/locale/or/LC_MESSAGES/gnome-media-2.0.mo share/locale/pa/LC_MESSAGES/gnome-media-2.0.mo share/locale/pl/LC_MESSAGES/gnome-media-2.0.mo share/locale/pt/LC_MESSAGES/gnome-media-2.0.mo share/locale/pt_BR/LC_MESSAGES/gnome-media-2.0.mo share/locale/ro/LC_MESSAGES/gnome-media-2.0.mo share/locale/ru/LC_MESSAGES/gnome-media-2.0.mo share/locale/rw/LC_MESSAGES/gnome-media-2.0.mo share/locale/si/LC_MESSAGES/gnome-media-2.0.mo share/locale/sk/LC_MESSAGES/gnome-media-2.0.mo share/locale/sl/LC_MESSAGES/gnome-media-2.0.mo share/locale/sq/LC_MESSAGES/gnome-media-2.0.mo share/locale/sr/LC_MESSAGES/gnome-media-2.0.mo share/locale/sr@latin/LC_MESSAGES/gnome-media-2.0.mo share/locale/sv/LC_MESSAGES/gnome-media-2.0.mo share/locale/ta/LC_MESSAGES/gnome-media-2.0.mo share/locale/te/LC_MESSAGES/gnome-media-2.0.mo share/locale/th/LC_MESSAGES/gnome-media-2.0.mo share/locale/tk/LC_MESSAGES/gnome-media-2.0.mo share/locale/tr/LC_MESSAGES/gnome-media-2.0.mo share/locale/ug/LC_MESSAGES/gnome-media-2.0.mo share/locale/uk/LC_MESSAGES/gnome-media-2.0.mo share/locale/vi/LC_MESSAGES/gnome-media-2.0.mo share/locale/wa/LC_MESSAGES/gnome-media-2.0.mo share/locale/xh/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_CN/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_HK/LC_MESSAGES/gnome-media-2.0.mo share/locale/zh_TW/LC_MESSAGES/gnome-media-2.0.mo share/omf/gnome-audio-profiles/gnome-audio-profiles-C.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-da.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-de.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-el.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-es.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-fr.omf share/omf/gnome-audio-profiles/gnome-audio-profiles-sv.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-C.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-ca.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-cs.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-da.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-de.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-el.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-en_GB.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-es.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-fr.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-it.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-oc.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-ru.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-sv.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-uk.omf share/omf/gnome-sound-recorder/gnome-sound-recorder-zh_CN.omf share/omf/gstreamer-properties/gstreamer-properties-C.omf share/omf/gstreamer-properties/gstreamer-properties-ca.omf share/omf/gstreamer-properties/gstreamer-properties-cs.omf share/omf/gstreamer-properties/gstreamer-properties-da.omf share/omf/gstreamer-properties/gstreamer-properties-de.omf share/omf/gstreamer-properties/gstreamer-properties-el.omf share/omf/gstreamer-properties/gstreamer-properties-en_GB.omf share/omf/gstreamer-properties/gstreamer-properties-es.omf share/omf/gstreamer-properties/gstreamer-properties-fr.omf share/omf/gstreamer-properties/gstreamer-properties-it.omf share/omf/gstreamer-properties/gstreamer-properties-oc.omf share/omf/gstreamer-properties/gstreamer-properties-pt_BR.omf share/omf/gstreamer-properties/gstreamer-properties-ru.omf share/omf/gstreamer-properties/gstreamer-properties-sv.omf share/omf/gstreamer-properties/gstreamer-properties-th.omf share/omf/gstreamer-properties/gstreamer-properties-uk.omf share/omf/gstreamer-properties/gstreamer-properties-zh_CN.omf share/sounds/gnome/default/alerts/bark.ogg share/sounds/gnome/default/alerts/drip.ogg share/sounds/gnome/default/alerts/glass.ogg share/sounds/gnome/default/alerts/sonar.ogg Index: head/audio/goobox/Makefile =================================================================== --- head/audio/goobox/Makefile (revision 394777) +++ head/audio/goobox/Makefile (revision 394778) @@ -1,45 +1,39 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ PORTNAME= goobox PORTVERSION= 3.4.0 PORTREVISION= 1 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= CD player and ripper for GNOME Desktop environment BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libdiscid.so:${PORTSDIR}/audio/libdiscid \ libcoverart.so.0:${PORTSDIR}/audio/libcoverart \ libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5 \ libbrasero-media3.so:${PORTSDIR}/sysutils/brasero \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique USES= desktop-file-utils gettext gmake pkgconfig tar:xz USE_GNOME= glib20 gtk30 intlhack USE_XORG= x11 USE_GSTREAMER1= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.Goobox.gschema.xml OPTIONS_DEFINE= NOTIFY OPTIONS_DEFAULT=NOTIFY -.include - -.if ${PORT_OPTIONS:MNOTIFY} -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -CONFIGURE_ARGS+=--enable-notification -.else -CONFIGURE_ARGS+=--disable-notification -.endif +NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +NOTIFY_CONFIGURE_ENABLE=notification .include Index: head/audio/gspeakers/Makefile =================================================================== --- head/audio/gspeakers/Makefile (revision 394777) +++ head/audio/gspeakers/Makefile (revision 394778) @@ -1,48 +1,43 @@ # Created by: Vincent Tantardini # $FreeBSD$ # $MCom: ports/audio/gspeakers/Makefile,v 1.6 2007/05/30 17:08:11 mezz Exp $ PORTNAME= gspeakers PORTVERSION= 0.11 PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Gnome-based loudspeaker design program LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 USES= autoreconf gmake pkgconfig USE_GNOME= gnomeprefix libxml2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -O0 OPTIONS_DEFINE= SPICE SPICE_DESC= Use spice instead of gnucap -.include - -.if ${PORT_OPTIONS:MSPICE} -RUN_DEPENDS+= spice3:${PORTSDIR}/cad/spice -.else -RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap -.endif +SPICE_RUN_DEPENDS= spice3:${PORTSDIR}/cad/spice +SPICE_RUN_DEPENDS_OFF= gnucap:${PORTSDIR}/cad/gnucap post-extract: @${FIND} ${WRKSRC} -type l -delete post-patch: @${REINPLACE_CMD} -e 's|$$(datadir)/pixmaps|$$(pkgdatadir)/pixmaps|g' \ ${WRKSRC}/pixmaps/Makefile.am @${REINPLACE_CMD} -e 's|-Wall -O0|@CXXFLAGS@|g' \ ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e 's|$$(datadir)/xml|$$(pkgdatadir)/xml|g' \ ${WRKSRC}/xml/Makefile.am @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/src/*.cc ${WRKSRC}/src/cellitemcrossover.h .include Index: head/audio/jack/Makefile =================================================================== --- head/audio/jack/Makefile (revision 394777) +++ head/audio/jack/Makefile (revision 394778) @@ -1,77 +1,70 @@ # Created by: Tilman Linneweh # $FreeBSD$ PORTNAME= jackit PORTVERSION= 0.124.1 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://jackaudio.org/downloads/ DISTNAME= jack-audio-connection-kit-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Low latency audio server LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libcelt0.so:${PORTSDIR}/audio/celt \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake pathfix pkgconfig libtool USE_BDB= 48+ CONFIGURE_ARGS= --disable-portaudio \ --with-default-tmpdir=/tmp CFLAGS+= -I${BDB_INCLUDE_DIR} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} INSTALL_TARGET= install-strip OPTIONS_DEFINE= ALSA DOXYGEN READLINE OPTIONS_DEFAULT=READLINE OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa READLINE_LIB_DEPENDS= libreadline.so:${PORTSDIR}/devel/readline -.include +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN="false" -.if ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen -.else -CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false" -.endif - -.if ! ${PORT_OPTIONS:MREADLINE} -CONFIGURE_ENV+= ac_cv_lib_readline_readline=no \ +READLINE_CONFIGURE_ENV_OFF= ac_cv_lib_readline_readline=no \ ac_cv_header_readline_chardefs_h=no -.endif post-patch: @${REINPLACE_CMD} -e 's|define USE_MLOCK|undef USE_MLOCK|' \ -e 's|alloca.h||' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s,-lpthread,-pthread," \ ${WRKSRC}/configure ${WRKSRC}/libjack/Makefile.in \ ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in ${WRKSRC}/jack.pc.in @${REINPLACE_CMD} -e "s,-lrt,," ${WRKSRC}/libjack/Makefile.in \ ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in @${REINPLACE_CMD} -e "s,-ldl,," ${WRKSRC}/jackd/Makefile.in \ ${WRKSRC}/example-clients/Makefile.in @${REINPLACE_CMD} -e 's|md5sum|md5 -q|g' \ ${WRKSRC}/jackd/Makefile.in @${RM} -f ${WRKSRC}/doc/reference/html/* post-build: @${RM} -f ${WRKSRC}/doc/reference/html/dir__2F* .include Index: head/audio/jack_ghero/Makefile =================================================================== --- head/audio/jack_ghero/Makefile (revision 394777) +++ head/audio/jack_ghero/Makefile (revision 394778) @@ -1,33 +1,29 @@ # Created by: Hans Petter Selasky # $FreeBSD$ PORTNAME= jack_ghero PORTVERSION= 1.0.3 CATEGORIES= audio MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \ http://home.selasky.org:8192/distfiles/ MAINTAINER= hselasky@FreeBSD.org COMMENT= Daemon that converts a GuitarHero device into a JACK MIDI device LICENSE= BSD2CLAUSE LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack USES= tar:bzip2 uidfix PLIST_FILES= sbin/jack_ghero \ man/man8/jack_ghero.8.gz OPTIONS_DEFINE= DEBUG -.include - MAKE_ARGS+= HAVE_MAN="YES" MAKE_ARGS+= PTHREAD_LIBS="-lpthread" -.if ${PORT_OPTIONS:MDEBUG} -MAKE_ARGS+= HAVE_DEBUG="YES" -.endif +DEBUG_MAKE_ARGS= HAVE_DEBUG="YES" .include Index: head/audio/jack_umidi/Makefile =================================================================== --- head/audio/jack_umidi/Makefile (revision 394777) +++ head/audio/jack_umidi/Makefile (revision 394778) @@ -1,46 +1,38 @@ # Created by: Hans Petter Selasky # $FreeBSD$ PORTNAME= jack_umidi PORTVERSION= 1.0.8 CATEGORIES= audio MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \ http://home.selasky.org:8192/distfiles/ MAINTAINER= hselasky@FreeBSD.org COMMENT= Daemon that converts a raw MIDI device into a JACK MIDI device LICENSE= BSD2CLAUSE LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack USES= tar:bzip2 uidfix PLIST_FILES= sbin/jack_umidi \ man/man8/jack_umidi.8.gz SUB_FILES= jack_umidi.conf OPTIONS_DEFINE= DEBUG DEVD_SCRIPT DEVD_SCRIPT_DESC= Install devd script to auto-launch jack_umidi -.include +DEVD_SCRIPT_PLIST_FILES= etc/devd/jack_umidi.conf -.if ${PORT_OPTIONS:MDEVD_SCRIPT} -PLIST_FILES+= etc/devd/jack_umidi.conf -.endif - MAKE_ARGS+= HAVE_MAN="YES" MAKE_ARGS+= PTHREAD_LIBS="-lpthread" -.if ${PORT_OPTIONS:MDEBUG} -MAKE_ARGS+= HAVE_DEBUG="YES" -.endif +DEBUG_MAKE_ARGS= HAVE_DEBUG="YES" -post-install: -.if ${PORT_OPTIONS:MDEVD_SCRIPT} +post-install-DEVD_SCRIPT-on:: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd ${INSTALL_DATA} ${WRKDIR}/jack_umidi.conf \ ${STAGEDIR}${PREFIX}/etc/devd -.endif .include Index: head/audio/juke/Makefile =================================================================== --- head/audio/juke/Makefile (revision 394777) +++ head/audio/juke/Makefile (revision 394778) @@ -1,29 +1,25 @@ # Created by: Oyvind Moll # $FreeBSD$ PORTNAME= juke PORTVERSION= 0.7 CATEGORIES= audio MASTER_SITES= http://www.moll.no/oyvind/distfiles/ \ http://www.orakel.ntnu.no/~oyvindmo/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple (n)curses based juke box program GNU_CONFIGURE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= VI_BINDINGS VI_BINDINGS_DESC= Use vi-like key bindings -.include - -.if ${PORT_OPTIONS:MVI_BINDINGS} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi -.endif +VI_BINDINGS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi post-install: ${INSTALL_DATA} ${WRKSRC}/juke.conf ${STAGEDIR}${PREFIX}/etc/juke.conf.sample .include Index: head/audio/kaudiocreator/Makefile =================================================================== --- head/audio/kaudiocreator/Makefile (revision 394777) +++ head/audio/kaudiocreator/Makefile (revision 394778) @@ -1,41 +1,37 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= kaudiocreator PORTVERSION= 1.3 PORTREVISION= 4 CATEGORIES= audio kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ DISTNAME= 107645-${PORTNAME}-${PORTVERSION} MAINTAINER= dbn@FreeBSD.org COMMENT= Audio-cd ripper and encoder for KDE4 LICENSE= GPLv2 LIB_DEPENDS= libdiscid.so:${PORTSDIR}/audio/libdiscid \ libtag.so:${PORTSDIR}/audio/taglib RUN_DEPENDS= flac:${PORTSDIR}/audio/flac \ oggenc:${PORTSDIR}/audio/vorbis-tools .if !defined(PACKAGE_BUILDING) RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame .endif USES= cmake tar:bzip2 USE_QT4= moc_build qmake_build rcc_build uic_build USE_KDE4= automoc4 kdeprefix libkcddb libkcompactdisc WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext -.include - -.if empty(PORT_OPTIONS:MNLS) -post-patch: +post-patch-NLS-off: ${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt -.endif .include Index: head/audio/lash/Makefile =================================================================== --- head/audio/lash/Makefile (revision 394777) +++ head/audio/lash/Makefile (revision 394778) @@ -1,67 +1,57 @@ # Created by: Edward Tomasz Napierala # $FreeBSD$ PORTNAME= lash PORTVERSION= 0.5.4 PORTREVISION= 11 CATEGORIES= audio MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Session management system for JACK audio applications LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \ libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid USES= gmake pathfix pkgconfig libtool USE_GNOME= gtk20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa-midi USE_LDCONFIG= yes LIBS= -luuid INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= READLINE PYTHON DOCS OPTIONS_DEFAULT=READLINE OPTIONS_SUB= yes PYTHON_DESC= Build pylash PYTHON_USES= python PYTHON_BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 PYTHON_CONFIGURE_OFF= --disable-pylash -.include +READLINE_USES= readline +READLINE_CONFIGURE_ENV_OFF= vl_cv_lib_readline=no -.if ${PORT_OPTIONS:MREADLINE} -USES+= readline -.else -CONFIGURE_ENV+= vl_cv_lib_readline=no -.endif +DOCS_BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html +DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_lash_texi2html=no -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html -.else -CONFIGURE_ENV+= ac_cv_prog_lash_texi2html=no -.endif - post-patch: @${REINPLACE_CMD} -e \ '/if test/s|==|=|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/texi2html/s|--number||' ${WRKSRC}/docs/Makefile.in -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/lash-manual-html-one-page/lash-manual.html \ ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/audio/liba52/Makefile =================================================================== --- head/audio/liba52/Makefile (revision 394777) +++ head/audio/liba52/Makefile (revision 394778) @@ -1,54 +1,49 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= liba52 PORTVERSION= 0.7.4 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://liba52.sourceforge.net/files/ DISTNAME= a52dec-${PORTVERSION:S/.b/b/} MAINTAINER= multimedia@FreeBSD.org COMMENT= Free library for decoding ATSC A/52 streams, aka AC-3 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-oss --enable-shared USE_LDCONFIG= yes OPTIONS_DEFINE= DJBFFT OPTIMIZED_CFLAGS DOCS DJBFFT_DESC= djb fft support DJBFFT_BUILD_DEPENDS= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft DJBFFT_RUN_DEPENDS= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft DJBFFT_CFLAGS= -I${LOCALBASE}/include DJBFFT_LDFLAGS= -L${LOCALBASE}/lib DJBFFT_CONFIGURE_ON= --enable-djbfft -.include - CFLAGS_aarch64= -fPIC CFLAGS_amd64= -fPIC CFLAGS_powerpc= -fPIC HEADER_FILES= liba52/a52_internal.h -post-patch: -.if ! ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} +post-patch-OPTIMIZED_CFLAGS-off: @${REINPLACE_CMD} -E -e 's!-O3!${CFLAGS}!' -e 's!-mcpu=[^"]+"!"!' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} -.endif -.if ${PORT_OPTIONS:MDJBFFT} +post-patch-DJBFFT-on: @${REINPLACE_CMD} -E -e 's|(fftc4.h)|djbfft/\1|' ${WRKSRC}/liba52/imdct.c -.endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/liba52/a52_internal.h ${STAGEDIR}${PREFIX}/include/a52dec @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0.* .include Index: head/audio/libaacplus/Makefile =================================================================== --- head/audio/libaacplus/Makefile (revision 394777) +++ head/audio/libaacplus/Makefile (revision 394778) @@ -1,64 +1,59 @@ # Created by: takefu # $FreeBSD$ PORTNAME= libaacplus PORTVERSION= 2.0.2 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://tipok.org.ua/downloads/media/aacplus/libaacplus/ \ ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2 \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${SRC26410}:site2 MAINTAINER= takefu@airport.fm COMMENT= HE-AAC+ Codec as Shared Library LICENSE= libaacplus LICENSE_NAME= 3GPP LICENSE_TEXT= ${RESTRICTED} LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_LGPL= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_3GPP= ${SRC26410} RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies CONFLICTS= aacplusenc-0* USE_CSTD= gnu89 USES= autoreconf pathfix pkgconfig libtool USE_LDCONFIG= yes PATHFIX_MAKEFILEIN= Makefile.am GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip AUTOMAKE_ARGS= --add-missing OPTIONS_DEFINE= FFTW3 OPTIONS_DEFAULT=FFTW3 SRC26410= 26410-800.zip FFTW3_DESC= Use FFTW3 library for performance -.include - -.if ${PORT_OPTIONS:MFFTW3} -LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3 \ - libfftw3f.so:${PORTSDIR}/math/fftw3-float -CONFIGURE_ARGS+=--with-fftw3=yes --with-fftw3-prefix=${LOCALBASE} -.else -CONFIGURE_ARGS+=--with-fftw3=no -.endif +FFTW3_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \ + libfftw3f.so:${PORTSDIR}/math/fftw3-float +FFTW3_CONFIGURE_ON= --with-fftw3=yes --with-fftw3-prefix=${LOCALBASE} +FFTW3_CONFIGURE_OFF= --with-fftw3=no pre-configure: @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src @${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' \ ${WRKSRC}/aacplus.pc.in @${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' \ ${WRKSRC}/aacplus.spec.in @${REINPLACE_CMD} -e 's,INCLUDES,AM_CPPFLAGS,'\ ${WRKSRC}/frontend/Makefile.am ${WRKSRC}/src/Makefile.am .include Index: head/audio/libamrnb/Makefile =================================================================== --- head/audio/libamrnb/Makefile (revision 394777) +++ head/audio/libamrnb/Makefile (revision 394778) @@ -1,55 +1,51 @@ # Created by: Tatsuki Makino # $FreeBSD$ PORTNAME= libamrnb PORTVERSION= 11.0.0.0 PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= audio MASTER_SITES= http://www.penguin.cz/~utx/ftp/amr/ \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/:SRC26104 DISTNAME= amrnb-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC26104}:SRC26104 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= 3GPP floating-point Adaptive Multi-Rate (AMR) Speech Codec LICENSE= BSD3CLAUSE 3GPP LICENSE_COMB= dual LICENSE_NAME_3GPP= 3GPP LICENSE_TEXT_3GPP= ${RESTRICTED} LICENSE_PERMS_3GPP= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_3GPP= ${SRC26104} BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip RESTRICTED= unclear legal status, probably need licenses from 3GPP and more USES= gmake tar:bzip2 libtool PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt GNU_CONFIGURE= yes CONFIGURE_ENV+= LANG=C MAKE_ENV+= LANG=C INSTALL_TARGET= install-strip SUB_FILES= pkg-message USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS SRC26104= 26104-b00.zip -.include - post-extract: @${CP} ${_DISTDIR}/${SRC26104} ${WRKSRC}/ -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-off: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ -.endif .include Index: head/audio/libamrwb/Makefile =================================================================== --- head/audio/libamrwb/Makefile (revision 394777) +++ head/audio/libamrwb/Makefile (revision 394778) @@ -1,54 +1,50 @@ # Created by: Tatsuki Makino # $FreeBSD$ PORTNAME= libamrwb PORTVERSION= 11.0.0.0 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.penguin.cz/~utx/ftp/amr/ \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:SRC26204 DISTNAME= amrwb-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC26204}:SRC26204 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= 3GPP Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec LICENSE= BSD3CLAUSE 3GPP LICENSE_COMB= dual LICENSE_NAME_3GPP= 3GPP LICENSE_TEXT_3GPP= ${RESTRICTED} LICENSE_PERMS_3GPP= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_3GPP= ${SRC26204} BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip RESTRICTED= unclear legal status, probably need licenses from 3GPP and more USES= gmake tar:bzip2 libtool PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt GNU_CONFIGURE= yes CONFIGURE_ENV+= LANG=C MAKE_ENV+= LANG=C INSTALL_TARGET= install-strip SUB_FILES= pkg-message USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS SRC26204= 26204-b00.zip -.include - post-extract: - @${CP} ${_DISTDIR}/${SRC26204} ${WRKSRC}/ + @${CP} ${_DISTDIR}/${SRC26204} ${WRKSRC} -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ -.endif + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/audio/libfishsound/Makefile =================================================================== --- head/audio/libfishsound/Makefile (revision 394777) +++ head/audio/libfishsound/Makefile (revision 394778) @@ -1,39 +1,35 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= libfishsound PORTVERSION= 1.0.0 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://downloads.xiph.org/releases/libfishsound/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Programing interface to decode/encode audio data LICENSE= BSD3CLAUSE LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ libspeex.so:${PORTSDIR}/audio/speex \ libvorbis.so:${PORTSDIR}/audio/libvorbis OPTIONS_DEFINE= DOCS DOXYGEN GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= libtool pathfix pkgconfig -.include - -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen PORTDOCS= * -.endif -post-patch: -.if !${PORT_OPTIONS:MDOCS} || !${PORT_OPTIONS:MDOXYGEN} +DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen +DOXYGEN_IMPLIES= DOCS + +post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in -.endif .include Index: head/audio/liblo/Makefile =================================================================== --- head/audio/liblo/Makefile (revision 394777) +++ head/audio/liblo/Makefile (revision 394778) @@ -1,51 +1,48 @@ # Created by: Edward Tomasz Napierala # $FreeBSD$ PORTNAME= liblo PORTVERSION= 0.28 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= koalative@gmail.com COMMENT= Lightweight Open Sound Control implementation LICENSE= LGPL21 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= gmake libtool pathfix USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= example_client example_server \ example_tcp_echo_server nonblocking_server_example OPTIONS_DEFINE= DOXYGEN DOCS EXAMPLES OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen -.include - post-patch: .if ${ARCH} == i386 || ${ARCH} == powerpc @${REINPLACE_CMD} -e 's,deadbeef,, ; s,f00baa23,,' \ ${WRKSRC}/lo/lo_macros.h .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS ChangeLog NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.if ${PORT_OPTIONS:MDOXYGEN} - (cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \ - ${STAGEDIR}${MAN3PREFIX}/man/man3/) - (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) -.endif @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \ ${STAGEDIR}${EXAMPLESDIR} +post-install-DOXYGEN-on: + (cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \ + ${STAGEDIR}${MAN3PREFIX}/man/man3/) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) .include Index: head/audio/libmpdclient/Makefile =================================================================== --- head/audio/libmpdclient/Makefile (revision 394777) +++ head/audio/libmpdclient/Makefile (revision 394778) @@ -1,28 +1,24 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= libmpdclient PORTVERSION= 2.10 CATEGORIES= audio MASTER_SITES= http://www.musicpd.org/download/libmpdclient/2/ MAINTAINER= ports@FreeBSD.org COMMENT= API library for interfacing MPD GNU_CONFIGURE= yes USES= tar:xz gmake libtool pathfix USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= yes +DOXYGEN_IMPLIES= DOCS -.include - -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen -.else -CONFIGURE_ARGS= --disable-documentation -.endif +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +DOCS_CONFIGURE_OFF= --disable-documentation .include Index: head/audio/libnjb/Makefile =================================================================== --- head/audio/libnjb/Makefile (revision 394777) +++ head/audio/libnjb/Makefile (revision 394778) @@ -1,42 +1,37 @@ # Created by: adrianm # $FreeBSD$ PORTNAME= libnjb PORTVERSION= 2.2.7 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= C library, API for communicating with Creative and Dell audio players LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= pathfix libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= * OPTIONS_DEFINE= DOCS -.include - -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen -.else -CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN=no -.endif +DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +DOCS_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=no post-patch: @${REINPLACE_CMD} -e \ '/^SHOW_DIRECTORIES/d' ${WRKSRC}/doc/Doxyfile.in @${REINPLACE_CMD} -e \ '/pkgdocdir/s|-$$(VERSION)||g' ${WRKSRC}/doc/Makefile.in .include Index: head/audio/libsidplayfp/Makefile =================================================================== --- head/audio/libsidplayfp/Makefile (revision 394777) +++ head/audio/libsidplayfp/Makefile (revision 394778) @@ -1,67 +1,60 @@ # $FreeBSD$ PORTNAME= libsidplayfp PORTVERSION= 1.7.0 CATEGORIES= audio MASTER_SITES= SF/sidplay-residfp/libsidplayfp/${PORTVERSION:R} MAINTAINER= liangtai.s16@gmail.com COMMENT= Library to play Commodore 64 music derived from libsidplay2 LICENSE= GPLv2 USES= gmake libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= NEWS README TODO OPTIONS_DEFINE= DEBUG DOCS DOXYGEN DEBUG_CONFIGURE_ON= --enable-debug=full DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen OPTIONS_MULTI= OPTIMIZATION OPTIONS_MULTI_OPTIMIZATION= BHINTS INLINE MMX OPTIONS_DEFAULT= BHINTS INLINE OPTIMIZATION_DESC= Increase performance by optimization BHINTS_DESC= Enable branch hints in reSID engine BHINTS_CONFIGURE_ENABLE= branch-hints INLINE_DESC= Enable inlining in reSID engine at bigger code size INLINE_CONFIGURE_ENABLE= inline MMX_DESC= Enable MMX code in reSIDfp for old x86 non-SSE2 CPU MMX_CONFIGURE_ENABLE= mmx BUILD_DEPENDS+= xa65:${PORTSDIR}/devel/xa65 -.include - SIDPLAYFP_SHLIB_VERSION= 3.2.0 STILVIEW_SHLIB_VERSION= 0.0.2 PLIST_SUB+= \ SIDPLAYFP_SHLIB_VER=${SIDPLAYFP_SHLIB_VERSION:C/\.[[:digit:].]+//} \ SIDPLAYFP_SHLIB_VERSION=${SIDPLAYFP_SHLIB_VERSION} \ STILVIEW_SHLIB_VER=${STILVIEW_SHLIB_VERSION:C/\.[[:digit:].]+//} \ STILVIEW_SHLIB_VERSION=${STILVIEW_SHLIB_VERSION} -post-build: -.if ${PORT_OPTIONS:MDOXYGEN} +post-build-DOXYGEN-on: cd ${WRKSRC} && ${MAKE} doc -.endif -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ; \ cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MDOXYGEN} +post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ; \ ${INSTALL_MAN} ${WRKSRC}/docs/html/* ${STAGEDIR}${DOCSDIR}/html ; \ ${RM} -f ${WRKDIR}/PLIST.doc ; \ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ ${SED} 's|${STAGEDIR}${PREFIX}/||' \ >> ${WRKDIR}/PLIST.doc cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} -.endif .include Index: head/audio/mctoolame-decoder/Makefile =================================================================== --- head/audio/mctoolame-decoder/Makefile (revision 394777) +++ head/audio/mctoolame-decoder/Makefile (revision 394778) @@ -1,37 +1,34 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= mctoolame PORTVERSION= 0.1.a PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}d/${PORTNAME}d-01a PKGNAMESUFFIX= -decoder DISTNAME= ${PORTNAME}d-${PORTVERSION:C/\.//g} MAINTAINER= ports@FreeBSD.org COMMENT= MPEG Layer II audio decoder with multi-channel support USES= gmake tar:tgz ALL_TARGET= # MAKE_ARGS= CC="${CC}" OPTIM="${CFLAGS}" PLIST_SUB= PKGNAMESUFFIX="${PKGNAMESUFFIX}" OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e 's|$$(ARCH)||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ 's|gets *\(([^,)]+)\)|fgets(\1, sizeof(\1), stdin)|' \ ${WRKSRC}/musicout.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mctoolamed ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html -.endif .include Index: head/audio/mctoolame-encoder/Makefile =================================================================== --- head/audio/mctoolame-encoder/Makefile (revision 394777) +++ head/audio/mctoolame-encoder/Makefile (revision 394778) @@ -1,37 +1,34 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= mctoolame PORTVERSION= 0.1.a PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-01a PKGNAMESUFFIX= -encoder DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.//g} MAINTAINER= ports@FreeBSD.org COMMENT= MPEG Layer II audio encoder with multi-channel support USES= gmake tar:tgz ALL_TARGET= # MAKE_ARGS= CC="${CC}" OPTIM="${CFLAGS}" PLIST_SUB= PKGNAMESUFFIX="${PKGNAMESUFFIX}" OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e 's|$$(ARCH)||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ 's|gets *\(([^,)]+)\)|fgets(\1, sizeof(\1), stdin)|' \ ${WRKSRC}/config.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mctoolame ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html -.endif .include Index: head/audio/mma/Makefile =================================================================== --- head/audio/mma/Makefile (revision 394777) +++ head/audio/mma/Makefile (revision 394778) @@ -1,70 +1,66 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= mma PORTVERSION= 15.01 PORTREVISION= 0 CATEGORIES= audio MASTER_SITES= http://www.mellowood.ca/${PORTNAME}/ DISTFILES= ${PORTNAME}-bin-${PORTVERSION}.tar.gz MAINTAINER= nivit@FreeBSD.org COMMENT= Musical MIDI Accompaniment generator LICENSE= GPLv2 RUN_DEPENDS= aplaymidi:${PORTSDIR}/audio/alsa-utils \ timidity:${PORTSDIR}/audio/timidity++ MMABIN= ${PREFIX}/bin/mma OPTIONS_DEFINE= DOCS EXAMPLES REINPLACE_ARGS= -i.bak -E -e 's,/usr(/bin/(aplaymidi|arecord|timidity)),${LOCALBASE}\1,g' SHEBANG_FILES= mma.py SUB_FILES= mma_g.py SUB_LIST= PYTHON_CMD=${PYTHON_CMD} USES= python shebangfix WRKDOC= ${WRKDIR}/${PORTNAME}-pdf-${DISTVERSION:S,a,,} WRKSRC= ${WRKDIR}/${PORTNAME}-bin-${DISTVERSION} python_OLD_CMD= /usr/bin/env python -.include - -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= ${PORTNAME}-pdf-${DISTVERSION:S,a,,}.tar.gz -.endif +DOCS_DISTFILES= ${PORTNAME}-pdf-${DISTVERSION:S,a,,}.tar.gz post-patch: @(cd ${WRKSRC} && \ ${REINPLACE_CMD} mma-splitrec util/mma-splitrec.py) do-build: @${PYTHON_CMD} -O -m compileall -f ${WRKSRC}/MMA @${PYTHON_CMD} -OO -m compileall -f ${WRKSRC}/MMA do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/mma.py ${STAGEDIR}${MMABIN} cd ${WRKSRC} && ${COPYTREE_SHARE} "lib includes MMA" ${STAGEDIR}${DATADIR} "-not -name *\.bak" @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/egs && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf (cd ${WRKDOC} && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/pdf/ "! -name README") (cd ${WRKSRC}/docs/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html) (cd ${WRKSRC}/docs/man && \ ${COPYTREE_SHARE} . ${STAGEDIR}${MANPREFIX}/man/man1/ "! -name mma-libdoc.8" && \ ${INSTALL_MAN} mma-libdoc.8 ${STAGEDIR}${MANPREFIX}/man/man8/) post-install: # update mma library (mma -g) to use ${DATADIR} path @(cd ${STAGEDIR}${DATADIR} && \ ${PYTHON_CMD} ${WRKDIR}/mma_g.py) .include Index: head/audio/mp3asm/Makefile =================================================================== --- head/audio/mp3asm/Makefile (revision 394777) +++ head/audio/mp3asm/Makefile (revision 394778) @@ -1,42 +1,38 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= mp3asm PORTVERSION= 0.1.3.1 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.1.3-1 DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= dinoex@FreeBSD.org COMMENT= MP3 frame level editor LICENSE= GPLv2 USES= tar:bzip2 gmake GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-0.1 PLIST_FILES= bin/mp3asm PORTDOCS= Changelog README OPTIONS_DEFINE= DOCS -.include - post-extract: ${RM} ${WRKSRC}/config.cache post-patch: ${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|#include ||' \ -e 's|getprogname|_getprogname|g' \ -e 's|\([ (!]\)\(log[\.;]\)|\1mp3asm\2|g' \ ${WRKSRC}/src/mp3asm.h ${WRKSRC}/src/*.c -.if ${PORT_OPTIONS:MDOCS} -post-install: +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ -.endif .include Index: head/audio/mp3blaster/Makefile =================================================================== --- head/audio/mp3blaster/Makefile (revision 394777) +++ head/audio/mp3blaster/Makefile (revision 394778) @@ -1,83 +1,61 @@ # Created by: Michael Vasilenko # $FreeBSD$ PORTNAME= mp3blaster PORTVERSION= 3.2.5 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= novel@FreeBSD.org COMMENT= MP3 console ncurses-based player USES= gmake GNU_CONFIGURE= yes WANT_GNOME= yes CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS}" CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= LIRC SIDPLAY VORBIS DOCS OPTIONS_DEFAULT= SIDPLAY VORBIS SIDPLAY_DESC= Sidplayer support -.include - -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= AUTHORS CREDITS ChangeLog FAQ README TODO -.endif -.if ${PORT_OPTIONS:MLIRC} -LIB_DEPENDS+= liblirc_client.so:${PORTSDIR}/comms/lirc -CONFIGURE_ARGS+= --with-lirc -.endif +LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc +LIRC_CONFIGURE_WITH= lirc -.if ${PORT_OPTIONS:MSIDPLAY} -LIB_DEPENDS+= libsidplay.so:${PORTSDIR}/audio/libsidplay -.else -CONFIGURE_ARGS+= --without-sidplay -.endif +SIDPLAY_LIB_DEPENDS= libsidplay.so:${PORTSDIR}/audio/libsidplay +SIDPLAY_CONFIGURE_WITH= sidplay -.if ${PORT_OPTIONS:MVORBIS} -LIB_DEPENDS+= libvorbisfile.so:${PORTSDIR}/audio/libvorbis -.else -CONFIGURE_ARGS+= --without-oggvorbis -.endif +VORBIS_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis +VORBIS_CONFIGURE_WITH= oggvorbis -.if ${PORT_OPTIONS:MSDL} -CONFIGURE_ARGS+= --with-sdl -USE_SDL= yes -.else -CONFIGURE_ARGS+= --without-sdl -.endif +SDL_CONFIGURE_WITH= sdl +SDL_USE= SDL=yes -.if ${PORT_OPTIONS:MNAS} -CONFIGURE_ARGS+= --with-nas -LIB_DEPENDS+= libaudio.so:${PORTSDIR}/audio/nas -LDFLAGS+= -laudio -.else -CONFIGURE_ARGS+= --without-nas -.endif +NAS_CONFIGURE_WITH= nas +NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas +NAS_LDFLAGS= -laudio .include .if ${HAVE_GNOME:Mesound} != "" USE_GNOME+= esound CONFIGURE_ARGS+= --with-esd .else CONFIGURE_ARGS+= --without-esd .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local/share/mp3blaster/win2koi.tbl|${DATADIR}/charmap/win2koi.tbl|' \ ${WRKSRC}/doc/sample.mp3blasterrc -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/mp3stat/Makefile =================================================================== --- head/audio/mp3stat/Makefile (revision 394777) +++ head/audio/mp3stat/Makefile (revision 394778) @@ -1,69 +1,63 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= mp3stat PORTVERSION= 2.6.01 PORTREVISION= 12 CATEGORIES= audio MASTER_SITES= https://signal-lost.homeip.net/files/ \ http://www.sourcefiles.org/Multimedia/MP3/Tools/Processing/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Read information about mp3s and oggs bitstream LICENSE= GPLv2 OPTIONS_DEFINE= VORBIS DOCS OPTIONS_DEFAULT= VORBIS WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= dos2unix gmake pkgconfig DOS2UNIX_FILES= ui/console/cli.cpp USE_GNOME= gtk20 CXXFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -Wl,--rpath,${LOCALBASE}/lib PORTDOCS= README PLIST_FILES= bin/mp3stat \ lib/mp3stat/input_mp3.so \ lib/mp3stat/ui_gtk2.so \ lib/mp3stat/ui_console.so -.include +VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis +VORBIS_PLIST_FILES= lib/mp3stat/input_vorb.so +VORBIS_MAKE_ARGS_OFF= VORBIS="" -.if ${PORT_OPTIONS:MVORBIS} -LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis -PLIST_FILES+= lib/mp3stat/input_vorb.so -.else -MAKE_ARGS+= VORBIS="" -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|@$${CXX}|$${CXX}|g ; \ s|-ldl|-lz|g ; \ s|-lc|$${LDFLAGS}|g ; \ s|-Wl,-soname,.*\.so\.1||g ; \ s|-fpic|-fPIC|g ; \ s|^CXX|#CXX|g' do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} mp3stat ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/mp3stat (cd ${WRKSRC}/ui/gtk && ${INSTALL_LIB} ui_gtk2.so \ ${STAGEDIR}${PREFIX}/lib/mp3stat) (cd ${WRKSRC}/ui/console && ${INSTALL_LIB} ui_console.so \ ${STAGEDIR}${PREFIX}/lib/mp3stat) (cd ${WRKSRC}/input/mp3 && ${INSTALL_LIB} input_mp3.so \ ${STAGEDIR}${PREFIX}/lib/mp3stat) -.if ${PORT_OPTIONS:MVORBIS} - (cd ${WRKSRC}/input/vorbis && ${INSTALL_LIB} input_vorb.so \ - ${STAGEDIR}${PREFIX}/lib/mp3stat) -.endif @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) +do-install-VORBIS-on: + (cd ${WRKSRC}/input/vorbis && ${INSTALL_LIB} input_vorb.so \ + ${STAGEDIR}${PREFIX}/lib/mp3stat) .include Index: head/audio/mpdscribble/Makefile =================================================================== --- head/audio/mpdscribble/Makefile (revision 394777) +++ head/audio/mpdscribble/Makefile (revision 394778) @@ -1,47 +1,41 @@ # Created by: Stepan Zastupov [RedChrom] # $FreeBSD$ PORTNAME= mpdscribble PORTVERSION= 0.22 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION} MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Musicpd last.fm client LICENSE= GPLv2 BROKEN= Unfetchable LIB_DEPENDS+= libmpdclient.so:${PORTSDIR}/audio/libmpdclient USES= pkgconfig tar:bzip2 USE_GNOME= glib20 GNU_CONFIGURE= yes USE_RC_SUBR= mpdscribble OPTIONS_DEFINE= SOUP DOCS SOUP_DESC= Use libsoup instead of libcurl -.include +SOUP_LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup +SOUP_CONFIGURE_ON= --with-http-client=soup +SOUP_LIB_DEPENDS_OFF= libcurl.so:${PORTSDIR}/ftp/curl +SOUP_CONFIGURE_OFF= --with-http-client=curl -.if ${PORT_OPTIONS:MSOUP} -LIB_DEPENDS+= libsoup-2.4.so:${PORTSDIR}/devel/libsoup -CONFIGURE_ARGS+= --with-http-client=soup -.else -LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl -CONFIGURE_ARGS+= --with-http-client=curl -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${STAGEDIR}${PREFIX}/bin/mpdscribble ${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${STAGEDIR}${MANPREFIX}/man/man1/mpdscribble.1 ${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${STAGEDIR}${PREFIX}/etc/mpdscribble.conf.sample -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS NEWS README ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/mps/Makefile =================================================================== --- head/audio/mps/Makefile (revision 394777) +++ head/audio/mps/Makefile (revision 394778) @@ -1,35 +1,30 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= mps PORTVERSION= 0.20.16 #PORTREVISION= 0 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= CHEESESHOP MAINTAINER= nivit@FreeBSD.org COMMENT= Terminal based MP3 search, playback and download LICENSE= GPLv3 OPTIONS_DEFAULT= MPLAYER OPTIONS_RADIO= PLAYER OPTIONS_RADIO_PLAYER= MPLAYER MPV MPV_DESC= Mpv media player support # This port installs the following files in shared dirs # PLIST_FILES= bin/mps USES= python USE_PYTHON= distutils autoplist -.include - -.if ${PORT_OPTIONS:MMPLAYER} -RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer -.elif ${PORT_OPTIONS:MMPV} -RUN_DEPENDS= mpv:${PORTSDIR}/multimedia/mpv -.endif +MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer +MPV_RUN_DEPENDS= mpv:${PORTSDIR}/multimedia/mpv .include Index: head/audio/muse/Makefile =================================================================== --- head/audio/muse/Makefile (revision 394777) +++ head/audio/muse/Makefile (revision 394778) @@ -1,54 +1,51 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= MuSE PORTVERSION= 0.9.2 PORTREVISION= 14 CATEGORIES= audio MASTER_SITES= https://files.dyne.org/muse/sources/ MAINTAINER= ports@FreeBSD.org COMMENT= Multiple Streaming Engine LICENSE= GPLv2 LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \ libvorbis.so:${PORTSDIR}/audio/libvorbis OPTIONS_DEFINE= X11 LAME SNDFILE DOCS OPTIONS_DEFAULT=X11 USES= gettext gmake GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug --disable-lubrify --disable-rpath CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_SYS_UIO_H LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lintl PORTDOCS= AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE PLIST_FILES= bin/muse man/man1/muse.1.gz .for lang in es it PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/muse.mo .endfor LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame LAME_CONFIGURE_ENV= ac_cv_header_lame_lame_h=no SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile X11_USE= GNOME=gtk20 X11_CONFIGURE_OFF= --without-x --with-rubik -.include - post-patch: @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \ ${WRKSRC}/src/portaudio/pa_unix_oss.c -.if empty(PORT_OPTIONS:MSNDFILE) +post-patch-SNDFILE-off: @${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \ ${WRKSRC}/configure -.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/audio/musicpc/Makefile =================================================================== --- head/audio/musicpc/Makefile (revision 394777) +++ head/audio/musicpc/Makefile (revision 394778) @@ -1,53 +1,48 @@ # Created by: Mark Reidel # $FreeBSD$ PORTNAME= musicpc PORTVERSION= 0.26 CATEGORIES= audio ipv6 MASTER_SITES= http://musicpd.org/download/mpc/0/ DISTNAME= mpc-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Command line client for the musicpd LICENSE= GPLv2 LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient OPTIONS_DEFINE= EXAMPLES DOCS ICONV OPTIONS_DEFAULT= ICONV USES= tar:xz pkgconfig GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include PLIST_FILES= bin/mpc man/man1/mpc.1.gz PORTDOCS= AUTHORS README NEWS PORTEXAMPLES= * -.include - -.if ${PORT_OPTIONS:MICONV} -USES+= iconv -LDFLAGS+= ${ICONV_LIB} -.else -CONFIGURE_ARGS+=--disable-iconv -.endif +ICONV_USES= iconv +ICONV_LDFLAGS= ${ICONV_LIB} +ICONV_CONFIGURE_ENABLE= iconv post-patch: @${REINPLACE_CMD} -e 's|-lintl|${ICONV_LIB}|g' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/mpc ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/mpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/mpc-completion.bash \ ${STAGEDIR}${EXAMPLESDIR} .include Index: head/audio/ncmpc/Makefile =================================================================== --- head/audio/ncmpc/Makefile (revision 394777) +++ head/audio/ncmpc/Makefile (revision 394778) @@ -1,74 +1,65 @@ # Created by: Mark Reidel # $FreeBSD$ PORTNAME= ncmpc PORTVERSION= 0.24 CATEGORIES= audio MASTER_SITES= http://www.musicpd.org/download/ncmpc/0/ MAINTAINER= henrik@affekt.org COMMENT= Ncurses client for the musicpd LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient GNU_CONFIGURE= yes USE_GNOME= glib20 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS LYRICS OPTIONS_DEFAULT= LYRICS LYRICS_DESC= Compile with lyrics screen -.include - USES= iconv pkgconfig PLIST_FILES= bin/ncmpc \ man/man1/ncmpc.1.gz \ %%EXAMPLESDIR%%/config \ %%EXAMPLESDIR%%/keys \ %%EXAMPLESDIR%%/ncmpc.lirc -.if ${PORT_OPTIONS:MNLS} -USES+= gettext +NLS_USES= gettext + LANGUAGES=cs da de eo es fi fr gl he hu it ko nb nl pl pt_BR ru sk sv uk zh_CN .for language in ${LANGUAGES} -PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo +NLS_PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo .endfor -.else -CONFIGURE_ARGS+=--disable-nls -.endif +NLS_CONFIGURE_OFF=--disable-nls -.if ${PORT_OPTIONS:MLYRICS} -CONFIGURE_ARGS+=--enable-lyrics-screen -PLIST_FILES+= lib/ncmpc/lyrics/10-hd.sh \ +LYRICS_CONFIGURE_ENABLE= lyrics-screen +LYRICS_PLIST_FILES= lib/ncmpc/lyrics/10-hd.sh \ lib/ncmpc/lyrics/20-lyricwiki.rb -.else -CONFIGURE_ARGS+=--disable-lyrics-screen -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${STAGEDIR}${EXAMPLESDIR}/config ${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${STAGEDIR}${EXAMPLESDIR}/keys ${INSTALL_DATA} ${WRKSRC}/doc/ncmpc.lirc ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_MAN} ${WRKSRC}/doc/ncmpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MNLS} +do-install-NLS-on: .for language in ${LANGUAGES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo \ ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo .endfor -.endif -.if ${PORT_OPTIONS:MLYRICS} +do-install-LYRICS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics (cd ${WRKSRC}/lyrics && ${INSTALL_SCRIPT} \ 10-hd.sh 20-lyricwiki.rb \ ${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics) .endif .include Index: head/audio/ncmpcpp/Makefile =================================================================== --- head/audio/ncmpcpp/Makefile (revision 394777) +++ head/audio/ncmpcpp/Makefile (revision 394778) @@ -1,68 +1,65 @@ # $FreeBSD$ PORTNAME= ncmpcpp PORTVERSION= 0.6.5 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://ncmpcpp.rybczak.net/stable/ MAINTAINER= yamagi@yamagi.org COMMENT= ncurses mpd client, clone of ncmpc with some new features LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs USES= compiler:c++11-lib iconv libtool ncurses pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= glib20 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFIGURE_ENV= BOOST_LIB_SUFFIX="" OPTIONS_DEFINE= CURL CLOCK DOCS OUTPUTS TAGLIB UTF8 VISUALIZER OPTIONS_DEFAULT= CURL CLOCK OUTPUTS TAGLIB UTF8 VISUALIZER CURL_DESC= Enable fetching lyrics from the Internet CLOCK_DESC= clock-screen support TAGLIB_DESC= taglib support OUTPUTS_DESC= Enable outputs screen VISUALIZER_DESC= Enable music visualizer screen PLIST_FILES= bin/ncmpcpp \ man/man1/ncmpcpp.1.gz PORTDOCS= AUTHORS COPYING NEWS bindings config CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl CURL_CONFIGURE_WITH= curl CLOCK_CONFIGURE_ENABLE= clock UTF8_CONFIGURE_ENABLE= unicode TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib TAGLIB_CONFIGURE_WITH= taglib OUTPUTS_CONFIGURE_ENABLE= outputs VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 VISUALIZER_CONFIGURE_ENABLE= visualizer -.include - .if ${NCURSESBASE} == /usr # no need to use ncurses-config if we use ncurses from the base system CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true .endif post-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/bindings ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/ -.endif -.include +.include Index: head/audio/openal/Makefile =================================================================== --- head/audio/openal/Makefile (revision 394777) +++ head/audio/openal/Makefile (revision 394778) @@ -1,62 +1,59 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= openal PORTVERSION= 20060211 PORTREVISION= 15 CATEGORIES= audio MASTER_SITES= GENTOO DISTVERSION= 0.0.8 MAINTAINER= erik@bz.bzflag.bz COMMENT= 3D positional spatialized sound library LICENSE= GPLv2 CONFLICTS= openal-soft-[0-9]* GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -Wno-return-type LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-capture \ --disable-arts USES= pathfix pkgconfig gmake libtool:keepla USE_LDCONFIG= yes OPTIONS_DEFINE= ESOUND SDL VORBIS SMPEG ALSA OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT_i386= ASM SMPEG_DESC= smpeg support ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_ENABLE=esd SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE= sdl VORBIS_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis VORBIS_CONFIGURE_ENABLE=vorbis SMPEG_LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg SMPEG_CONFIGURE_ENABLE= mp3 ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm NOT_FOR_ARCHS= ia64 NOT_FOR_ARCHS_REASON_ia64= does not compile -.include - post-patch: @${REINPLACE_CMD} -e 's/x86_64\*/amd64\* | \*ia64\*/g; \ /CPPFLAGS=/ d; s/ \*linux\*)/ \*bsd\*)/' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/#include/ s|SDL/||' \ ${WRKSRC}/src/extensions/al_ext_mp3.c @${REINPLACE_CMD} -e 's|"mixaudio16_mmx_prk.h"|"arch/i386/mixaudio16_mmx_prk.h"|' \ ${WRKSRC}/src/mixaudio16.h @${REINPLACE_CMD} -e 's|@requirements@||' \ ${WRKSRC}/admin/pkgconfig/openal.pc.in -.if ! ${PORT_OPTIONS:MASM} +post-patch-ASM-off: @${REINPLACE_CMD} -e '/^NASM=/ s|=.*|=no|' ${WRKSRC}/configure -.endif .include Index: head/audio/opusfile/Makefile =================================================================== --- head/audio/opusfile/Makefile (revision 394777) +++ head/audio/opusfile/Makefile (revision 394778) @@ -1,55 +1,51 @@ # $FreeBSD$ PORTNAME= opusfile PORTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://downloads.xiph.org/releases/opus/ \ MOZILLA/opus MAINTAINER= liangtai.s16@gmail.com COMMENT= Opus playback library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \ libopus.so:${PORTSDIR}/audio/opus USES= autoreconf gmake libtool pathfix pkgconfig USE_LDCONFIG= yes USE_OPENSSL= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes PATHFIX_MAKEFILEIN= Makefile.am PORTDOCS= AUTHORS README.txt OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= # empty DOXYGEN_CONFIGURE_ENABLE= doc DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen INSTALL_TARGET= install-strip -.include - post-patch: @${REINPLACE_CMD} -e 's| @openssl@||' \ ${WRKSRC}/opusfile.pc.in ${WRKSRC}/opusurl.pc.in @${REINPLACE_CMD} -e '/libopusurl_la_SOURCES/s/http.c/& src\/ftime.c/' \ -e '/dist_doc_DATA/s/COPYING//' \ ${WRKSRC}/Makefile.am @${CP} ${FILESDIR}/ftime.c ${WRKSRC}/src/ -post-install: -.if ${PORT_OPTIONS:MDOXYGEN} +post-install-DOXYGEN-on: @${RM} -f ${WRKDIR}/PLIST.doc ; \ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ ${SED} 's|${STAGEDIR}${PREFIX}/||' \ >> ${WRKDIR}/PLIST.doc ; \ (cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST}) -.endif .include Index: head/audio/pacpl/Makefile =================================================================== --- head/audio/pacpl/Makefile (revision 394777) +++ head/audio/pacpl/Makefile (revision 394778) @@ -1,111 +1,108 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= pacpl PORTVERSION= 5.0.1 PORTREVISION= 11 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Perl Audio Converter LICENSE= GPLv3 # (or later) RUN_DEPENDS= p5-Audio-FLAC-Header>0:${PORTSDIR}/audio/p5-Audio-FLAC-Header \ p5-Audio-Scan>0:${PORTSDIR}/audio/p5-Audio-Scan \ p5-CDDB_get>0:${PORTSDIR}/audio/p5-CDDB_get \ p5-MP3-Tag>0:${PORTSDIR}/audio/p5-MP3-Tag \ p5-Parallel-ForkManager>0:${PORTSDIR}/devel/p5-Parallel-ForkManager \ p5-Switch>0:${PORTSDIR}/lang/p5-Switch NO_ARCH= yes USES= perl5 shebangfix SHEBANG_FILES= pacpl plugins/gnome/nautilus/PACPL-Convert \ plugins/kde/PACPL-Konvert OPTIONS_DEFINE= APE CDPARANOIA DOCS FAAC FAAD FFMPEG KDE4 \ LAME LAUDIO MUSEPACK MPLAYER OPTIMFROG OPUS \ SHORTEN SNDFILE SOX SPEEX TOOLAME TTA VORBIS WAVPACK OPTIONS_DEFAULT= CDPARANOIA FAAC FAAD FFMPEG LAME VORBIS OPTIONS_SUB= yes APE_RUN_DEPENDS= mac:${PORTSDIR}/audio/mac CDPARANOIA_RUN_DEPENDS= cdparanoia:${PORTSDIR}/audio/cdparanoia FAAC_RUN_DEPENDS= faac:${PORTSDIR}/audio/faac FAAD_RUN_DEPENDS= faad:${PORTSDIR}/audio/faad FFMPEG_RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg KDE4_DESC= Konqueror/Dolphin integration LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame LAUDIO_DESC= Laudio support LAUDIO_RUN_DEPENDS= laudio:${PORTSDIR}/audio/linux-laudio MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer MUSEPACK_RUN_DEPENDS= mpcenc:${PORTSDIR}/audio/musepack OPTIMFROG_DESC= OptimFROG lossless audio support OPTIMFROG_RUN_DEPENDS= ofr:${PORTSDIR}/audio/optimfrog OPUS_DESC= Ogg Opus audio codec support OPUS_RUN_DEPENDS= opusenc:${PORTSDIR}/audio/opus-tools SNDFILE_RUN_DEPENDS= sndfile-convert:${PORTSDIR}/audio/libsndfile VORBIS_RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools SHORTEN_DESC= Shorten audio support SHORTEN_RUN_DEPENDS= shorten:${PORTSDIR}/audio/shorten SOX_DESC= Audio conversion support via SoX SOX_RUN_DEPENDS= sox:${PORTSDIR}/audio/sox SPEEX_RUN_DEPENDS= speexenc:${PORTSDIR}/audio/speex TOOLAME_RUN_DEPENDS+= toolame:${PORTSDIR}/audio/toolame TTA_RUN_DEPENDS= ttaenc:${PORTSDIR}/audio/tta VORBIS_RUN_DEPENDS= vorbiscomment:${PORTSDIR}/audio/vorbis-tools WAVPACK_RUN_DEPENDS= wavpack:${PORTSDIR}/audio/wavpack -.include - post-patch: @${REINPLACE_CMD} -e \ 's|"/etc/pacpl|"${ETCDIR}| ; \ s|"/usr/share/pacpl|"${DATADIR}| ; \ s|^/etc/pacpl|${ETCDIR}|' ${WRKSRC}/pacpl @${REINPLACE_CMD} -e \ 's| /etc/pacpl| ${ETCDIR}|' ${WRKSRC}/pacpl.conf @${REINPLACE_CMD} -e \ 's|=/etc/pacpl|=${ETCDIR}| ; \ s|=/usr/bin|=${PREFIX}/libexec|' \ ${WRKSRC}/plugins/kde/pacpl.desktop do-build: @(cd ${WRKSRC} && pod2man pacpl pacpl.1) do-install: (cd ${WRKSRC} && ${INSTALL_SCRIPT} pacpl \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC} && ${INSTALL_MAN} pacpl.1 \ ${STAGEDIR}${MANPREFIX}/man/man1) @${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC} && ${INSTALL_DATA} pacpl.png \ ${STAGEDIR}${ETCDIR}) .for i in codecs.conf pacpl.conf (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${ETCDIR}/${i}.sample) .endfor @${MKDIR} ${STAGEDIR}${ETCDIR}/modules (cd ${WRKSRC}/extra && ${INSTALL_DATA} sample.m \ ${STAGEDIR}${ETCDIR}/modules) @${MKDIR} ${STAGEDIR}${DATADIR}/locale (cd ${WRKSRC}/po && ${INSTALL_DATA} *.po \ ${STAGEDIR}${DATADIR}/locale) ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README \ ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/extra && ${INSTALL_DATA} README.module \ ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/plugins/gnome/nautilus && ${INSTALL_SCRIPT} PACPL-Convert \ ${STAGEDIR}${PREFIX}/libexec) -.if ${PORT_OPTIONS:MKDE4} +do-install-KDE4-on: (cd ${WRKSRC}/plugins/kde && ${INSTALL_SCRIPT} PACPL-Konvert \ ${STAGEDIR}${PREFIX}/libexec) @${MKDIR} ${STAGEDIR}${PREFIX}/share/kde4/services/ServiceMenus (cd ${WRKSRC}/plugins/kde && ${INSTALL_DATA} pacpl.desktop \ ${STAGEDIR}${PREFIX}/share/kde4/services/ServiceMenus) -.endif .include Index: head/audio/paprefs/Makefile =================================================================== --- head/audio/paprefs/Makefile (revision 394777) +++ head/audio/paprefs/Makefile (revision 394778) @@ -1,40 +1,32 @@ # Created by: Romain Tartière # $FreeBSD$ PORTNAME= paprefs PORTVERSION= 0.9.10 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= GTK configuration dialog for PulseAudio LIB_DEPENDS= libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \ libpulse.so:${PORTSDIR}/audio/pulseaudio GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib USES= gmake pkgconfig USE_GNOME= gconfmm26 gnomeprefix intltool CONFIGURE_ARGS= --disable-lynx OPTIONS_DEFINE= PK NLS +OPTIONS_SUB= yes PK_DESC= Force dependency on PackageKit -.include +PK_LIB_DEPENDS= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit -.if ${PORT_OPTIONS:MPK} -LIB_DEPENDS+= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include Index: head/audio/portaudio/Makefile =================================================================== --- head/audio/portaudio/Makefile (revision 394777) +++ head/audio/portaudio/Makefile (revision 394778) @@ -1,94 +1,83 @@ # Created by: michaelnottebrock@gmx.net and lioux@FreeBSD.org # $FreeBSD$ PORTNAME= portaudio DISTVERSION= 19_20140130 PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://www.portaudio.com/archives/ DISTNAME= pa_stable_v${DISTVERSION} MAINTAINER= koalative@gmail.com COMMENT= Portable cross-platform Audio API LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= dos2unix gmake libtool pathfix pkgconfig tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS+=PKG_CONFIG_LIBDIR=${PREFIX}/libdata/pkgconfig \ --without-alsa USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= * PORTEXAMPLES= * DOCSRCDIR1= ${WRKSRC} DOC_FILES1= README.txt index.html OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES JACK PATEST OPTIONS_DEFAULT=PATEST PATEST_DESC= PortAudio Test Programs DOXYGEN_DESC= Install API documentation (requires DOCS) OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CONFIGURE_ON= --with-jack JACK_CONFIGURE_OFF= --without-jack EXAMPLES_BIN= pa_d* pa_f* paex_* PATEST_BIN= pa_m* paqa_* patest* -.include +DOXYGEN_IMPLIES= DOCS +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen -.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen -.endif - post-patch: @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' ${WRKSRC}/configure.in \ ${WRKSRC}/src/hostapi/oss/pa_unix_oss.c ${WRKSRC}/src/SConscript @${REINPLACE_CMD} -e 's|PACKAGE_NAME=|PACKAGE_NAME=portaudio2|' ${WRKSRC}/configure -.if ! ${PORT_OPTIONS:MEXAMPLES} +post-patch-EXAMPLES-off: @${REINPLACE_CMD} -i '' '/EXAMPLES =/,/bin\/paex_write_sine_nonint/s/^/#/' \ ${WRKSRC}/Makefile.in -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libportaudio.so.2 -.if ${PORT_OPTIONS:MEXAMPLES} -.for f in ${EXAMPLES_BIN} - ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin/ -.endfor -.endif - -.if ${PORT_OPTIONS:MPATEST} +post-install-PATEST-on: .for f in ${PATEST_BIN} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin/ .endfor -.endif -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MDOXYGEN} && ${PORT_OPTIONS:MDOCS} +post-install-DOXYGEN-on: @cd ${WRKSRC} && doxygen @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) -.endif +post-install-EXAMPLES-on: +.for f in ${EXAMPLES_BIN} + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin/ +.endfor + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/audio/pulseaudio/Makefile =================================================================== --- head/audio/pulseaudio/Makefile (revision 394777) +++ head/audio/pulseaudio/Makefile (revision 394778) @@ -1,101 +1,98 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # # !!!NOTE!!! Any PORTVERSION update to this port must be accompanied by # PORTREVISION bumps of depending ports. PORTNAME= pulseaudio PORTVERSION= 6.0 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Sound server for UNIX LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \ libspeexdsp.so:${PORTSDIR}/audio/speexdsp \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float \ liborc-0.4.so:${PORTSDIR}/devel/orc \ libjson-c.so:${PORTSDIR}/devel/json-c \ libdbus-1.so:${PORTSDIR}/devel/dbus \ libltdl.so:${PORTSDIR}/devel/libltdl \ libck-connector.so:${PORTSDIR}/sysutils/consolekit USE_GNOME= glib20 intltool USE_XORG= x11 sm xtst ice USE_LDCONFIG= yes USES= cpe execinfo gettext gmake libtool pathfix pkgconfig \ shebangfix tar:xz GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" \ OPENSSL_CFLAGS="-I/usr/include" \ OPENSSL_LIBS="-lcrypto -lssl" \ LIBS="-lm -lintl" \ ac_cv_header_linux_input_h="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SHEBANG_FILES= shell-completion/bash/pulseaudio SHEBANG_LANG= bash bash_CMD= ${SETENV} bash SUB_FILES= pkg-message CONFIGURE_ARGS= --localstatedir=/var \ --with-database=simple \ --without-caps \ --disable-udev \ --disable-gtk3 \ --disable-systemd \ --disable-neon-opt \ --disable-xen \ --disable-lirc # untested #FIXME --with-database=auto|tdb|gdbm|simple USERS= pulse GROUPS= pulse pulse-access pulse-rt OPTIONS_SUB= yes OPTIONS_DEFINE= JACK AVAHI GCONF ALSA SIMD BASH ZSH OPTIONS_DEFAULT=AVAHI SIMD JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack AVAHI_CONFIGURE_ENABLE= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app GCONF_CONFIGURE_ENABLE= gconf GCONF_USE= GNOME=gconf2 ALSA_CONFIGURE_ENABLE= alsa ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib SIMD_CONFIGURE_ENABLE= orc SIMD_LIB_DEPENDS= liborc-0.4.so:${PORTSDIR}/devel/orc ZSH_CONFIGURE_OFF= --without-zsh-completion-dir PULSE_VERSION= ${PORTVERSION} PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} -.include - post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/daemon/default.pa.in @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ -e 's|/lib/dbus/machine-id|/db/dbus/machine-id|g' \ ${WRKSRC}/configure post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse .for ii in default.pa daemon.conf client.conf system.pa ${INSTALL_DATA} ${WRKSRC}/src/${ii} \ ${STAGEDIR}${PREFIX}/etc/pulse/${ii}.sample .endfor -.if !${PORT_OPTIONS:MBASH} +post-install-BASH-off: @${RM} -rf ${STAGEDIR}${PREFIX}/etc/bash_completion.d -.endif -.include +.include Index: head/audio/scrobbler/Makefile =================================================================== --- head/audio/scrobbler/Makefile (revision 394777) +++ head/audio/scrobbler/Makefile (revision 394778) @@ -1,51 +1,46 @@ # Created by: arved # $FreeBSD$ PORTNAME?= scrobbler PORTVERSION= 0.3.8.1 PORTREVISION= 17 CATEGORIES= audio MASTER_SITES= http://static.audioscrobbler.com/plugins/ \ http://www.pipian.com/stuffforchat/ DISTNAME= xmms-scrobbler-${PORTVERSION} MAINTAINER?= novel@FreeBSD.org COMMENT?= XMMS/BMP plugin for Audioscrobbler.com LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl CONFLICTS= xmms-scrobbler-[0-9]* USES= gmake libtool pkgconfig tar:bzip2 USE_CSTD= gnu89 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SLAVEDIRS= audio/xmms-scrobbler OPTIONS_DEFINE= APE XMMS DEBUG ENCODINGS_PATCH OPTIONS_DEFAULT=XMMS XMMS_DESC= Enable XMMS support ENCODINGS_PATCH_DESC= Enable ID3 tags recoding support XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms XMMS_PLIST_FILES= lib/xmms/General/libxmms_scrobbler.so XMMS_CONFIGURE_ENABLE= xmms-plugin CONFIGURE_ARGS+= --disable-bmp-plugin DEBUG_CONFIGURE_ARGS= debug APE_CONFIGURE_ENABLE= prefer-ape ENCODINGS_PATCH_USES= iconv -.include - -post-patch:: -.if ${PORT_OPTIONS:MENCODINGS_PATCH} - @${PATCH} ${PATCH_ARGS} -p1 < ${FILESDIR}/extra-encodings-patch -.endif +ENCODINGS_PATCH_EXTRA_PATCHES= ${FILESDIR}/extra-encodings-patch:-p1 .include Index: head/audio/shairport/Makefile =================================================================== --- head/audio/shairport/Makefile (revision 394777) +++ head/audio/shairport/Makefile (revision 394778) @@ -1,58 +1,55 @@ # Created by: Aldis Berjoza # $FreeBSD$ PORTNAME= shairport PORTVERSION= 0.05 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://cloud.github.com/downloads/miks/${PORTNAME}/ DISTNAME= miks-${PORTNAME}-${REV} MAINTAINER= miks.mikelsons@gmail.com COMMENT= Airtunes emulator LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao RUN_DEPENDS= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \ p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ p5-URI>=0:${PORTSDIR}/net/p5-URI \ p5-Crypt-OpenSSL-RSA>=0:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \ p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \ p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \ avahi-publish-service:${PORTSDIR}/net/avahi-app USES= gmake perl5 pkgconfig USE_PERL5= run USE_OPENSSL= yes USE_RC_SUBR= ${PORTNAME} SUB_LIST= PERL=${PERL} PLIST_FILES= bin/${PORTNAME} bin/hairtunes bin/${PORTNAME}.pl PORTDOCS= README.md REV= b1cb9ea OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e 's|avahi-|${LOCALBASE}/bin/avahi-|g' \ -e 's|$$FindBin.*|"${PREFIX}/bin/hairtunes";|' \ -e '/use FindBin;/d;s|/usr/bin/env perl|${PERL}|' \ ${WRKSRC}/shairport.c ${WRKSRC}/shairport.pl @${REINPLACE_CMD} 's/-lssl/-lcrypto/' ${WRKSRC}/Makefile do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin .for file in ${PORTNAME} hairtunes ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} -p ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/shoutcast/Makefile =================================================================== --- head/audio/shoutcast/Makefile (revision 394777) +++ head/audio/shoutcast/Makefile (revision 394778) @@ -1,146 +1,138 @@ # Created by: Jarrod Sayers # $FreeBSD$ PORTNAME= shoutcast PORTVERSION= 2.4.7.256 PORTREVISION= 1 CATEGORIES= audio net MASTER_SITES= http://download.nullsoft.com/shoutcast/tools/ DISTNAME= sc_serv2_bsd-latest MAINTAINER= sbruno@FreeBSD.org COMMENT= SHOUTcast Distributed Network Audio Server RESTRICTED= redistribution of software is not permitted IA32_BINARY_PORT= yes USES= dos2unix shebangfix DOS2UNIX_REGEX= .*\.(conf|css|html|js|txt|xml) bash_CMD= ${SH} SHEBANG_FILES= setup.sh USE_RC_SUBR= shoutcast CONFLICTS= linux-shoutcast-[0-9]* NO_WRKSUBDIR= yes NO_BUILD= yes OPTIONS_DEFAULT= SERVERSETUP EXAMPLES OPTIONS_DEFINE= SERVERSETUP DOCS EXAMPLES +OPTIONS_SUB= yes SETUPSERVER_DESC= SHOUTcast Server Setup Tools EXAMPLE_DESC= SHOUTcast Server Example Configuration Files SHOUTCASTUSER= ${PORTNAME} SHOUTCASTGROUP= ${PORTNAME} SHOUTCASTLDIR= /var/log/${PORTNAME} SHOUTCASTDIR= /var/run/${PORTNAME} SHOUTCAST_SUB= SHOUTCASTUSER=${SHOUTCASTUSER} \ SHOUTCASTGROUP=${SHOUTCASTGROUP} \ SHOUTCASTLDIR=${SHOUTCASTLDIR} \ SHOUTCASTDIR=${SHOUTCASTDIR} PLIST_SUB= ${SHOUTCAST_SUB} SUB_FILES= pkg-message SUB_LIST= ${SHOUTCAST_SUB} USERS= ${SHOUTCASTUSER} GROUPS= ${SHOUTCASTGROUP} -.include - .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000010 .if ${ARCH} == "i386" RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x .else RUN_DEPENDS+= ${LOCALBASE}/lib32/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x .endif .endif -.if ${PORT_OPTIONS:MSERVERSETUP} -PLIST_SUB+= SERVERSETUP="" -.else -PLIST_SUB+= SERVERSETUP="@comment " -.endif - post-patch: .for _file in basic public relay simple @${REINPLACE_CMD} -e '/sc_serv2 directory/d' \ -e 's#=.*/\([^\.]*.log\)#=${SHOUTCASTLDIR}/\1#g' \ -e 's#=control/#=${SHOUTCASTDIR}/#g' ${WRKSRC}/examples/sc_serv_${_file}.conf .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}${SHOUTCASTLDIR} ${MKDIR} ${STAGEDIR}${SHOUTCASTDIR} ${MKDIR} ${STAGEDIR}${SHOUTCASTDIR}/logs ${MKDIR} ${STAGEDIR}${SHOUTCASTDIR}/control -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/DNAS_Server_Changelog.html ${STAGEDIR}${DOCSDIR}/DNAS_Server_Changelog.html ${INSTALL_DATA} ${WRKSRC}/Readme_DNAS_Server.html ${STAGEDIR}${DOCSDIR}/Readme_DNAS_Server.html ${INSTALL_DATA} ${WRKSRC}/tos.txt ${STAGEDIR}${DOCSDIR}/tos.txt ${INSTALL_DATA} ${WRKSRC}/cacert.pem ${STAGEDIR}${DOCSDIR}/cacert.pem ${MKDIR} ${STAGEDIR}${DOCSDIR}/docs ${INSTALL_DATA} ${WRKSRC}/docs/Getting_Started.html ${STAGEDIR}${DOCSDIR}/docs/Getting_Started.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server_XML_Responses.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server_XML_Responses.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server_Authhash_Management.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server_Authhash_Management.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server_JSON_Responses.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server_JSON_Responses.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server_CDN_Management.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server_CDN_Management.html ${INSTALL_DATA} ${WRKSRC}/docs/DNAS_Server_Source_Support.html ${STAGEDIR}${DOCSDIR}/docs/DNAS_Server_Source_Support.html ${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/res ${INSTALL_DATA} ${WRKSRC}/docs/res/Linux_Console.png ${STAGEDIR}${DOCSDIR}/docs/res/Linux_Console.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Output_tag_configuration_error.png ${STAGEDIR}${DOCSDIR}/docs/res/Output_tag_configuration_error.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Stream_Ban_List_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Stream_Ban_List_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Stream_Blocked_User_Agent_List_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Stream_Blocked_User_Agent_List_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Start.png ${STAGEDIR}${DOCSDIR}/docs/res/Start.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Server_Bandwidth_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Server_Bandwidth_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Manual.png ${STAGEDIR}${DOCSDIR}/docs/res/Manual.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Completed.png ${STAGEDIR}${DOCSDIR}/docs/res/Completed.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Simple.png ${STAGEDIR}${DOCSDIR}/docs/res/Simple.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Console_Error.png ${STAGEDIR}${DOCSDIR}/docs/res/Console_Error.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Server_Log_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Server_Log_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Server_Source_Connection_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Server_Source_Connection_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Select_Source_DSP_in_Winamp.png ${STAGEDIR}${DOCSDIR}/docs/res/Select_Source_DSP_in_Winamp.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Console_Linux.png ${STAGEDIR}${DOCSDIR}/docs/res/Console_Linux.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Windows_Service_Install_Failure.png ${STAGEDIR}${DOCSDIR}/docs/res/Windows_Service_Install_Failure.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Stream_Summary_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Stream_Summary_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Stream_Admin_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Stream_Admin_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Streams_Summary_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Streams_Summary_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Console_Setup_Mode.png ${STAGEDIR}${DOCSDIR}/docs/res/Console_Setup_Mode.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Invalid_Configuration_Item.png ${STAGEDIR}${DOCSDIR}/docs/res/Invalid_Configuration_Item.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Server_Summary_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Server_Summary_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Example_Windows_Console.png ${STAGEDIR}${DOCSDIR}/docs/res/Example_Windows_Console.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Example_Linux_Console.png ${STAGEDIR}${DOCSDIR}/docs/res/Example_Linux_Console.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Linux_Daemon_Mode.png ${STAGEDIR}${DOCSDIR}/docs/res/Linux_Daemon_Mode.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Windows_Console.png ${STAGEDIR}${DOCSDIR}/docs/res/Windows_Console.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Stream_Reserved_List_Page.png ${STAGEDIR}${DOCSDIR}/docs/res/Stream_Reserved_List_Page.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Summary.png ${STAGEDIR}${DOCSDIR}/docs/res/Summary.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Setup_Mode_Error.png ${STAGEDIR}${DOCSDIR}/docs/res/Setup_Mode_Error.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Editing.png ${STAGEDIR}${DOCSDIR}/docs/res/Editing.png ${INSTALL_DATA} ${WRKSRC}/docs/res/Console_Windows.png ${STAGEDIR}${DOCSDIR}/docs/res/Console_Windows.png ${INSTALL_DATA} ${WRKSRC}/docs/res/View_Source_Connection_Details.png ${STAGEDIR}${DOCSDIR}/docs/res/View_Source_Connection_Details.png -.endif -.if ${PORT_OPTIONS:MSERVERSETUP} +do-install-SERVERSETUP-on: ${MKDIR} ${STAGEDIR}${WWWDIR}/setup ${INSTALL_DATA} ${WRKSRC}/setup.sh ${STAGEDIR}${WWWDIR}/setup.sh ${INSTALL_DATA} ${WRKSRC}/setup/setup.js ${STAGEDIR}${WWWDIR}/setup/setup.js ${INSTALL_DATA} ${WRKSRC}/setup/setup.html ${STAGEDIR}${WWWDIR}/setup/setup.html ${INSTALL_DATA} ${WRKSRC}/setup/setup.txt ${STAGEDIR}${WWWDIR}/setup/setup.txt -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/sc_serv_basic.conf ${STAGEDIR}${EXAMPLESDIR}/sc_serv_basic.conf ${INSTALL_DATA} ${WRKSRC}/examples/sc_serv_public.conf ${STAGEDIR}${EXAMPLESDIR}/sc_serv_public.conf ${INSTALL_DATA} ${WRKSRC}/examples/sc_serv_relay.conf ${STAGEDIR}${EXAMPLESDIR}/sc_serv_relay.conf ${INSTALL_DATA} ${WRKSRC}/examples/sc_serv_simple.conf ${STAGEDIR}${EXAMPLESDIR}/sc_serv_simple.conf -.endif .include Index: head/audio/soundtracker/Makefile =================================================================== --- head/audio/soundtracker/Makefile (revision 394777) +++ head/audio/soundtracker/Makefile (revision 394778) @@ -1,79 +1,63 @@ # Created by: Kristopher Zentner # $FreeBSD$ PORTNAME= soundtracker PORTVERSION= 0.6.8 PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= http://www.soundtracker.org/dl/v${PORTVERSION:R}/ MAINTAINER= ports@FreeBSD.org COMMENT= Mod player/tracking tool which supports XM and MOD formats LICENSE= GPLv2 LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile GNU_CONFIGURE= yes USES= pathfix pkgconfig USE_GNOME= esound gdkpixbuf CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= JACK SDL NLS OPTIONS_DEFINE_i386= ASM +OPTIONS_SUB= yes ASM_DESC= Use optimized assembly (potentially unstable) CONFIGURE_ARGS+= --disable-gnome DESKTOP_ENTRIES="SoundTracker" "Pattern-oriented music editor" \ "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \ "soundtracker" "AudioVideo;Audio;AudioVideoEditing;" false -.include +ASM_CONFIGURE_ENABLE= asm -.if ${PORT_OPTIONS:MASM} -CONFIGURE_ARGS+= --enable-asm -.endif +JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack +JACK_CONFIGURE_ENABLE= jack -.if ${PORT_OPTIONS:MJACK} -LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack -.else -CONFIGURE_ARGS+= --disable-jack -.endif +DSL_USE= SDL=sdl +DSL_CONFIGURE_ENABLE= sdl -.if ${PORT_OPTIONS:MSDL} -USE_SDL= sdl -.else -CONFIGURE_ARGS+= --disable-sdl -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - post-patch: @${REINPLACE_CMD} -e 's|soundtracker.desktop||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's| install-exec-local||' \ ${WRKSRC}/app/Makefile.in @${REINPLACE_CMD} -e 's|-ldl||' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|PREFIX"/share/soundtracker|DATADIR"|' \ ${WRKSRC}/app/gui.c -pre-build: -.if ${PORT_OPTIONS:MNLS} +pre-build-NLS-on: cd ${WRKSRC}/po && ${LOCALBASE}/bin/msgfmt -c -o ja.gmo ja.po -.endif post-install: ${INSTALL_DATA} ${WRKSRC}/sharp.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/soundtracker.xpm .include Index: head/audio/sox/Makefile =================================================================== --- head/audio/sox/Makefile (revision 394777) +++ head/audio/sox/Makefile (revision 394778) @@ -1,106 +1,102 @@ # Created by: torstenb # $FreeBSD$ PORTNAME= sox PORTVERSION= 14.4.2 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= dnelson@allantgroup.com COMMENT= SOund eXchange - universal sound sample translator LICENSE= LGPL21 GPLv2 LICENSE_COMB= dual LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl CONFLICTS= play-[0-9]* GNU_CONFIGURE= yes USES= autoreconf pkgconfig libtool USE_LDCONFIG= yes OPTIONS_DEFINE= ALSA AO AMRNB AMRWB FLAC GSM ID3TAG LADSPA LAME \ MAD OPUS PNG PULSEAUDIO SNDFILE TWOLAME VORBIS WAVPACK OPTIONS_DEFAULT= AO FLAC GSM ID3TAG MAD OPUS PNG SNDFILE VORBIS # Default LAME to off for packages so we don't end up RESTRICTED .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME .endif AMRNB_DESC= AMR Speech Codec (Narrowband) AMRWB_DESC= AMR Speech Codec (Wideband) GSM_DESC= Use libgsm from ports (else use bundled lib) PNG_DESC= PNG spectrogram creation CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" CONFIGURE_ARGS+= --with-gsm CONFIGURE_ARGS+= --disable-stack-protector ALSA_CONFIGURE_WITH= alsa ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins AO_CONFIGURE_WITH= ao AO_LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao AMRNB_CONFIGURE_WITH= amrnb AMRNB_LIB_DEPENDS= libamrnb.so:${PORTSDIR}/audio/libamrnb AMRWB_CONFIGURE_WITH= amrwb AMRWB_LIB_DEPENDS= libamrwb.so:${PORTSDIR}/audio/libamrwb VORBIS_CONFIGURE_WITH= oggvorbis VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis SNDFILE_CONFIGURE_WITH= sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile LADSPA_CONFIGURE_WITH= ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa LAME_CONFIGURE_WITH= lame LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame FLAC_CONFIGURE_WITH= flac FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac MAD_CONFIGURE_WITH= mad MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio GSM_LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm ID3TAG_CONFIGURE_WITH= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag WAVPACK_CONFIGURE_WITH= wavpack WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack TWOLAME_CONFIGURE_WITH= twolame TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame OPUS_CONFIGURE_WITH= opus OPUS_LIB_DEPENDS= libopusfile.so:${PORTSDIR}/audio/opusfile -.include - -.if ! ${PORT_OPTIONS:MGSM} # We cannot ask for gsm to be enabled without it trying to use external gsm, # so force the autoconf checks to fail -CONFIGURE_ENV+= ac_cv_header_gsm_h=no ac_cv_header_gsm_gsm_h=no \ +GSM_CONFIGURE_ENV_OFF= ac_cv_header_gsm_h=no ac_cv_header_gsm_gsm_h=no \ ac_cv_lib_gsm_gsm_create=no -.endif INSTALL_TARGET= install-strip .include Index: head/audio/sphinxbase/Makefile =================================================================== --- head/audio/sphinxbase/Makefile (revision 394777) +++ head/audio/sphinxbase/Makefile (revision 394778) @@ -1,50 +1,41 @@ # Created by: r.neese # $FreeBSD$ PORTNAME= sphinxbase PORTVERSION= 0.8 PORTREVISION= 1 CATEGORIES= audio accessibility MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= CMU Sphinx Speech recognition system base USES= bison gmake pathfix libtool GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-python --without-lapack CONFIGURE_ENV+= HAVE_DOXYGEN=no USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV= MKDIR="${MKDIR}" \ OSVERSION=${OSVERSION} OPTIONS_DEFINE= SNDFILE THREADS OPTIONS_DEFAULT= THREADS SNDFILE_DESC= libsndfile support THREADS_DESC= Build with thread safety support -.include +SNDFILE_USES= pkgconfig +SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile +SNDFILE_CONFIGURE_ENV_OFF= HAVE_PKGCONFIG=no -.if ${PORT_OPTIONS:MSNDFILE} -USES+= pkgconfig -LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile -.else -CONFIGURE_ENV+= HAVE_PKGCONFIG=no -.endif - -.if ${PORT_OPTIONS:MTHREADS} -LDFLAGS+= -lpthread -CONFIGURE_ARGS+= --enable-threads -.else -CONFIGURE_ARGS+= --disable-threads -.endif +THREADS_LDFLAGS= -lpthread +THREADS_CONFIGURE_ENABLE= threads post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsphinx*.so .include Index: head/audio/spiralsynth/Makefile =================================================================== --- head/audio/spiralsynth/Makefile (revision 394777) +++ head/audio/spiralsynth/Makefile (revision 394778) @@ -1,93 +1,89 @@ # Created by: trevor # $FreeBSD$ PORTNAME= spiralsynth PORTVERSION= 0.1.7 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://www.pawfal.org/Software/SpiralSynth/dload/ DISTNAME= SpiralSynth-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= MIDI-capable synthesizer for X LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk GNU_CONFIGURE= yes MAKE_ENV= PTHREAD_LIBS="-lpthread" PLIST= ${WRKDIR}/pkg-plist WRKSRC= ${WRKDIR}/${DISTNAME} DOC_FILES= CHANGES COPYING README OPTIONS_DEFINE= DOCS -.include - post-patch: .for ii in \ Makefile.in \ PluginLink.sh \ SpiralInfo.C \ SpiralSound/Midi.h \ SpiralSound/Output.h \ SpiralSound/RiffWav.C \ SpiralSound/SpiralInfo.h \ SpiralSound/Synth.C \ SpiralSound/Synth.h \ SpiralSound/_SynthInfo.C \ Synth.h ${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig ${SED} -e 's|-O3||g ; \ s|CC =|CC? =|g ; \ s|CFLAGS =|CFLAGS +=|g ; \ s|CXX =|CXX? =|g ; \ s|CXXFLAGS=|CXXFLAGS+=|g ; \ s|LINK = g++|LINK = ${CXX}|g ; \ s|-lm|-lpthread -lm|g ; \ s|/usr/X11R6|${LOCALBASE}|g ; \ s|iostream.h|iostream|g ;\ s|fstream.h|fstream|g ;\ s|||g ;\ s|machine/soundcard|sys/soundcard|g' \ < ${WRKSRC}/${ii}.orig \ > ${WRKSRC}/${ii} .endfor # Use as a plugin to SpiralLoops 2.0.0 results in "Can't open audio driver." .if defined(PLUGIN) ${MV} ${WRKSRC}/Synth.C ${WRKSRC}/Synth.C.orig ${SED} -e 's|^//#define PLUGIN|#define PLUGIN|g' \ < ${WRKSRC}/Synth.C.orig > ${WRKSRC}/Synth.C post-build: cd ${WRKSRC}; ${SH} ./PluginLink.sh .endif # defined(PLUGIN) pre-install: .if defined(PLUGIN) ${ECHO_CMD} lib/SpiralSynth.so > ${PLIST} .else ${ECHO_CMD} bin/SpiralSynth > ${PLIST} .endif -.if ${PORT_OPTIONS:MDOCS} +pre-install-DOCS-on: .for ii in ${DOC_FILES} ${ECHO_CMD} share/doc/spiralsynth/${ii} >> ${PLIST} .endfor -.endif do-install: .if defined(PLUGIN) ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth.so ${STAGEDIR}${PREFIX}/lib .else ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${STAGEDIR}${PREFIX}/bin .endif -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for ii in ${DOC_FILES} ${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/squeezeboxserver/Makefile =================================================================== --- head/audio/squeezeboxserver/Makefile (revision 394777) +++ head/audio/squeezeboxserver/Makefile (revision 394778) @@ -1,216 +1,200 @@ # $FreeBSD$ PORTNAME= squeezeboxserver PORTVERSION= 7.5.4 PORTREVISION= 9 CATEGORIES= audio MASTER_SITES= http://downloads.slimdevices.com/SqueezeboxServer_v${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN MAINTAINER= markk@knigma.org COMMENT= Slim Devices audio streaming server # Defaults support playback of relativly unrestricted formats on SB2 or # SB3 devices and wired SB1 devices. OPTIONS_DEFINE= APE FAAD FLAC LAME SHORTEN SOX DOCS OPTIONS_DEFAULT= APE FAAD FLAX SOX SHORTEN_DESC= Support Shorten input SOX_DESC= Support OGG Vorbis input via SoX (SliMP3 and SB1) RESTRICTED= Contains non-redistributable firmware, documentation, and images WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-32171-noCPAN RUN_DEPENDS+= p5-DBIx-Class>=0:${PORTSDIR}/databases/p5-DBIx-Class \ p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \ p5-URI-Find>=0:${PORTSDIR}/textproc/p5-URI-Find \ p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \ p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \ p5-Encode-Detect>=0:${PORTSDIR}/converters/p5-Encode-Detect \ p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \ p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck \ p5-EV>=0:${PORTSDIR}/devel/p5-EV \ p5-Audio-Scan>=0.87:${PORTSDIR}/audio/p5-Audio-Scan \ p5-Class-XSAccessor>=0:${PORTSDIR}/devel/p5-Class-XSAccessor # Work around a bug in p5-Package-Stash port RUN_DEPENDS+= p5-Package-DeprecationManager>=0.10:${PORTSDIR}/devel/p5-Package-DeprecationManager USERS= ${SLIMUSER} GROUPS= ${SLIMGROUP} USES= perl5 tar:tgz -.include - USE_MYSQL= server -.if ${PORT_OPTIONS:MAPE} -RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac -.endif -.if ${PORT_OPTIONS:MFAAD} -RUN_DEPENDS+= faad:${PORTSDIR}/audio/faad -.endif -.if ${PORT_OPTIONS:MFLAC} -RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac -.endif -.if ${PORT_OPTIONS:MLAME} -RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame -.endif -.if ${PORT_OPTIONS:MSHORTEN} -RUN_DEPENDS+= shorten:${PORTSDIR}/audio/shorten -.endif -.if ${PORT_OPTIONS:MSOX} -RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox -.endif +APE_RUN_DEPENDS= mac:${PORTSDIR}/audio/mac +FAAD_RUN_DEPENDS= faad:${PORTSDIR}/audio/faad +FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac +LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame +SHORTEN_RUN_DEPENDS= shorten:${PORTSDIR}/audio/shorten +SOX_RUN_DEPENDS= sox:${PORTSDIR}/audio/sox USE_RC_SUBR= squeezeboxserver TMP_SLIMDIR= ${WRKDIR}/_squeezeboxserver TMP_DOCSDIR= ${WRKDIR}/doc DOCFILES= Changelog.html Installation.txt License.txt CONFFILES= convert.conf types.conf EXCEPTFILES= ${DOCFILES} \ ${CONFFILES} \ CPAN/Carp/Clan.pm \ CPAN/Class/Accessor.pm \ CPAN/Class/Accessor/Chained.pm \ CPAN/Class/C3.pm \ CPAN/Class/Inspector.pm \ CPAN/Class/XSAccessor.pm \ CPAN/Data/Page.pm \ CPAN/DBI.pm \ CPAN/EV.pm \ CPAN/File/Spec.pm \ CPAN/File/Temp.pm \ CPAN/File/Which.pm \ CPAN/GD.pm \ CPAN/HTML/Parser.pm \ CPAN/JSON/XS/Boolean.pm \ CPAN/JSON/XS.pm \ CPAN/Template.pm \ CPAN/Test/Simple.pm \ CPAN/URI.pm \ CPAN/XML/Parser.pm \ MySQL/errmsg.txt \ MySQL/errmsg.sys EXCEPTDIRS= Bin \ CPAN/arch \ CPAN/Algorith \ CPAN/Audio \ CPAN/Compress \ CPAN/Class/Accessor/Chained \ CPAN/Class/C3 \ CPAN/Class/Inspector \ CPAN/Class/XSAccessor \ CPAN/DBD \ CPAN/DBI \ CPAN/DBIx \ CPAN/Digest \ CPAN/Encode \ CPAN/GD \ CPAN/Module \ CPAN/MRO \ CPAN/Path \ CPAN/Scope \ CPAN/File/Spec \ CPAN/Sub \ CPAN/SQL \ CPAN/Template \ CPAN/URI \ CPAN/XML/Parser \ CPAN/YAML CPIOARGS= --quiet -pdum -R PLIST_SUB= SLIMDIR=${SLIMDIR} \ SLIMDBDIR=${SLIMDBDIR} SUB_FILES= Custom.pm \ pkg-install \ softsqueeze.sh \ custom-convert.conf SUB_LIST= PERL=${PERL} \ PORTNAME=${PORTNAME} \ SITE_PERL=${PREFIX}/${SITE_PERL_REL} \ SLIMDIR=${SLIMDIR} \ SLIMDBDIR=${SLIMDBDIR} \ SLIMUSER=${SLIMUSER} \ SLIMGROUP=${SLIMGROUP} \ CONFFILES="${CONFFILES}" pre-fetch: .if !defined(SLIMDIR) @${ECHO_MSG} "" @${ECHO_MSG} "Define SLIMDIR to override default of 'squeezeboxserver'." @${ECHO_MSG} "" .endif SLIMDIR?= squeezeboxserver SLIMDBDIR?= /var/db/squeezeboxserver SLIMUSER?= slimserv SLIMGROUP?= ${SLIMUSER} post-patch: @${REINPLACE_CMD} \ -e 's|/usr/bin/perl|${PERL}|g' \ -e 's|%%DISTDIR%%|${_DISTDIR}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%SITE_PERL%%|${PREFIX}/${SITE_PERL_REL}|g' \ -e 's|%%SLIMDBDIR%%|${SLIMDBDIR}|g' \ -e 's|%%TMP_SLIMDIR%%|${TMP_SLIMDIR}|g' \ ${WRKSRC}/scanner.pl \ ${WRKSRC}/slimserver.pl @${REINPLACE_CMD} \ -e 's/skip-locking/skip-external-locking/' \ -e 's/default-character-set/character-set-server/'\ -e 's/default-collation/collation-server/' ${WRKSRC}/MySQL/my.tt # table_open_cache was known as table_cache in MySQL 5.1.2 and earlier @if [ "$(MYSQL_VER)" != "50" ] ; then \ ${REINPLACE_CMD} \ -e 's/table_cache/table_open_cache/' ${WRKSRC}/MySQL/my.tt ;\ fi @${REINPLACE_CMD} \ -e 's/TYPE=InnoDB/ENGINE=InnoDB/' ${WRKSRC}/SQL/mysql/schema_*.sql do-build: @${MKDIR} -m 0755 ${TMP_SLIMDIR} cd ${WRKSRC} && \ ${FIND} . -name \*.orig -o -name \*.bak \ ${EXCEPTFILES:S|^|-o -path ./|} \ ${EXCEPTDIRS:S|^|-o -path ./|} \ ${EXCEPTDIRS:S/$/\/\*/:S/^/-o -path .\//} -o -print | \ ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${TMP_SLIMDIR} .for _CONF in ${CONFFILES} @cd ${WRKSRC} && ${INSTALL_DATA} ${_CONF} ${TMP_SLIMDIR}/${_CONF}.sample .endfor -.if ${PORT_OPTIONS:MDOCS} +do-build-DOCS-on: @${MKDIR} ${TMP_DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${TMP_DOCSDIR} -.endif pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL do-install: @${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${SLIMDIR} @${RM} -f ${STAGEDIR}${PREFIX}/${SLIMDIR}/Cache @${LN} -s ${SLIMDBDIR}/cache ${STAGEDIR}${PREFIX}/${SLIMDIR}/Cache @cd ${TMP_SLIMDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SLIMDIR} @${INSTALL_DATA} ${WRKDIR}/Custom.pm \ ${STAGEDIR}${PREFIX}/${SLIMDIR}/Slim/Utils/OS/Custom.pm @${INSTALL_DATA} ${WRKDIR}/custom-convert.conf \ ${STAGEDIR}${PREFIX}/${SLIMDIR}/custom-convert.conf @${LN} -sf ${LOCALBASE}/share/mysql/errmsg.txt \ ${LOCALBASE}/share/mysql/english/errmsg.sys \ ${STAGEDIR}${PREFIX}/${SLIMDIR}/MySQL/ @${INSTALL_SCRIPT} ${WRKDIR}/softsqueeze.sh ${STAGEDIR}${PREFIX}/bin/softsqueeze -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${TMP_DOCSDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.endif -.include +.include Index: head/audio/streamripper/Makefile =================================================================== --- head/audio/streamripper/Makefile (revision 394777) +++ head/audio/streamripper/Makefile (revision 394778) @@ -1,74 +1,66 @@ # Created by: trevor # $FreeBSD$ PORTNAME= streamripper PORTVERSION= 1.64.6 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28current%29/${PORTVERSION} \ http://gd.tuwien.ac.at/hci/cdk/:cdk DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:DEFAULT \ cdk-${CDK_VERSION}.tgz:cdk MAINTAINER= ports@FreeBSD.org COMMENT= Splits SHOUTcast stream into tracks LICENSE= GPLv2 LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad \ libtre.so:${PORTSDIR}/textproc/libtre OPTIONS_DEFINE= FAAD VORBIS OPTIONS_DEFAULT=FAAD VORBIS USES= iconv pkgconfig USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-libmad \ --without-included-tre \ --with-included-argv \ --with-included-cdk PLIST_FILES= bin/streamripper \ man/man1/streamripper.1.gz CFLAGS+= -DANSI_PROTOTYPES CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -Lcdk-${CDK_VERSION} -L${LOCALBASE}/lib CDK_VERSION= 5.0-20060507 -.include +FAAD_CONFIGURE_OFF= ac_cv_lib_faad_NeAACDecDecode2=no +FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad -.if ! ${PORT_OPTIONS:MFAAD} -CONFIGURE_ARGS+=ac_cv_lib_faad_NeAACDecDecode2=no -.else -LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad -.endif - -.if ! ${PORT_OPTIONS:MVORBIS} -CONFIGURE_ARGS+=--without-ogg -.else -LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis -.endif +VORBIS_CONFIGURE_WITH= ogg +VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis post-extract: ${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC} post-patch: @${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure pre-configure: (cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} CC="${CC}" \ CFLAGS="${CFLAGS}" ${SH} ./configure) pre-build: (cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/streamripper ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/streamripper.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/audio/swhplugins/Makefile =================================================================== --- head/audio/swhplugins/Makefile (revision 394777) +++ head/audio/swhplugins/Makefile (revision 394778) @@ -1,57 +1,48 @@ # Created by: Tilman Linneweh # $FreeBSD$ PORTNAME= swhplugins PORTVERSION= 0.4.15 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://plugin.org.uk/releases/${PORTVERSION}/ DISTNAME= swh-plugins-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Steve Harris' huge Collection of LADSPA Plugins BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa \ ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float # includes assembler code ONLY_FOR_ARCHS= i386 amd64 USES= gmake libtool pkgconfig GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes CFLAGS+= -fPIC -DPIC OPTIONS_DEFINE= NLS 3DNOW SSE +OPTIONS_SUB= yes 3DNOW_DESC= use 3DNow! instructions SSE_DESC= use SSE instructions -.include -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -LDFLAGS+= -lintl -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_LDFLAGS= -lintl +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:M3DNOW} -CONFIGURE_ARGS+= --enable-3dnow -.endif +3DNOW_CONFIGURE_ENABLE= 3dnow -.if ${PORT_OPTIONS:MSSE} -CONFIGURE_ARGS+= --enable-sse -.endif +SSE_CONFIGURE_ENABLE= sse post-patch: @${REINPLACE_CMD} -e \ 's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/ladspa-util.h .include Index: head/audio/taglib/Makefile =================================================================== --- head/audio/taglib/Makefile (revision 394777) +++ head/audio/taglib/Makefile (revision 394778) @@ -1,50 +1,47 @@ # Created by: Frank Laszlo # $FreeBSD$ PORTNAME= taglib PORTVERSION= 1.9.1 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://taglib.github.io/releases/ MAINTAINER= jhale@FreeBSD.org COMMENT= Library for manipulating ID3 tags and Ogg comments LICENSE= LGPL21 MPL LICENSE_COMB= dual LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL USES= cmake cpe CMAKE_ARGS= -DWITH_ASF:BOOL=ON \ -DWITH_MP4:BOOL=ON USE_LDCONFIG= yes # clang will generate code that just doesn't work with clementine-player # if this isn't compiled as though it were C99. USE_CSTD= c99 CPE_VENDOR= scott_wheeler OPTIONS_DEFINE= RCC OPTIONS_SUB= yes RCC_DESC= Build with RusXMMS librcc patches (experimental) RCC_LIB_DEPENDS= librcc.so:${PORTSDIR}/devel/librcc RCC_EXTRA_PATCHES= ${FILESDIR}/extrapatch-rcc RCC_CFLAGS= -I${LOCALBASE}/include RCC_LDFLAGS= -L${LOCALBASE}/lib -.include - -post-patch: -.if ${PORT_OPTIONS:MRCC} +post-patch-RCC-on: @${REINPLACE_CMD} -e 's|-ltag|-ltag -lrcc|g' \ ${WRKSRC}/taglib.pc.cmake ${WRKSRC}/taglib-config.cmake @${REINPLACE_CMD} -e 's|-ltag_c|-ltag_c -lrcc|g' \ ${WRKSRC}/bindings/c/taglib_c.pc.cmake -.endif +post-patch: ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/bindings/c/CMakeLists.txt .include Index: head/audio/tempest_for_eliza/Makefile =================================================================== --- head/audio/tempest_for_eliza/Makefile (revision 394777) +++ head/audio/tempest_for_eliza/Makefile (revision 394778) @@ -1,33 +1,30 @@ # Created by: George Reid # $FreeBSD$ PORTNAME= tempest_for_eliza PORTVERSION= 1.0.5 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://www.erikyyy.de/tempest/ MAINTAINER= ports@FreeBSD.org COMMENT= Program to send AM radio signals using a PC monitor USES= gmake GNU_CONFIGURE= yes USE_SDL= sdl SONGS= forelise jonny fruehling saints oldmacdonald ungarian \ godfather starwars tempest PORTDOCS= * OPTIONS_DEFINE= DOCS -.include - post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/tempest ${INSTALL_DATA} ${SONGS:S,^,${WRKSRC}/songs/,} ${STAGEDIR}${PREFIX}/share/tempest -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/audio/timemachine/Makefile =================================================================== --- head/audio/timemachine/Makefile (revision 394777) +++ head/audio/timemachine/Makefile (revision 394778) @@ -1,39 +1,34 @@ # Created by: trasz # $FreeBSD$ PORTNAME= timemachine PORTVERSION= 0.3.3 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://plugin.org.uk/timemachine/ MAINTAINER= ports@FreeBSD.org COMMENT= JACK audio capture tool LICENSE= GPLv2 LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \ liblo.so:${PORTSDIR}/audio/liblo \ libsndfile.so:${PORTSDIR}/audio/libsndfile OPTIONS_DEFINE= LASH USES= gmake pathfix pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes LDFLAGS+= -lm -.include - -.if ${PORT_OPTIONS:MLASH} -LIB_DEPENDS+= liblash.so:${PORTSDIR}/audio/lash -.else -CONFIGURE_ARGS+=--disable-lash -.endif +LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash +LASH_CONFIGURE_OFF= --disable-lash post-patch: @${REINPLACE_CMD} -e \ '/^PACKAGE_CFLAGS=/s|-g||; \ /^PACKAGE_LIBS=/s|-g||' ${WRKSRC}/configure .include Index: head/audio/uade/Makefile =================================================================== --- head/audio/uade/Makefile (revision 394777) +++ head/audio/uade/Makefile (revision 394778) @@ -1,77 +1,64 @@ # Created by: Martin Blapp # $FreeBSD$ PORTNAME= uade PORTVERSION= 2.13 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://zakalwe.fi/uade/uade2/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Unix Amiga Delitracker Emulator LICENSE= GPLv2 LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao USES= gmake pkgconfig tar:bzip2 HAS_CONFIGURE= yes DOCSDIR= ${PREFIX}/share/doc/uade2 DATADIR= ${PREFIX}/share/uade2 CONFIGURE_ARGS= --prefix=${PREFIX} \ --mandir=${MANPREFIX}/man/man1 \ --no-debug --without-audacious \ --package-prefix=${STAGEDIR} CONFIGURE_ENV= SYSCFLAGS='${CFLAGS}' PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \ VERSION_CONTROL_TAGGING audio_emulation.txt design.tex \ download.html faq.html layers.eps layers.xfig \ play_loop_state_diagram.dia play_loop_state_diagram.eps \ play_loop_state_diagram.txt uade.html OPTIONS_DEFINE= TEXTSCOPE FUSE XMMS DOCS +OPTIONS_SUB= yes TEXTSCOPE_DESC= Audio register debug mode XMMS_DESC= XMMS plugin -.include +TEXTSCOPE_CONFIGURE_WITH= text-scope -.if ${PORT_OPTIONS:MTEXTSCOPE} -CONFIGURE_ARGS+=--with-text-scope -.endif +FUSE_USES= fuse +FUSE_CONFIGURE_WITH= uadefs -.if ${PORT_OPTIONS:MFUSE} -USES+= fuse -PLIST_SUB+= FUSE="" -.else -CONFIGURE_ARGS+=--without-uadefs -PLIST_SUB+= FUSE="@comment " -.endif - -.if ${PORT_OPTIONS:MXMMS} -LIB_DEPENDS+= libxmms.so:${PORTSDIR}/multimedia/xmms -PLIST_SUB+= XMMS="" -.else -CONFIGURE_ARGS+=--without-xmms -PLIST_SUB+= XMMS="@comment " -.endif +XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms +XMMS_CONFIGURE_WITH= xmms post-extract: @${RM} -rf ${WRKSRC}/players/S post-patch: @${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/audio/vagalume/Makefile =================================================================== --- head/audio/vagalume/Makefile (revision 394777) +++ head/audio/vagalume/Makefile (revision 394778) @@ -1,62 +1,56 @@ # Created by: Bernhard Fröhlich # $FreeBSD$ PORTNAME= vagalume PORTVERSION= 0.8.6 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://vagalume.igalia.com/files/source/ \ DEBIAN_POOL/pool/main/v/vagalume/ MAINTAINER= decke@FreeBSD.org COMMENT= A GTK+-based client for the Last.fm online radio LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \ libcurl.so:${PORTSDIR}/ftp/curl GNU_CONFIGURE= yes USES= gmake pkgconfig desktop-file-utils USE_GNOME= gtk20 intltool USE_GSTREAMER= good mad gconf INSTALLS_ICONS= yes OPTIONS_DEFINE= DBUS TRAY NLS GCONF OPTIONS_DEFAULT= DBUS TRAY OPTIONS_SUB= NLS DBUS TRAY_DESC= Tray icon and libnotify support -.include DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib DBUS_CONFIGURE_ON= --enable-dbus --enable-im-status DBUS_CONFIGURE_OFF= --disable-dbus --disable-im-status TRAY_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify TRAY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify TRAY_CONFIGURE_ENABLE= tray-icon -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+=--disable-nls -.endif +NLS_USES= gettext +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:MGCONF} -USE_GNOME+= gconf2 -CONFIGURE_ARGS+=--enable-gconf +GCONF_USE= GNOME=gconf2 +GCONF_CONFIGURE_ENABLE= gconf .endif post-patch: @${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \ ${WRKSRC}/Makefile.in -.if empty(PORT_OPTIONS:MNLS) +post-patch-NLS-off: @${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \ ${WRKSRC}/Makefile.in -.endif post-install: ${CP} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps .include Index: head/audio/voipong/Makefile =================================================================== --- head/audio/voipong/Makefile (revision 394777) +++ head/audio/voipong/Makefile (revision 394778) @@ -1,32 +1,28 @@ # Created by: Necati Ersen SISECI # $FreeBSD$ PORTNAME= voipong PORTVERSION= 2.0 CATEGORIES= audio MASTER_SITES= http://www.enderunix.org/voipong/ MAINTAINER= siseci@EnderUNIX.org COMMENT= Detect Voice Over IP calls and dump them to separate wave files USE_LDCONFIG= yes PORTDOCS= ALGORITHMS AUTHORS ChangeLog COPYING INSTALL KNOWN_BUGS \ LICENSE NEWS README THANKS TODO MAKEFILE= Makefile.bsd OPTIONS_DEFINE= DOCS -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/users-manual ${INSTALL_DATA} ${WRKSRC}/docs/users-manual/*.html ${STAGEDIR}${DOCSDIR}/users-manual/ ${INSTALL_DATA} ${WRKSRC}/docs/users-manual/*.css ${STAGEDIR}${DOCSDIR}/users-manual/ .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/audio/xmp/Makefile =================================================================== --- head/audio/xmp/Makefile (revision 394777) +++ head/audio/xmp/Makefile (revision 394778) @@ -1,57 +1,47 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= xmp PORTVERSION= 4.0.10 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= ehaupt@FreeBSD.org COMMENT= Player for many different Amiga and PC module formats LICENSE= GPLv2 LIB_DEPENDS= libxmp.so:${PORTSDIR}/audio/libxmp USES= pkgconfig gmake WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIG_FILES= xmp.conf modules.conf OPTIONS_DEFINE= ALSA PULSEAUDIO -.include +ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib +ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins +ALSA_CONFIGURE_ENABLE= alsa -.if ${PORT_OPTIONS:MALSA} -LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib -RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins -CONFIGURE_ARGS+= --enable-alsa -.else -CONFIGURE_ARGS+= --disable-alsa -.endif - -.if ${PORT_OPTIONS:MPULSEAUDIO} -LIB_DEPENDS+= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio -CONFIGURE_ARGS+= --enable-pulseaudio -.else -CONFIGURE_ARGS+= --disable-pulseaudio -.endif +PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio post-patch: @${REINPLACE_CMD} -e 's|\ install-conf||' ${WRKSRC}/Makefile.in post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} .for f in ${CONFIG_FILES} @test -f ${ETCDIR}/${f} || ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${ETCDIR}/${f} ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor .include Index: head/audio/yell/Makefile =================================================================== --- head/audio/yell/Makefile (revision 394777) +++ head/audio/yell/Makefile (revision 394778) @@ -1,33 +1,27 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= yell PORTVERSION= 1.1 CATEGORIES= audio MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line pc speaker bell -PLIST_FILES= bin/yell - ONLY_FOR_ARCHS= i386 amd64 OPTIONS_DEFINE= SUID SUID_DESC= Use suid to allow execution as non root -.include +SUID_PLIST_FILES= "@(,,4110) bin/yell" +SUID_PLIST_FILES_OFF= "@(,,0100) bin/yell" do-build: ${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME} do-install: -.if ${PORT_OPTIONS:MSUID} - ${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} \ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}/${PREFIX}/bin -.else - ${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}/${PREFIX}/bin -.endif .include Index: head/benchmarks/expedite/Makefile =================================================================== --- head/benchmarks/expedite/Makefile (revision 394777) +++ head/benchmarks/expedite/Makefile (revision 394778) @@ -1,47 +1,31 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= expedite PORTVERSION= 1.7.10 CATEGORIES= benchmarks enlightenment MASTER_SITES= http://download.enlightenment.org/releases/ MAINTAINER= enlightenment@FreeBSD.org COMMENT= Expedite is a benchmark suite for Evas LICENSE= BSD2CLAUSE LIB_DEPENDS= libefl.so:${PORTSDIR}/devel/efl DIST_SUBDIR= enlightenment GNU_CONFIGURE= yes USES= tar:bzip2 pkgconfig USE_LDCONFIG= yes OPTIONS_DEFINE= OPENGL SDL X11 OPTIONS_DEFAULT=OPENGL X11 OPENGL_DESC= Enable OpenGL evas engine SDL_DESC= Enable SDL evas engine X11_DESC= Enable X11 evas engine -.include - -.if ${PORT_OPTIONS:MOPENGL} -CONFIGURE_ARGS+= --enable-opengl-x11 -.else -CONFIGURE_ARGS+= --disable-opengl-x11 -.endif - -.if ${PORT_OPTIONS:MSDL} -CONFIGURE_ARGS+= --enable-software-sdl -.else -CONFIGURE_ARGS+= --disable-software-sdl -.endif - -.if ${PORT_OPTIONS:MX11} -CONFIGURE_ARGS+= --enable-software-x11 --enable-xrender-x11 -.else -CONFIGURE_ARGS+= --disable-software-x11 --disable-xrender-x11 -.endif +OPENGL_CONFIGURE_ENABLE= opengl-x11 +SDL_CONFIGURE_ENABLE= software-sdl +X11_CONFIGURE_ENABLE= software-x11 xrender-x11 .include Index: head/benchmarks/fio/Makefile =================================================================== --- head/benchmarks/fio/Makefile (revision 394777) +++ head/benchmarks/fio/Makefile (revision 394778) @@ -1,35 +1,30 @@ # Created by: luigi@FreeBSD.org # $FreeBSD$ PORTNAME= fio PORTVERSION= 2.1.9 CATEGORIES= benchmarks MASTER_SITES= http://brick.kernel.dk/snaps/ MAINTAINER= skreuzer@FreeBSD.org COMMENT= FIO - flexible IO tester LICENSE= GPLv2 USES= gmake tar:bzip2 OPTIONS_DEFINE= GNUPLOT EXAMPLES GNUPLOT_DESC= Support for plotting graphs -.include +GNUPLOT_BUILD_DEPENDS= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fio ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tools/fio_generate_plots ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/fio.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/tools/fio_generate_plots.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) -.endif - -.if ${PORT_OPTIONS:MGNUPLOT} -BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot -.endif .include Index: head/benchmarks/gtkperf/Makefile =================================================================== --- head/benchmarks/gtkperf/Makefile (revision 394777) +++ head/benchmarks/gtkperf/Makefile (revision 394778) @@ -1,34 +1,27 @@ # Created by: Andreas Kohn # $FreeBSD$ PORTNAME= gtkperf PORTVERSION= 0.40 PORTREVISION= 9 CATEGORIES= benchmarks MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Measure your system's GTK+ performance WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake pkgconfig GNU_CONFIGURE= yes USE_GNOME= gtk20 gnomeprefix OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext iconv -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS+= --enable-nls -PLIST_SUB= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB= NLS="@comment " -.endif +NLS_USES= gettext iconv +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE= nls .include Index: head/benchmarks/imb/Makefile =================================================================== --- head/benchmarks/imb/Makefile (revision 394777) +++ head/benchmarks/imb/Makefile (revision 394778) @@ -1,56 +1,51 @@ # Created by: trasz # $FreeBSD$ PORTNAME= imb PORTVERSION= 3.0 PORTREVISION= 12 CATEGORIES= benchmarks parallel MASTER_SITES= LOCAL/itetcu \ http://cache-www.intel.com/cd/00/00/32/71/ DISTNAME= 327191_327191 EXTRACT_SUFX= .gz MAINTAINER= ports@FreeBSD.org COMMENT= Intel MPI Benchmark WRKSRC= ${WRKDIR}/IMB_3.0/src/ USES= dos2unix gmake MAKEFILE= make_mpich ALL_TARGET= all # Intel hardcodes -O3 in make_mpich. Replacing it with system defaults # would make it impossible to compare benchmark results with other systems. # By putting it here we make it easier for somebody to change it, if they # _really_ want it. CFLAGS= -O3 MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= CHECK_RESULTS DOCS OPENMPI # Attention: -DCHECK results are not valid as real benchmark data! Don't # forget to deactivate DCHECK and recompile in order to get proper results. CHECK_RESULTS_DESC= Check results (not valid as real benchmark data) CHECK_RESULTS_CFLAGS= -DCHECK -.include +OPENMPI_BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi +OPENMPI_RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi +OPENMPI_MAKE_ENV= MPI_HOME=${LOCALBASE}/mpi/openmpi +OPENMPI_BUILD_DEPENDS_OFF= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2 +OPENMPI_RUN_DEPENDS_OFF= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 +OPENMPI_MAKE_ENV_OFF= MPI_HOME=${LOCALBASE} -.if ${PORT_OPTIONS:MOPENMPI} -BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi -RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi -MAKE_ENV+= MPI_HOME=${LOCALBASE}/mpi/openmpi -.else -BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2 -RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2 -MAKE_ENV+= MPI_HOME=${LOCALBASE} -.endif - do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/IMB_3.0/doc/IMB_ug-3.0.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/IMB_3.0/license/license.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/IMB_3.0/license/use-of-trademark-license.txt \ ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_PROGRAM} IMB-EXT IMB-IO IMB-MPI1 \ ${STAGEDIR}${PREFIX}/bin) -.include +.include Index: head/benchmarks/iozone/Makefile =================================================================== --- head/benchmarks/iozone/Makefile (revision 394777) +++ head/benchmarks/iozone/Makefile (revision 394778) @@ -1,50 +1,43 @@ # Created by: jmz # $FreeBSD$ PORTNAME= iozone PORTVERSION= 3.420 CATEGORIES= benchmarks MASTER_SITES= http://www.iozone.org/src/current/ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Performance Test of Sequential File I/O CONFLICTS= iozone-2.* iozone21-* WRKSRC= ${WRKDIR}/${DISTNAME}/src/current MAKEFILE= makefile MAKE_ARGS= ${MAKE_ENV} ALL_TARGET= freebsd MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/iozone man/man1/iozone.1.gz OPTIONS_DEFINE= SSH THREADS OPTIONS_DEFAULT=SSH THREADS SSH_DESC= Use ssh in distributed measurement THREADS_DESC= Enable threading (uses pthreads) -.include +THREADS_LDFLAGS= -lpthread +THREADS_CFLAGS_OFF= -DNO_THREADS -.if ${PORT_OPTIONS:MTHREADS} -LDFLAGS+= -lpthread -.else -CFLAGS+= -DNO_THREADS -.endif - -post-patch: -.if ${PORT_OPTIONS:MSSH} +post-patch-SSH-on: @${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' \ ${WRKSRC}/iozone.c -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/benchmarks/netio/Makefile =================================================================== --- head/benchmarks/netio/Makefile (revision 394777) +++ head/benchmarks/netio/Makefile (revision 394778) @@ -1,41 +1,37 @@ # Created by: arved # $FreeBSD$ PORTNAME= netio PORTVERSION= 1.32 CATEGORIES= benchmarks net ipv6 MASTER_SITES= LOCAL/arved DISTNAME= netio132 MAINTAINER= arved@FreeBSD.org COMMENT= Network benchmark WRKSRC= ${WRKDIR} USES= gmake zip PATCH_ARGS= -d ${PATCH_WRKSRC} -N -s -E ${PATCH_STRIP} -l PLIST_FILES= bin/netio CFLAGS+= -DUNIX -DSOCKLEN_T LIBS+= -pthread MAKE_ENV+= OUT=-o OPTIONS_DEFINE= IPV6 IPV6_PLIST_FILES= bin/netio6 -.include - do-build: @(cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} O=.o CFLAGS="${CFLAGS}" ${MAKE_CMD} all) -.if ${PORT_OPTIONS:MIPV6} +do-build-IPV6-on: @(cd ${WRKSRC} && \ ${MAKE_ENV} O=.6o X=6 CFLAGS="${CFLAGS} -DUSE_IPV6" ${MAKE_CMD} all) -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/netio ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MIPV6} +do-install-IPV6-on: ${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${STAGEDIR}${PREFIX}/bin -.endif .include Index: head/benchmarks/netperf/Makefile =================================================================== --- head/benchmarks/netperf/Makefile (revision 394777) +++ head/benchmarks/netperf/Makefile (revision 394778) @@ -1,78 +1,52 @@ # Created by: koshy # $FreeBSD$ PORTNAME= netperf PORTVERSION= 2.6.0 PORTREVISION= 3 CATEGORIES= benchmarks ipv6 MASTER_SITES= ftp://ftp.netperf.org/netperf/ \ http://fossies.org/unix/misc/ MAINTAINER= marius@FreeBSD.org COMMENT= Network performance benchmarking package OPTIONS_DEFINE= OMNI SCTP SOCKETS HISTOGRAM EXS OPTIONS_DEFAULT= ${OPTIONS_DEFINE} OMNI_DESC= Enable OMNI tests SCTP_DESC= Enable SCTP support SOCKETS_DESC= Enable Unix Domain socket support HISTOGRAM_DESC= Enable optional histogram output EXS_DESC= Enable ICSC async socket support USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ENV= "transform=" CONFIGURE_ARGS= --program-prefix="" --program-suffix="" --enable-dirty \ --enable-demo --enable-burst --enable-intervals INFO= netperf -.include - -.if ${PORT_OPTIONS:MSOCKETS} -CONFIGURE_ARGS+= --enable-unixdomain -.else -CONFIGURE_ARGS+= --disable-unixdomain -.endif - -.if ${PORT_OPTIONS:MSCTP} -CONFIGURE_ARGS+= --enable-sctp -.else -CONFIGURE_ARGS+= --disable-sctp -.endif - -.if ${PORT_OPTIONS:MEXS} -CONFIGURE_ARGS+= --enable-exs -.else -CONFIGURE_ARGS+= --disable-exs -.endif - -.if ${PORT_OPTIONS:MHISTOGRAM} -CONFIGURE_ARGS+= --enable-histogram -.else -CONFIGURE_ARGS+= --disable-histogram -.endif - -.if ${PORT_OPTIONS:MOMNI} -CONFIGURE_ARGS+= --enable-omni -.else -CONFIGURE_ARGS+= --disable-omni -.endif +SOCKETS_CONFIGURE_ENABLE= unixdomain +SCTP_CONFIGURE_ENABLE= sctp +EXS_CONFIGURE_ENABLE= exs +HISTOGRAM_CONFIGURE_ENABLE= histogram +OMNI_CONFIGURE_ENABLE= omni SCRIPTS= arr_script packet_byte_script sctp_stream_script snapshot_script \ tcp_range_script tcp_rr_script tcp_stream_script udp_rr_script \ udp_stream_script post-patch: .for i in ${SCRIPTS} @${REINPLACE_CMD} -e 's^%%PREFIX%%^${PREFIX}^' ${WRKSRC}/doc/examples/$i .endfor post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in ${SCRIPTS} ${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${STAGEDIR}${EXAMPLESDIR} .endfor .include Index: head/benchmarks/nqueens/Makefile =================================================================== --- head/benchmarks/nqueens/Makefile (revision 394777) +++ head/benchmarks/nqueens/Makefile (revision 394778) @@ -1,55 +1,54 @@ # Created by: NAKAJI Hiroyuki # $FreeBSD$ PORTNAME= nqueens PORTVERSION= 1.0 CATEGORIES= benchmarks MASTER_SITES= http://www.arch.cs.titech.ac.jp/~kise/nq/package/ DISTNAME= qn24b-version${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= nakaji@jp.freebsd.org COMMENT= N-queens benchmark WRKSRC= ${WRKDIR}/version${PORTVERSION} OPTIONS_DEFINE= MPI STATIC OPTIMIZED_CFLAGS MPI_DESC= Build distributed MPI version STATIC_DESC= Link resulting binaries statically .include .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CFLAGS+= -O3 -pipe -s -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations .endif .if ${PORT_OPTIONS:MSTATIC} CFLAGS+= -static .endif PROGS= qn24b_base .if ${PORT_OPTIONS:MMPI} MPICC?= ${LOCALBASE}/mpich/bin/mpicc BUILD_DEPENDS= ${MPICC}:${PORTSDIR}/net/mpich PROGS+= qn24b_mpi .endif post-extract: @${RM} -f ${WRKSRC}/qn24b_base do-build: cd ${WRKSRC} && \ ${CC} ${CFLAGS} -o qn24b_base base/queens.c -.if ${PORT_OPTIONS:MMPI} +do-build-MPI-on: cd ${WRKSRC} && \ ${MPICC} ${CFLAGS} -o qn24b_mpi mpi/main.c -.endif PLIST_FILES= ${PROGS:S/^/bin\//} do-install: .for p in ${PROGS} ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${STAGEDIR}${PREFIX}/bin/ .endfor .include Index: head/benchmarks/nuttcp/Makefile =================================================================== --- head/benchmarks/nuttcp/Makefile (revision 394777) +++ head/benchmarks/nuttcp/Makefile (revision 394778) @@ -1,55 +1,52 @@ # Created by: Andy Clark # $FreeBSD$ PORTNAME= nuttcp PORTVERSION= 7.3.2 CATEGORIES= benchmarks net MASTER_SITES= http://nuttcp.net/nuttcp/ DISTFILES= beta/${PORTNAME}-${PORTVERSION}.c beta/${NUTTSCPDISTFILE} latest/${PORTNAME}.8 latest/examples.txt latest/LICENSE latest/README EXTRACT_ONLY= # none WRKSRC= ${WRKDIR} MAINTAINER= pi@FreeBSD.org COMMENT= TCP/UDP network testing tool USES= shebangfix SHEBANG_FILES= nuttscp NUTTSCPVERSION= 2.2 NUTTSCPDISTFILE=nuttscp-${NUTTSCPVERSION} OPTIONS_DEFINE= NUTTSCP OPTIONS_DEFAULT=NUTTSCP NUTTSCP_DESC= Install script for copying files over nuttcp OPTIONS_SUB= yes NUTTSCP_USES= perl5 -.include - post-extract: ${CP} ${DISTDIR}/beta/${NUTTSCPDISTFILE} ${WRKDIR}/nuttscp ${CP} ${DISTDIR}/beta/${PORTNAME}-${PORTVERSION}.c ${WRKDIR}/ ${CP} ${DISTDIR}/latest/${PORTNAME}.8 ${WRKDIR}/ ${CP} ${DISTDIR}/latest/LICENSE ${WRKDIR}/ ${CP} ${DISTDIR}/latest/README ${WRKDIR}/ ${CP} ${DISTDIR}/latest/examples.txt ${WRKDIR}/ do-build: cd ${WRKDIR} && ${CC} -o ${PORTNAME} nuttcp-${PORTVERSION}.c -do-install: -. if ${PORT_OPTIONS:MNUTTSCP} - ${INSTALL_SCRIPT} ${WRKDIR}/nuttscp ${STAGEDIR}${PREFIX}/bin/ - ( cd ${STAGEDIR}${PREFIX}/bin; ${LN} -sf nuttscp nuttrcp ) -. endif +do-install-NUTTSCP-on: + ${INSTALL_SCRIPT} ${WRKDIR}/nuttscp ${STAGEDIR}${PREFIX}/bin/ + ( cd ${STAGEDIR}${PREFIX}/bin; ${LN} -sf nuttscp nuttrcp ) +do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}${DATADIR}/ . for file in LICENSE README examples.txt ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DATADIR}/ . endfor .include Index: head/benchmarks/polygraph/Makefile =================================================================== --- head/benchmarks/polygraph/Makefile (revision 394777) +++ head/benchmarks/polygraph/Makefile (revision 394778) @@ -1,59 +1,48 @@ # Created by: Dima Sivachenko # $FreeBSD$ PORTNAME= polygraph PORTVERSION= 4.3.2 PORTREVISION= 1 CATEGORIES= benchmarks www MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \ http://people.bsdgroup.de/~as/freebsd/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Benchmarking tool for Web proxies LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= shebangfix tar:tgz SHEBANG_FILES= tools/*.pl USE_GCC= any GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CONFLICTS= ltrace-0* OPTIONS_DEFINE= GNUPLOT OPENSSL PERL ZLIB GNUPLOT_DESC= GNUPlot for full reporting functionality OPENSSL_DESC= Enable SSL/HTTPS support PERL_DESC= Install Perl for PolyGraph tools ZLIB_DESC= Enable HTTP compression support OPTIONS_DEFAULT= OPENSSL ZLIB -.include +GNUPLOT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot -.if ${PORT_OPTIONS:MGNUPLOT} -RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot -.endif +OPENSSL_USE= OPENSSL=yes +PERL_USES= perl5 +PERL_USE= PERL5=run +ZLIB_CONFIGURE_WITH= zlib=/usr +.include + .if ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL= yes CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} -.else -CONFIGURE_ARGS+= --without-ssl -.endif - -.if ${PORT_OPTIONS:MPERL} -USES+= perl5 -USE_PERL5= run -.endif - -.if ${PORT_OPTIONS:MZLIB} -CONFIGURE_ARGS+= --with-zlib=/usr -.else -CONFIGURE_ARGS+= --without-zlib .endif .include Index: head/biology/avida/Makefile =================================================================== --- head/biology/avida/Makefile (revision 394777) +++ head/biology/avida/Makefile (revision 394778) @@ -1,72 +1,69 @@ # Created by: Jeremy # $FreeBSD$ PORTNAME= avida PORTVERSION= 2.12.4 DISTVERSIONSUFFIX= -src CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Auto-adaptive genetic system designed for ALife research LICENSE= GPLv3 OPTIONS_DEFINE= DOCS USES= cmake:outsource ncurses CMAKE_ARGS= -DAPTO_UNIT_TESTS:BOOL=OFF -DAVD_UNIT_TESTS:BOOL=OFF PORTDOCS= * PLIST_FILES= ${BIN_FILES:S|^|bin/|} \ ${BIN_FILES:S|^|lib/${PORTNAME}/|} \ ${DATA_FILES:S|^|lib/${PORTNAME}/|} BIN_FILES= avida avida-viewer DATA_FILES= analyze.cfg avida.cfg default-gx.org \ default-heads-sex.org default-heads.org default-smt.org \ default-transsmt.org environment.cfg events.cfg \ experimental.org instset-experimental.cfg instset-gx.cfg \ instset-heads-sex.cfg instset-heads.cfg instset-smt.cfg \ instset-transsmt.cfg BROKEN_ia64= Does not compile: invokes i386 asm BROKEN_powerpc= Does not compile: invokes i386 asm BROKEN_sparc64= Does not compile: invokes i386 asm -.include - post-patch: @${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|-O[0-9]|| ; \ s| pthread| -pthread|' @${REINPLACE_CMD} -e '/long long int/s|std::abs|llabs|' \ ${WRKSRC}/avida-core/source/main/cPopulationInterface.cc pre-build: .for exec in ${BIN_FILES} @(cd ${WRKSRC} && ${ECHO_CMD} \ 'cd ${PREFIX}/lib/${PORTNAME} && ./${exec} $$@' > ${exec}.sh) .endfor do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .for exec in ${BIN_FILES} (cd ${WRKSRC} && ${INSTALL_SCRIPT} ${exec}.sh \ ${STAGEDIR}${PREFIX}/bin/${exec}) (cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${exec} \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) .endfor (cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.cfg \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) (cd ${WRKSRC}/avida-core/support/config && ${INSTALL_DATA} *.org \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/avida-core/documentation && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) -.endif .include Index: head/biology/gff2ps/Makefile =================================================================== --- head/biology/gff2ps/Makefile (revision 394777) +++ head/biology/gff2ps/Makefile (revision 394778) @@ -1,54 +1,52 @@ # Created by: Camson Huynh # $FreeBSD$ PORTNAME= gff2ps PORTVERSION= 0.98d PORTREVISION= 2 CATEGORIES= biology MASTER_SITES= ftp://genome.crg.es/pub/gff_tools/gff2ps/ \ http://genome.crg.es/software/gfftools/gff2ps_docs/manual/:doc DISTFILES= ${PORTNAME}_v${PORTVERSION}.gz MAINTAINER= ports@FreeBSD.org COMMENT= Converts gff-formated genomic data-sets to PostScript LICENSE= GPLv2 # (or later) RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ bash:${PORTSDIR}/shells/bash NO_WRKSUBDIR= yes NO_BUILD= yes PORTDOCS= ${GFF2PS_MAN} PLIST_FILES= bin/${PORTNAME} GFF2PS_MAN= MANUAL_GFF2PS_v0.96.ps OPTIONS_DEFINE= DOCS DOCS_DISTFILES= ${GFF2PS_MAN}.gz:doc .include do-extract: @${MKDIR} ${WRKDIR} @${GZCAT} ${DISTDIR}/${PORTNAME}_v${PORTVERSION}.gz \ > ${WRKDIR}/${PORTNAME} -.if ${PORT_OPTIONS:MDOCS} +do-extract-DOCS-on: @${GZCAT} ${DISTDIR}/${GFF2PS_MAN}.gz > ${WRKDIR}/${GFF2PS_MAN} -.endif post-patch: @${REINPLACE_CMD} -e \ 's|^#!/bin/bash|#!${LOCALBASE}/bin/bash| ; \ s|/usr/local/bin/gawk|${LOCALBASE}/bin/gawk|' ${WRKSRC}/gff2ps do-install: ${INSTALL_SCRIPT} ${WRKDIR}/gff2ps ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${GFF2PS_MAN} ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/biology/ortep3/Makefile =================================================================== --- head/biology/ortep3/Makefile (revision 394777) +++ head/biology/ortep3/Makefile (revision 394778) @@ -1,59 +1,53 @@ # Created by: Ryo MIYAMOTO # $FreeBSD$ PORTNAME= ortep3 PORTVERSION= 1.0.3 PORTREVISION= 9 CATEGORIES= biology MASTER_SITES= http://www.ccl.net/cca/software/SOURCES/FORTRAN/ortep/:Z \ ftp://ftp.ornl.gov/pub/ortep/src/:f DISTFILES= ortep.tar.Z:Z ortep.f:f EXTRACT_ONLY= ortep.tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Oak Ridge Thermal Ellipsoid Plot Program for Crystal Structure BROKEN= Unfetchable PGPLOT_LIB_DEPENDS= libpgplot.so:${PORTSDIR}/graphics/pgplot USES= fortran WRKSRC= ${WRKDIR}/ortep/src MAKE_ARGS= LFLAGS="${LDFLAGS}" PGPLOT_LDFLAGS= -L${LOCALBASE}/lib -lpgplot -lX11 PLIST_FILES+= bin/ortep3 PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES PGPLOT PGPLOT_DESC= Fortran subroutine package for drawing graphs -.include +PGPLOT_EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa -.if ${PORT_OPTIONS:MPGPLOT} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa -.endif - post-extract: ${MV} ${WRKSRC}/ortep.f ${WRKSRC}/ortep.f-1.0 ${CP} ${DISTDIR}/ortep.f ${WRKSRC}/ortep.f pre-build: ${CP} ${FILESDIR}/Makefile.ortep3 ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ortep3 ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/src ${INSTALL_DATA} ${WRKSRC}/../README.1st ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../man/* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/000readme.txt ${STAGEDIR}${DOCSDIR}/src -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/../examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include Index: head/biology/platon/Makefile =================================================================== --- head/biology/platon/Makefile (revision 394777) +++ head/biology/platon/Makefile (revision 394778) @@ -1,51 +1,48 @@ # Created by: Ryo MIYAMOTO # $FreeBSD$ PORTNAME= platon PORTVERSION= 2015.03.30 CATEGORIES= biology MASTER_SITES= http://www.cryst.chem.uu.nl/xraysoft/unix/ DISTNAME= platon DIST_SUBDIR= platon/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for viewing molecular/crystallographic structures # PLATON may be used free of charge by the academic community under # the condition that it is not redistributed for a current & fresh copy. # There is a charge of US$ 5000 for commercial users. NO_CDROM= free for academic, US$ 5000 for commercial users USES= fortran USE_XORG= x11 SAMPLES= azt.dat bucky.spf c476.spf c540.cart3d check.def cubane.spf \ cyto.spf ml.pdb s810c.cif s913a.res sucrose.spf TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \ ASYM_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE SQUEEZE_EXAMPLE OPTIONS_DEFINE= DOCS MAKEFILE= ${FILESDIR}/Makefile -.include - pre-patch: ${GUNZIP_CMD} ${WRKSRC}/platon.f.gz ${WRKSRC}/xdrvr.c.gz do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon \ ${STAGEDIR}${PREFIX}/bin ${LN} -fs platon ${STAGEDIR}${PREFIX}/bin/pluton -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${WRKDIR}/${DISTNAME}/README* ${STAGEDIR}${DOCSDIR}/ ${MV} ${SAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/ ${MV} ${WRKSRC}/platon_html.tar.gz \ ${STAGEDIR}${DOCSDIR} ${MV} ${WRKSRC}/TEST ${STAGEDIR}${DOCSDIR}/ ${FIND} ${STAGEDIR}${DOCSDIR} -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${_SHAREMODE} -.endif -.include +.include Index: head/biology/protomol/Makefile =================================================================== --- head/biology/protomol/Makefile (revision 394777) +++ head/biology/protomol/Makefile (revision 394778) @@ -1,56 +1,52 @@ # Created by: Sangwoo Shim # $FreeBSD$ PORTNAME= protomol PORTVERSION= 2.0.3 PORTREVISION= 12 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}/ProtoMol/${PORTVERSION} DISTFILES= ${DISTNAME}-tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= OO, component based, framework for molecular dynamics (MD) simulations LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff USES= shebangfix SHEBANG_FILES= examples/butane_4/procDihedralFile.awk \ examples/butane_4/cleanOutput.bash \ examples/butane_4/runButaneResults.sh \ examples/butane_4/runButaneTests.sh SHEBANG_LANG= awk awk_OLD_CMD= /usr/bin/gawk awk_CMD= /usr/bin/awk # base awk works fine in this case GNU_CONFIGURE= yes USES= jpeg USE_XORG= xmu xt sm ice xext x11 xi # Hack to cure a misbehavior of the configure script CONFIGURE_ARGS+= --without-irix_mipspro_mpi CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS_DEFINE= GLUT +OPTIONS_DEFINE= GLUT EXAMPLES OPTIONS_DEFAULT= GLUT GLUT_CONFIGURE_ON= --with-glut=yes GLUT_USE= GL=glut GLUT_CONFIGURE_OFF= --with-glut=no -.include - -.if ${PORT_OPTIONS:MEXAMPLES} -post-install: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples ; \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore" -.endif .include Index: head/biology/tinker/Makefile =================================================================== --- head/biology/tinker/Makefile (revision 394777) +++ head/biology/tinker/Makefile (revision 394778) @@ -1,71 +1,69 @@ # Created by: Glenn Johnson # $FreeBSD$ PORTNAME= tinker PORTVERSION= 7.1.3 CATEGORIES= biology MASTER_SITES= http://dasher.wustl.edu/tinker/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= General purpose molecular modelling package LICENSE= tinker LICENSE_NAME= TINKER license agreement LICENSE_FILE= ${WRKSRC}/doc/license.txt LICENSE_PERMS= auto-accept RESTRICTED= author requests no distribution except from his FTP site OPTIONS_DEFINE= OPTIMIZED_FFLAGS DOCS EXAMPLES OPTIMIZED_FFLAGS_DESC= compilation optimizations WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/source INSTALL_WRKSRC= ${WRKSRC}/source USES= fortran MAKE_ENV= HAVE_G2C=yes MAKEFILE= ${WRKSRC}/make/Makefile ALL_TARGET= all INSTALL_TARGET= rename EXTRACT_AFTER_ARGS=--exclude fftw --exclude windows --exclude macosx SUB_FILES= pkg-message .include .if ${PORT_OPTIONS:MOPTIMIZED_FFLAGS} FFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations .if (${ARCH} == "i386") FFLAGS+= -mfancy-math-387 -malign-double .endif # i386 .endif post-extract: @${CHMOD} -R u+w ${WRKSRC} pre-build: @${RM} -f ${BUILD_WRKSRC}/*.c post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DATADIR}/bench (cd ${WRKSRC}/bench && ${INSTALL_DATA} \ 0README *.log *.key *.run *.xyz results* \ ${STAGEDIR}${DATADIR}/bench) ${MKDIR} ${STAGEDIR}${DATADIR}/params (cd ${WRKSRC}/params && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/params) ${MKDIR} ${STAGEDIR}${DATADIR}/test (cd ${WRKSRC}/test && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/test) -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} 0README *.pdf *.txt ${STAGEDIR}${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/example && ${INSTALL_DATA} \ 0README *.make *.dyn *.int *.frac *.key *.seq *.pdb *.xyz \ ${STAGEDIR}${EXAMPLESDIR}) -.endif .include Index: head/biology/xmolwt/Makefile =================================================================== --- head/biology/xmolwt/Makefile (revision 394777) +++ head/biology/xmolwt/Makefile (revision 394778) @@ -1,46 +1,42 @@ # Created by: Ryo MIYAMOTO # $FreeBSD$ PORTNAME= xmolwt PORTVERSION= 0.7 PORTREVISION= 6 CATEGORIES= biology MASTER_SITES= http://www.st.hirosaki-u.ac.jp/~rmiya/xmolwt/ MAINTAINER= ports@FreeBSD.org COMMENT= Calculate atom weight and percent of each element for a given formula OPTIONS_DEFINE= DOCS GTK2 USES= gmake MAKEFILE= Makefile.gtk ALL_TARGET= gmolwt PORTDOCS= * PLIST_FILES= bin/gmolwt bin/molwt -.include - -.if ${PORT_OPTIONS:MGTK2} -USES+= pkgconfig -USE_GNOME= gtk20 -MAKE_ENV+= GTKCONFIG="pkg-config gtk+-2.0" -.else -USE_GNOME= gtk12 -MAKE_ENV+= GTKCONFIG="${GTK_CONFIG}" +GTK2_USES= pkgconfig +GTK2_USE= GNOME=gtk20 +GTK2_MAKE_ENV= GTKCONFIG="pkg-config gtk+-2.0" +GTK2_USE_OFF= GNOME=gtk12 +GTK2_MAKE_ENV_OFF= GTKCONFIG="${GTK_CONFIG}" .endif post-patch: @${REINPLACE_CMD} -e \ '/^CC/s| =| ?=| ; \ /^CFLAGS/s| =| +=| ; \ /^GTKCONFIG/s| =| ?=|' ${WRKSRC}/Makefile.gtk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gmolwt ${STAGEDIR}${PREFIX}/bin ${LN} -sf gmolwt ${STAGEDIR}${PREFIX}/bin/molwt @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} Howtouse.* Readme Xmolwt dot.gtkrc \ *.html *.gif ${STAGEDIR}${DOCSDIR}) .include Index: head/cad/admesh/Makefile =================================================================== --- head/cad/admesh/Makefile (revision 394777) +++ head/cad/admesh/Makefile (revision 394778) @@ -1,35 +1,32 @@ # Created by: Pedro F. Giffuni # $FreeBSD$ PORTNAME= admesh PORTVERSION= 0.95 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://launchpadlibrarian.net/67068999/ \ http://www.sourcefiles.org/Scientific/Numerical_Analysis/ MAINTAINER= ports@FreeBSD.org COMMENT= Program for processing STL triangulated solid meshes LICENSE= GPLv2 # (or later) OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes PORTDOCS= admesh.doc PLIST_FILES= bin/admesh -.include - post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${STAGEDIR}${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${STAGEDIR}${DOCSDIR}/admesh.doc -.endif .include Index: head/cad/brickutils/Makefile =================================================================== --- head/cad/brickutils/Makefile (revision 394777) +++ head/cad/brickutils/Makefile (revision 394778) @@ -1,85 +1,80 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= brickutils PORTVERSION= 0.1.6.1 PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-obsolete/ \ SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-obsolete/:docs \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= BrickUtils-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= BrickUtils-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX} MAINTAINER= koalative@gmail.com COMMENT= Utility for building models with LEGO LICENSE= GPLv3 RUN_DEPENDS= ${LOCALBASE}/share/ldraw/models/car.dat:${PORTSDIR}/cad/ldraw \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 WRKSRC= ${WRKDIR}/BrickUtils-${PORTVERSION} NO_ARCH= yes USES= python:2 USE_GNOME= pygtk2 PORTDOCS= * DOCSRCDIR1= ${WRKSRC} DOC_FILES1= ChangeLog OPTIONS_DEFINE= DOCS SUB_FILES= ${PORTNAME} \ pkg-message INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 -.include - -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= ${PORTNAME}-manual-it.pdf:docs \ +DOCS_DISTFILES= ${PORTNAME}-manual-it.pdf:docs \ ${PORTNAME}-manual.pdf:docs -.endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}|' \ ${WRKSRC}/pyBrickUtils.py do-build: @${PYTHON_CMD} -m compileall ${WRKSRC} @${PYTHON_CMD} -O -m compileall ${WRKSRC} do-install: @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKDIR}/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .for f in pyBrickUtils.py pyBrickUtils.pyc pyBrickUtils.pyo catalog.new @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DATADIR}) .endfor @(cd ${WRKSRC} && ${COPYTREE_SHARE} BrickUtils ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/BrickUtils.desktop ${STAGEDIR}${DESKTOPDIR} @${CHMOD} -R 775 ${STAGEDIR}${DATADIR} @(cd ${STAGEDIR}${DATADIR} && ${CHMOD} -R 664 catalog.new) .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @(cd ${_DISTDIR} && ${CP} -a *.pdf ${STAGEDIR}${DOCSDIR}) -.endif .include Index: head/cad/cider/Makefile =================================================================== --- head/cad/cider/Makefile (revision 394777) +++ head/cad/cider/Makefile (revision 394778) @@ -1,82 +1,79 @@ # Created by: AMAKAWA Shuhei # $FreeBSD$ PORTNAME= cider PORTVERSION= 1.b1 PORTREVISION= 8 CATEGORIES= cad MASTER_SITES= LOCAL/mita DISTNAME= cider1b1 MAINTAINER= ports@FreeBSD.org COMMENT= Mixed-level circuit and device simulator (includes SPICE3) CONFLICTS= spice-[0-9]* WRKSRC= ${WRKDIR}/sim USE_XORG= xt xaw xmu OPTIONS_DEFINE= EXAMPLES CFLAGS+= -Wno-return-type -.include - pre-patch: @${CP} -f ${WRKSRC}/spice/common/lib/helpdir/spice.txt \ ${WRKSRC}/cider/common/lib/helpdir/spice.txt post-patch: @${LN} -fs ../../../spice/common/util/makelib.sh \ ${WRKSRC}/cider/common/util @${LN} -fs ../../../../spice/common/src/lib/sparse/spdefs.h \ ${WRKSRC}/cider/common/src/include @${CP} -f ${FILESDIR}/Makefile.spice ${WRKSRC}/spice/common/Makefile @${CP} -f ${FILESDIR}/Makefile.cider ${WRKSRC}/cider/common/Makefile @${CP} -f ${FILESDIR}/FreeBSD ${WRKSRC}/spice/common/conf @${CP} -f ${FILESDIR}/FreeBSD ${WRKSRC}/cider/common/conf do-build: @(cd ${WRKSRC}/spice/common && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) && \ (cd ${WRKSRC}/cider/common && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/spice3/helpdir \ ${STAGEDIR}${DATADIR}/spice3/scripts \ ${STAGEDIR}${DATADIR}/cider/helpdir \ ${STAGEDIR}${DATADIR}/cider/scripts ${INSTALL_PROGRAM} ${WRKSRC}/cider/FreeBSD/obj/bin/cider \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cider/common/doc/cider.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/cider/common/lib/helpdir/*.txt \ ${STAGEDIR}${DATADIR}/cider/helpdir ${INSTALL_SCRIPT} ${WRKSRC}/cider/common/lib/scripts/dev* \ ${STAGEDIR}${DATADIR}/cider/scripts (cd ${WRKSRC}/spice/FreeBSD/obj/bin && ${INSTALL_PROGRAM} \ spice3 nutmeg sconvert help proc2mod multidec \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/spice/common/man/man1 && ${INSTALL_MAN} nutmeg.1 \ sconvert.1 spice.1 ${STAGEDIR}${MANPREFIX}/man/man1) (cd ${STAGEDIR}${MANPREFIX}/man/man1 && \ ${LN} -s spice.1 spice3.1) ${INSTALL_MAN} ${WRKSRC}/spice/common/man/man3/mfb.3 \ ${STAGEDIR}${MANPREFIX}/man/man3 ${INSTALL_MAN} ${WRKSRC}/spice/common/man/man5/mfbcap.5 \ ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/spice/common/lib/helpdir/spice.txt \ ${STAGEDIR}${DATADIR}/spice3/helpdir (cd ${WRKSRC}/spice/common/lib && ${INSTALL_DATA} news mfbcap \ ${STAGEDIR}${DATADIR}/spice3) ${INSTALL_SCRIPT} ${WRKSRC}/spice/common/lib/scripts/s* \ ${STAGEDIR}${DATADIR}/spice3/scripts ${INSTALL_SCRIPT} ${WRKSRC}/spice/common/lib/scripts/spinit \ ${STAGEDIR}${DATADIR}/cider/scripts -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/spice3 ${INSTALL_DATA} ${WRKSRC}/spice/common/examples/*.cir \ ${STAGEDIR}${EXAMPLESDIR}/spice3 cd ${WRKSRC}/cider/common/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.endif .include Index: head/cad/dinotrace/Makefile =================================================================== --- head/cad/dinotrace/Makefile (revision 394777) +++ head/cad/dinotrace/Makefile (revision 394778) @@ -1,47 +1,46 @@ # Created by: Joachim Strombergson # $FreeBSD$ PORTNAME= dinotrace PORTVERSION= 9.4c PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= http://www.veripool.org/ftp/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphical signal trace waveform viewer OPTIONS_DEFINE= EMACS OPTIONS_DEFAULT= EMACS EMACS_DESC= Install Emacs supplimentary files USE_XORG= x11 sm ice xmu xt USES= gmake motif perl5 tar:tgz USE_PERL5= build GNU_CONFIGURE= yes INFO= dinotrace PLIST_FILES= bin/dinotrace .include .if ${PORT_OPTIONS:MEMACS} RUN_DEPENDS+= verilog-mode.el>0:${PORTSDIR}/cad/verilog-mode.el USE_EMACS= yes EMACS_NO_BUILD_DEPENDS= yes .for F in dinotrace.el sim-log.el PLIST_FILES+= ${EMACS_SITE_LISPDIR}/${F} .endfor .endif post-patch: @${REINPLACE_CMD} -e 's|"-O3"|""|' ${WRKSRC}/configure -post-install: -.if ${PORT_OPTIONS:MEMACS} +post-install-EMACS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} .for F in dinotrace.el sim-log.el ${INSTALL_DATA} ${WRKSRC}/lisp/${F} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} .endfor .endif .include Index: head/cad/fidocadj/Makefile =================================================================== --- head/cad/fidocadj/Makefile (revision 394777) +++ head/cad/fidocadj/Makefile (revision 394778) @@ -1,45 +1,40 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= fidocadj PORTVERSION= 0.24.4 #PORTREVISION= 0 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/:src SF/${PORTNAME}/manuals/:docs DISTFILES= ${PORTNAME}.jar:src EXTRACT_ONLY= MAINTAINER= nivit@FreeBSD.org COMMENT= Easy to use graphical editor for electronics LICENSE= GPLv3 DATADIR= ${JAVASHAREDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= ${PORTNAME}.sh JAVA_VERSION= 1.6+ USE_JAVA= yes OPTIONS_DEFINE= DOCS -.include +DOCS_DISTFILES= ${PORTNAME}_manual_en.pdf:docs FDCJ_MANUAL= ${PORTNAME}_manual_en.pdf do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR}; \ ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/ -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ ${INSTALL_DATA} ${DISTDIR}/${FDCJ_MANUAL} ${STAGEDIR}${DOCSDIR}/ -.endif - -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= ${PORTNAME}_manual_en.pdf:docs -.endif .include Index: head/cad/geda-gattrib/Makefile =================================================================== --- head/cad/geda-gattrib/Makefile (revision 394777) +++ head/cad/geda-gattrib/Makefile (revision 394778) @@ -1,53 +1,47 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= gattrib PORTVERSION= 1.4.3 PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \ http://geda.seul.org/release/v1.4/${PORTVERSION}/ PKGNAMEPREFIX= geda- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The gEDA's attribute editor BROKEN= Unfetchable RUN_DEPENDS= geda-symbols>0:${PORTSDIR}/cad/geda-symbols LIB_DEPENDS= libgeda.so:${PORTSDIR}/cad/libgeda DATADIR= ${PREFIX}/share/geda DOCSDIR= ${PREFIX}/share/doc/geda GNU_CONFIGURE= yes USES= desktop-file-utils gmake pkgconfig USE_GNOME= gtk20 glib20 INSTALLS_ICONS= yes CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \ --disable-update-desktop-database CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -E \ -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|>n_bytes|>x_n_bytes|g' \ -e 's|>text_size|>x_text_size|g' \ ${WRKSRC}/src/gtkitementry_2_2.c .include Index: head/cad/geda-gschem/Makefile =================================================================== --- head/cad/geda-gschem/Makefile (revision 394777) +++ head/cad/geda-gschem/Makefile (revision 394778) @@ -1,51 +1,45 @@ # Created by: bruno schwander # $FreeBSD$ PORTNAME= gschem PORTVERSION= 1.4.3 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \ http://geda.seul.org/release/v1.4/${PORTVERSION}/ PKGNAMEPREFIX= geda- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The gEDA's electronic schematic capture tool BROKEN= Unfetchable RUN_DEPENDS= geda-symbols>0:${PORTSDIR}/cad/geda-symbols LIB_DEPENDS= libgeda.so:${PORTSDIR}/cad/libgeda DOCSDIR= ${PREFIX}/share/doc/geda DATADIR= ${PREFIX}/share/geda GNU_CONFIGURE= yes USES= desktop-file-utils gmake pkgconfig USE_GNOME= gtk20 INSTALLS_ICONS= yes CONFIGURE_ARGS= --enable-gdgeda --with-docdir=${DOCSDIR} \ --disable-update-mime-database \ --disable-update-desktop-database CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -E \ -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ ${WRKSRC}/configure .include Index: head/cad/gnucap/Makefile =================================================================== --- head/cad/gnucap/Makefile (revision 394777) +++ head/cad/gnucap/Makefile (revision 394778) @@ -1,62 +1,55 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= gnucap DISTVERSION= 2009-12-07 CATEGORIES= cad MASTER_SITES= http://www.gnucap.org/devel/ \ http://www.gnucap.org/devel/archive/ MAINTAINER= ports@FreeBSD.org COMMENT= The GNU Circuit Analysis Package LICENSE= GPLv3 OPTIONS_DEFINE= READLINE DOCS EXAMPLES OPTIONS_DEFAULT=READLINE READLINE_DESC= Enable readline support USES= gmake GNU_CONFIGURE= yes PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/gnucap bin/gnucap-modelgen \ man/man1/gnucap-ibis.1.gz man/man1/gnucap.1.gz -.include +READLINE_USES= readline +READLINE_CONFIGURE_OFF= --with-readline=no -.if ${PORT_OPTIONS:MREADLINE} -USES+= readline -.else -CONFIGURE_ARGS+=--with-readline=no -.endif - post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|doc examples||' ${WRKSRC}/Makefile.in .for i in src/ap_match.cc modelgen/ap_match.cc @${REINPLACE_CMD} -e \ "s:strchr(str2, '|'):const_cast(strchr(str2, '|')):" \ ${WRKSRC}/${i} .endfor post-install: ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/acs-tutorial ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/history ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/relnotes.* ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/whatisit ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/runall ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.ckt ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.doc ${STAGEDIR}${EXAMPLESDIR} -.endif .include Index: head/cad/gtkwave/Makefile =================================================================== --- head/cad/gtkwave/Makefile (revision 394777) +++ head/cad/gtkwave/Makefile (revision 394778) @@ -1,45 +1,38 @@ # Created by: Bruce M Simpson # $FreeBSD$ PORTNAME= gtkwave PORTVERSION= 3.3.60 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://gtkwave.sourceforge.net/ MAINTAINER= zeising@FreeBSD.org COMMENT= Electronic Waveform Viewer USES= desktop-file-utils gmake gperf pkgconfig shared-mime-info GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-mime-update USE_GNOME= gtk20 INSTALLS_ICONS= yes OPTIONS_DEFINE= TCL GCONF TCL_DESC= Enable support for TCL/TK TCL_USES= tk +TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} +TCL_CONFIGURE_OFF= --disable-tcl +GCONF_CONFIGURE_WITH= gconf +GCONF_USE= GNOME=gconf2 + PORTDOCS= gtkwave.odt -.include - -.if ${PORT_OPTIONS:MTCL} -CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \ - --with-tk=${TK_LIBDIR} -.else -CONFIGURE_ARGS+= --disable-tcl -.endif - -.if ${PORT_OPTIONS:MGCONF} -CONFIGURE_ARGS+= --with-gconf -USE_GNOME+= gconf2 -.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/cad/jspice3/Makefile =================================================================== --- head/cad/jspice3/Makefile (revision 394777) +++ head/cad/jspice3/Makefile (revision 394778) @@ -1,64 +1,58 @@ # Created by: Pedro F. Giffuni # $FreeBSD$ PORTNAME= jspice3 PORTVERSION= 2.5.011109 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.wrcad.com/ftp/pub/ DISTNAME= ${PORTNAME}-2.5-011109 MAINTAINER= ports@FreeBSD.org COMMENT= Adaptation of the Berkeley Spice3f4 with superconductivity CONFLICTS= spice-[0-9]* OPTIONS_DEFINE= X11 EXAMPLES OPTIONS_DEFAULT= X11 WRKSRC= ${WRKDIR}/${PORTNAME}-2.5 -.include +X11_USE= XORG=x11,xaw,xt -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 xaw xt -.endif - pre-configure: @${REINPLACE_CMD} -e 's+/usr/local+${PREFIX}+g;s+-O -g+${CFLAGS}+g;' \ ${WRKSRC}/conf/unixconf/mkheader.0 -.if ${PORT_OPTIONS:MX11} +pre-confiure-X11-on: @${REINPLACE_CMD} -e 's+#%%WITH_X%%++g' \ ${WRKSRC}/conf/unixconf/mkheader.0 -.else +pre-configure-X11-off: @${ECHO} "#undef HAVE_X11" >> ${WRKSRC}/src/include/spice.h -.endif do-build: (cd ${WRKSRC};${SETENV} ${MAKE_ENV} ${SH} build) do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/jspice3/helpdir \ ${STAGEDIR}${PREFIX}/lib/jspice3/sced \ ${STAGEDIR}${PREFIX}/lib/jspice3/scripts (cd ${WRKSRC}/src/bin && ${INSTALL_PROGRAM} jspice3 nutmeg help \ multidec proc2mod spiced xeditor ${STAGEDIR}${PREFIX}/bin) ${INSTALL_DATA} ${WRKSRC}/lib/mfbcap ${WRKSRC}/lib/news \ ${STAGEDIR}${PREFIX}/lib/jspice3 ${INSTALL_DATA} ${WRKSRC}/lib/helpdir/* \ ${STAGEDIR}${PREFIX}/lib/jspice3/helpdir ${INSTALL_DATA} ${WRKSRC}//lib/sced/* \ ${STAGEDIR}${PREFIX}/lib/jspice3/sced ${INSTALL_DATA} ${WRKSRC}/lib/scripts/* \ ${STAGEDIR}${PREFIX}/lib/jspice3/scripts -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/jspice3/cryocmos \ ${STAGEDIR}${PREFIX}/share/examples/jspice3/josephson ${INSTALL_DATA} ${WRKSRC}/examples/*.* \ ${STAGEDIR}${PREFIX}/share/examples/jspice3 ${INSTALL_DATA} ${WRKSRC}/examples/cryocmos/* \ ${STAGEDIR}${PREFIX}/share/examples/jspice3/cryocmos ${INSTALL_DATA} ${WRKSRC}/examples/josephson/* \ ${STAGEDIR}${PREFIX}/share/examples/jspice3/josephson -.endif .include Index: head/cad/kicad/Makefile =================================================================== --- head/cad/kicad/Makefile (revision 394777) +++ head/cad/kicad/Makefile (revision 394778) @@ -1,99 +1,97 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= kicad DISTVERSION= 20140622%2Bbzr4027 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= https://launchpadlibrarian.net/179199115/ DISTNAME= ${PORTNAME}_0.${DISTVERSION}.orig MAINTAINER= thierry@FreeBSD.org COMMENT= Schematic and PCB editing software LICENSE= GPLv2 LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf CONFLICTS= kicad-devel* USES= cmake dos2unix desktop-file-utils shared-mime-info tar:xz # Does not compile with Gcc48 USE_GCC= 4.7 #USES+= compiler:gcc-c++11-lib LDFLAGS+= -L${LOCALBASE}/lib/c++ CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:${PORTSDIR}/devel/libc++ DOS2UNIX_GLOB= *.cmake sch_bus_entry.h sch_line.h sch_no_connect.h USE_XORG= x11 ice xext USE_GL= yes USE_WX= 3.0 WX_UNICODE= yes USE_GNOME= atk # Required by libwx_gtk2_aui-2.8.so CXXFLAGS+= -I${WRKSRC}/include -I${LOCALBASE}/include -DBOOST_HASH_NO_EXTENSIONS CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxUSE_UNICODE=ON -DKICAD_STABLE_VERSION=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-0.${DISTVERSION:C/%2B/+/} PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 # undefined reference to `std::chrono::_V2::steady_clock::now()@GLIBCXX_3.4.19' BROKEN= Does not link .endif .if {PORT_OPTIONS:MDOCS} LICENSE+= GFDL LICENSE_COMB= multi .endif post-patch: ${MV} ${WRKSRC}/include/boost ${WRKSRC}/include/boost.orig pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ -e 's|/usr/bin/evince|${LOCALBASE}/bin/xpdf|' \ -e 's|/usr/bin/kpdf|${LOCALBASE}/bin/okular|' \ -e 's|/usr/bin/xpdf|${LOCALBASE}/bin/xpdf|' \ -e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \ -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/gestfich.cpp post-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/library && ${COPYTREE_SHARE} library ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/library && ${COPYTREE_SHARE} modules ${STAGEDIR}${DATADIR}) -.if ${PORT_OPTIONS:MNLS} +post-install-NLS-on: ${MKDIR} ${STAGEDIR}${DATADIR}/internat (cd ${WRKSRC}/doc/internat && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/internat) ${RM} -f ${STAGEDIR}${DATADIR}/internat/CMakeLists.txt ${FIND} ${STAGEDIR}${DATADIR}/internat -name kicad.po -delete -.endif -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif .include Index: head/cad/libgeda/Makefile =================================================================== --- head/cad/libgeda/Makefile (revision 394777) +++ head/cad/libgeda/Makefile (revision 394778) @@ -1,46 +1,40 @@ # Created by: bruno schwander # $FreeBSD$ PORTNAME= libgeda PORTVERSION= 1.4.3 PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \ http://geda.seul.org/release/v1.4/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= The gEDA's tools base utility library BROKEN= Unfetchable LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile GNU_CONFIGURE= yes INSTALLS_ICONS= yes USES= gmake libtool pathfix pkgconfig shared-mime-info USE_GNOME= gtk20 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-update-mime-database \ --disable-update-desktop-database CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -E \ -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ ${WRKSRC}/configure .include Index: head/cad/netgen/Makefile =================================================================== --- head/cad/netgen/Makefile (revision 394777) +++ head/cad/netgen/Makefile (revision 394778) @@ -1,70 +1,65 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= netgen PORTVERSION= 5.0.0 PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= SF/netgen-mesher/netgen-mesher/${PORTVERSION:S|.0$||}/ MAINTAINER= stephen@FreeBSD.org COMMENT= Automatic 3D tetrahedral mesh generator LIB_DEPENDS= libTix8.4.3.so:${PORTSDIR}/x11-toolkits/tix \ libtogl.so:${PORTSDIR}/graphics/togl USE_LDCONFIG= yes USES= gmake jpeg libtool tk USE_GL= yes USE_XORG= xmu xi GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/lib/Togl-1.7 CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} --enable-jpeglib FETCH_BEFORE_ARGS+= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} OPTIONS_DEFINE= OCC FFMPEG OCC_DESC= Compile with OpenCascade geometry kernel FFMPEG_DESC= video recording with FFmpeg OPTIONS_DEFAULT= OCC BROKEN_sparc64= internal gcc error (Bug 23159) -.include -.if ${PORT_OPTIONS:MOCC} -LIB_DEPENDS+= libTKernel.so:${PORTSDIR}/cad/opencascade -CXXFLAGS+= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE -CONFIGURE_ARGS+= --enable-occ -.endif +OCC_LIB_DEPENDS= libTKernel.so:${PORTSDIR}/cad/opencascade +OCC_CXXFLAGS= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE +OCC_CONFIGURE_ENABLE= occ -.if ${PORT_OPTIONS:MFFMPEG} -LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 -CONFIGURE_ARGS+= --enable-ffmpeg -.endif +FFMPEG_LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 +FFMPEG_CONFIGURE_ENABLE=ffmpeg MACHINE= ${OPSYS:tu} SUB_LIST= PREFIX=${PREFIX} SUB_FILES= pkg-message MAKE_ENV= TK_VER=${TK_VER} TCL_VER=${TCL_VER} \ TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \ TK_INCLUDEDIR="${TK_INCLUDEDIR}" \ MACHINE=${MACHINE} MAKE=${MAKE_CMD} pre-configure: ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/ng/ngappinit.cpp post-configure: ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/configure post-install: # copy some additional headers for build cad/salome-netgenplugin ${MKDIR} ${STAGEDIR}${DATADIR}/include ${SH} ${FILESDIR}/netgen_copy_include_for_salome ${WRKSRC} ${STAGEDIR}${PREFIX} ${LN} ${STAGEDIR}${PREFIX}/lib/libnglib.so ${STAGEDIR}${PREFIX}/lib/libnglib.so.1 .include Index: head/cad/opencascade/Makefile =================================================================== --- head/cad/opencascade/Makefile (revision 394777) +++ head/cad/opencascade/Makefile (revision 394778) @@ -1,148 +1,141 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= opencascade PORTVERSION= 6.8.0 PORTREVISION= 3 CATEGORIES= cad science MASTER_SITES= http://files.opencascade.com/OCCT/OCC_${PORTVERSION}_release/ MAINTAINER= thierry@FreeBSD.org COMMENT= Open CASCADE Technology, 3D modeling & numerical simulation LICENSE= OCTPL LICENSE_NAME= LGPL21 with exception LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libtbb.so:${PORTSDIR}/devel/tbb \ libvtksys-${VTKVER}.so:${PORTSDIR}/math/vtk6 RUN_DEPENDS= bash:${PORTSDIR}/shells/bash # Check ${WRKSRC}/dox/overview/Overview.md # and ${WRKSRC}/dox/dev_guides/building USES= alias:10 bison cmake compiler dos2unix gmake shebangfix tk \ tar:tgz USE_XORG= xmu DOS2UNIX_FILES= adm/templates/* SHEBANG_FILES= adm/templates/env.sh.in adm/templates/draw.sh \ adm/templates/custom.sh.in adm/templates/custom.sh.main \ adm/start.tcl draw.sh xcode.sh env.sh custom.sh.in \ gendoc codeblocks.sh VTKVER= 6.1 OPTIONS_DEFINE= VIS DOCS VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps) OPTIONS_DEFAULT=VIS OPTIONS_SUB= yes REINPLACE_ARGS= -i "" CFLAGS+= -I${LOCALBASE}/include -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} LDFLAGS+= -L${LOCALBASE}/lib -L${TCL_LIBDIR} -L${TK_LIBDIR} CMAKE_ARGS+= -D3RDPARTY_TCL_INCLUDE_DIR=${TCL_INCLUDEDIR} \ -D3RDPARTY_TCL_LIBRARY=${TCL_LIBDIR} \ -D3RDPARTY_TBB_DIR=${LOCALBASE} \ -D3RDPARTY_TBB_LIBRARY_DIR=${LOCALBASE}/lib \ -DINSTALL_DIR=${OCCROOT}/ -DUSE_TBB:BOOL=ON \ -D3RDPARTY_TBBMALLOC_LIBRARY=${LOCALBASE}/lib/libtbbmalloc.so \ -D3RDPARTY_TBB_LIBRARY=${LOCALBASE}/lib/libtbb.so \ -D3RDPARTY_TBBMALLOC_LIBRARY_DIR=${LOCALBASE}/lib \ -DUSE_VTK:BOOL=ON -D3RDPARTY_VTK_DIR=${LOCALBASE} \ -D3RDPARTY_VTK_INCLUDE_DIR=${LOCALBASE}/include/vtk-${VTKVER} \ -D3RDPARTY_VTK_LIBRARY_DIR=${LOCALBASE}/lib/vtk-${VTKVER} USE_LDCONFIG= yes LOCCROOT= OpenCAS OCCROOT= ${PREFIX}/${LOCCROOT} PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${COMPILER_TYPE} VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \ -DUSE_FREETYPE:BOOL=ON VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF -DUSE_GL2PS:BOOL=OFF \ -DUSE_FREETYPE:BOOL=OFF VIS_USE= GL=glu VIS_LIB_DEPENDS= libftgl.so:${PORTSDIR}/graphics/ftgl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libgl2ps.so:${PORTSDIR}/print/gl2ps \ libfreeimageplus.so:${PORTSDIR}/graphics/freeimage -.include - -.if ${PORT_OPTIONS:MVIS} -CMAKE_ARGS+= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} \ +VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} \ -D3RDPARTY_FREEIMAGE_DIR=${LOCALBASE} \ -D3RDPARTY_GL2PS_DIR=${LOCALBASE} -.endif -.if ${PORT_OPTIONS:MDOCS} -USE_TEX+= latex:build -BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash \ - doxygen:${PORTSDIR}/devel/doxygen \ - dot:${PORTSDIR}/graphics/graphviz \ - inkscape:${PORTSDIR}/graphics/inkscape -RUN_DEPENDS+= ${LOCALBASE}/www/MathJax/MathJax.js:${PORTSDIR}/www/mathjax -.endif +DOCS_USE= TEX=latex:build +DOCS_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ + doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz \ + inkscape:${PORTSDIR}/graphics/inkscape +DOCS_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:${PORTSDIR}/www/mathjax +.include + .if ${ARCH} == "i386" BITS= 32 .else BITS= 64 .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: to build OpenCascade, you should have at least" @${ECHO_MSG} "2.6 Gb of free disk space in build area!" @${ECHO_MSG} pre-configure: ${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/gendoc .for mod in TKDraw TKViewerTest ${REINPLACE_CMD} -e 's|tcl8.6|tcl${TCL_VER:C|\.||}|;s|tk8.6|tk${TK_VER:C|\.||}|' \ ${WRKSRC}/adm/cmake/${mod}/CMakeLists.txt .endfor .for es in env.sh adm/templates/env.sh.in ${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es} .endfor -post-build: -.if ${PORT_OPTIONS:MDOCS} +post-build-DOCS-on: (cd ${WRKSRC} && ./gendoc -overview) -.endif post-install: ${MV} ${STAGEDIR}${OCCROOT}/bsd${BITS}/${COMPILER_TYPE}/bin/DRAWEXE \ ${STAGEDIR}${PREFIX}/bin/ (cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -sf DRAWEXE ${STAGEDIR}${OCCROOT}/bsd${BITS}/${COMPILER_TYPE}/bin/DRAWEXE) ${MV} ${STAGEDIR}${OCCROOT}/bsd${BITS}/${COMPILER_TYPE}/lib/lib*.so \ ${STAGEDIR}${PREFIX}/lib/ (cd ${STAGEDIR}${PREFIX}/lib \ && for l in lib*.so; do \ ${MV} $${l} $${l}.0; \ ${LN} -sf $${l}.0 $${l}; \ ${LN} -sf $${l}.0 ${STAGEDIR}${OCCROOT}/bsd${BITS}/${COMPILER_TYPE}/lib/$${l}; \ done) ${MKDIR} ${STAGEDIR}${PREFIX}/include/OpenCASCADE (cd ${STAGEDIR}${OCCROOT}/inc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/OpenCASCADE) ${RM} -rf ${STAGEDIR}${OCCROOT}/inc ${LN} -sf ${PREFIX}/include/OpenCASCADE ${STAGEDIR}${OCCROOT}/inc (cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${OCCROOT}) -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/overview && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${RMDIR} ${STAGEDIR}${DOCSDIR}/latex -.endif .if defined(MAINTAINER_MODE) regression-test: install ${MKDIR} /tmp/testOCC bash -c "\ cd ${OCCROOT} && . ${OCCROOT}/env.sh && \ CSF_TestScriptsPath=${OCCROOT}/tests \ CSF_TestDataPath=${OCCROOT}/data \ DRAWEXE -f ${FILESDIR}/regtest " .endif .include Index: head/cad/pcb/Makefile =================================================================== --- head/cad/pcb/Makefile (revision 394777) +++ head/cad/pcb/Makefile (revision 394778) @@ -1,73 +1,69 @@ # Created by: Michael Reifenberger # $FreeBSD$ PORTNAME= pcb PORTVERSION= 20140316 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= X11 interactive printed circuit board layout system LICENSE= GPLv2 LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext RUN_DEPENDS= m4>=1.4.11:${PORTSDIR}/devel/m4 \ ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus BUILD_DEPENDS:= ${RUN_DEPENDS} CONFLICTS= gts-[0-9]* USE_AUTOTOOLS= autoconf USES= gmake pkgconfig tk:run shared-mime-info desktop-file-utils USE_GNOME= intltool INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib PORTDOCS= \ pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \ examples tutorial gcode.png gcode_control_img.png \ gcode_tool_path.png OPTIONS_DEFINE= DOCS NLS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI=MOTIF GTK NONE OPTIONS_DEFAULT=DOCS GTK DOCS_CONFIGURE_ENABLE= doc DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} NLS_CONFIGURE_OFF= --without-libintl \ --without-iconv NLS_USES= gettext iconv .for L in fr nl ru pt_BR NLS_PLIST_FILES+= share/locale/${L}/LC_MESSAGES/pcb.mo .endfor MOTIF_DESC= Motif widgets MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-gui=lesstif MOTIF_CONFIGURE_ENV= WISH=${WISH} GTK_DESC= GIMP ToolKit widgets GTK_USE= GNOME=gtk20 GTK_CONFIGURE_ON= --with-gui=gtk GTK_CONFIGURE_ENV= WISH=${WISH} NONE_DESC= No GUI support NONE_CONFIGURE_ON= --without-gui NONE_CONFIGURE_ENV= WISH=/usr/bin/true ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Uses x86 specific libc functions and has not been ported -.include - -.if ${PORT_OPTIONS:MDOCS} -INFO= pcb -.endif +DOCS_INFO= pcb .include Index: head/cad/pdnmesh/Makefile =================================================================== --- head/cad/pdnmesh/Makefile (revision 394777) +++ head/cad/pdnmesh/Makefile (revision 394778) @@ -1,60 +1,52 @@ # Created by: Sarod Yatawatta # $FreeBSD$ PORTNAME= pdnmesh PORTVERSION= 0.2.2 PORTREVISION= 8 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Mesh generator and solver for Finite Element problems LICENSE= GPLv2 # (or later) LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext OPTIONS_DEFINE= ATLAS DOCS EXAMPLES ATLAS_DESC= Enable ATLAS support USES= fortran pkgconfig USE_GL= glu USE_GNOME= gtk20 GNU_CONFIGURE= yes LDFLAGS+= -lm DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true -.include +ATLAS_USES= blaslapack:atlas +ATLAS_CONFIGURE_ON=--with-blas=cblas --with-lapack=alapack +ATLAS_USES_OFF= blaslapack +ATLAS_CONFIGURE_OFF=--with-blas=blas --with-lapack=lapack -.if ${PORT_OPTIONS:MATLAS} -USES+= blaslapack:atlas -CONFIGURE_ARGS+=--with-blas=cblas --with-lapack=alapack -.else -USES+= blaslapack -CONFIGURE_ARGS+=--with-blas=blas --with-lapack=lapack -.endif - post-patch: @${REINPLACE_CMD}-e \ '/^SUBDIRS/s|doc|| ; \ s|^pkgdata_DATA|#pkgdata_DATA|' ${WRKSRC}/Makefile.in -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} \ && ${INSTALL_DATA} ChangeLog ${STAGEDIR}${DOCSDIR} \ && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) ${MKDIR} ${STAGEDIR}${DOCSDIR}/tutorial (cd ${WRKSRC}/doc/tutorial \ && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}/tutorial \ && ${INSTALL_DATA} tutorial.* ${STAGEDIR}${DOCSDIR}/tutorial) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: (cd ${WRKSRC}/doc/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile* -.endif .include Index: head/cad/qfsm/Makefile =================================================================== --- head/cad/qfsm/Makefile (revision 394777) +++ head/cad/qfsm/Makefile (revision 394778) @@ -1,46 +1,42 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= qfsm PORTVERSION= 0.54.0 DISTVERSIONSUFFIX= -Source CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Graphical tool for designing finite state machines LICENSE= GPLv3 # (or later) OPTIONS_DEFINE= GRAPHVIZ DOCS EXAMPLES USE_XORG= xi USE_QT4= corelib gui qt3support svg xml \ moc_build qmake_build rcc_build uic_build USES= tar:bzip2 cmake desktop-file-utils INSTALLS_ICONS= yes GRAPHVIZ_BUILD_DEPENDS= graphviz>=2.22:${PORTSDIR}/graphics/graphviz GRAPHVIZ_RUN_DEPENDS= graphviz>=2.22:${PORTSDIR}/graphics/graphviz GRAPHVIZ_CMAKE_OFF= -DQFSM_AVOID_GRAPHVIZ:BOOL=ON -.include - pre-configure: ${REINPLACE_CMD} -e \ '/\/usr\//d' ${WRKSRC}/FindGraphViz.cmake ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ -e '/examples/s|share/qfsm|share/examples/${PORTNAME}|' \ ${WRKSRC}/CMakeLists.txt -.if ${PORT_OPTIONS:MDOCS} +pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|%%PD%%||' ${WRKSRC}/CMakeLists.txt -.else +pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's|%%PD%%|#|' ${WRKSRC}/CMakeLists.txt -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +pre-configure-EXAMPLES-on: ${REINPLACE_CMD} -e 's|%%PE%%||' ${WRKSRC}/CMakeLists.txt -.else +pre-configure-EXAMPLES-off: ${REINPLACE_CMD} -e 's|%%PE%%|#|' ${WRKSRC}/CMakeLists.txt -.endif .include Index: head/cad/scotch/Makefile =================================================================== --- head/cad/scotch/Makefile (revision 394777) +++ head/cad/scotch/Makefile (revision 394778) @@ -1,118 +1,116 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= scotch DISTVERSION= 5.1.12b_esmumps PORTREVISION= 5 CATEGORIES= cad science MASTER_SITES= https://gforge.inria.fr/frs/download.php/28978/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Package for graph and mesh partitioning and sparse matrix ordering LICENSE= CeCILL_C LICENSE_NAME= CeCILL-C LICENSE_FILE= ${WRKSRC}/doc/CeCILL-C_V1-en.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CONFLICTS= gbase-0.* gmap-2006.* USES= gmake MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= DOCS EXAMPLES .if defined(MAINTAINER_MODE) USES+= fortran .endif WRKSRC= ${WRKDIR}/${DISTNAME:C/b_/_/} BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= scotch CFLAGS+= -I${LOCALBASE}/include VER= ${PORTVERSION:R} BINS= acpl amk_ccc amk_fft2 amk_grf amk_hy amk_m2 amk_p2 atst \ gbase gcv gmap gmk_hy gmk_m2 gmk_m3 gmk_msh gmk_ub2 \ gmtst gord gotst gout gpart gscat gtst mcv mmk_m2 mmk_m3\ mord mtst INCS= esmumps.h scotch.h scotchf.h LIBS= libesmumps.a libscotch.a libscotcherr.a libscotcherrexit.a libscotchmetis.a DOCVER= ${PORTVERSION:R:R:R} PORTDOCS= ptscotch_user${DOCVER}.pdf scotch_user${DOCVER}.pdf EXAMPLES= scotch_example_1.f scotch_example_2.f90 .if !defined(WITHOUT_MPI) LIB_DEPENDS+= libmpich.so:${PORTSDIR}/net/mpich2 ALL_TARGET+= ptscotch MAKE_ENV+= PATH=${PATH}:${LOCALBASE}/mpich2/bin INCS+= ptscotch.h ptscotchf.h LIBS+= libptesmumps.a libptscotch.a libptscotcherr.a libptscotcherrexit.a \ libptscotchparmetis.a BINS+= dggath dgmap dgord dgpart dgscat dgtst PLIST_SUB+= MPI="" .else PLIST_SUB+= MPI="@comment " .endif -.include +.include .if ${ARCH} == "i386" MF= i686 .else MF= x86-64 .endif pre-everything:: .if !defined(WITHOUT_MPI) @${ECHO_MSG} @${ECHO_MSG} "Define WITHOUT_MPI if PT-Scotch is not wanted." @${ECHO_MSG} .endif pre-configure: ${REINPLACE_CMD} -e 's/-lthread/-pthread/;s/-lpthread/-pthread/'\ -e 's/CLIBFLAGS =/CLIBFLAGS = -fPIC/' \ ${WRKSRC}/src/Make.inc/Makefile.inc.${MF}_pc_freebsd ${LN} -sf ${WRKSRC}/src/Make.inc/Makefile.inc.${MF}_pc_freebsd \ ${WRKSRC}/src/Makefile.inc ${REINPLACE_CMD} -E -e 's|cd (.*) ; * \$$\(MAKE\)|\$$(MAKE) -C \1|' \ -e 's|\&\& \$$\(MAKE\)||' ${WRKSRC}/src/Makefile do-install: ${INSTALL_PROGRAM} ${BINS:S|^|${WRKSRC}/bin/|} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${INCS:S|^|${WRKSRC}/include/|} ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${LIBS:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${PREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/man/man1/* ${STAGEDIR}${MANPREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/grf ${STAGEDIR}${EXAMPLESDIR}/tgt ${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/grf/* ${STAGEDIR}${EXAMPLESDIR}/grf ${INSTALL_DATA} ${WRKSRC}/tgt/* ${STAGEDIR}${EXAMPLESDIR}/tgt -.endif .if defined(MAINTAINER_MODE) regression-test: install (amk_ccc 3 | acpl - ${WRKDIR}/ccc3.tgt && \ ${GUNZIP_CMD} -c ${EXAMPLESDIR}/grf/bump.grf.gz | \ gmap - ${WRKDIR}/ccc3.tgt ${WRKDIR}/brol.map) (cd ${WRKSRC}/examples && \ ${FC} -o scotch_test scotch_example_1.f ${FCFLAGS} \ -I${PREFIX}/include ${LDFLAGS} -L${PREFIX}/lib -lscotch -lscotcherr -lm \ && ./scotch_test) . if !defined(WITHOUT_MPI) (${GUNZIP_CMD} -c ${EXAMPLESDIR}/grf/bump.grf.gz | dgtst) . endif .endif -.include +.include Index: head/cad/spice/Makefile =================================================================== --- head/cad/spice/Makefile (revision 394777) +++ head/cad/spice/Makefile (revision 394778) @@ -1,127 +1,121 @@ # Created by: Julian Jenkins # $FreeBSD$ PORTNAME= spice PORTVERSION= 3f5.2 PORTREVISION= 12 CATEGORIES= cad MASTER_SITES= http://embedded.eecs.berkeley.edu/pubs/downloads/spice/:srcs \ http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM3/ftpv330/src/:bsim3 \ http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM4/BSIM480/:bsim4 \ http://home.hiroshima-u.ac.jp/usdl/HiSIM2/:hisim2 \ LOCAL/hrs/${PORTNAME}:docs DISTFILES= spice3f5${EXTRACT_SUFX}:srcs \ BSIM3v330.tar.Z:bsim3 \ BSIM480_Code.zip:bsim4 \ HiSIM_2.8.0_Release_20140605.zip:hisim2 \ cp.ps:docs toc.ps:docs doc.ps:docs DIST_SUBDIR= spice EXTRACT_ONLY= spice3f5${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= General-purpose circuit simulation program LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT EXTRACT_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip WRKSRC= ${WRKDIR}/${PORTNAME}3f5 MAKEFILE= ${FILESDIR}/Makefile CONFIGURE_ENV= CONFIGFILE="${CONFIGFILE}" \ LOCALBASE="${LOCALBASE}" MAKE_JOBS_UNSAFE=yes PORTDOCS= spice3f3.ps.gz PORTEXAMPLES= bjtnoise.cir bsim1tst.cir bsim2tst.cir diffpair.cir \ diodisto.cir ltra_1.cir ltra_2.cir ltra_3.cir \ mixdisto.cir mos6inv.cir mosamp2.cir mosmem.cir process.mod \ process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \ rtlinv.cir schmitt.cir simplepz.cir OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2 OPTIONS_DEFAULT=DOCS EXAMPLES X11 X11_USE= XORG=x11,xaw,xext,xmu,xt X11_CONFIGURE_ENV= WITH_X11=yes DEV_BSIM3_DESC= BSIM3v3 MOS Transistor Model Support DEV_BSIM3_LICENSE= BSIML DEV_BSIM3_LICENSE_FILE= ${WRKSRC}/src/lib/dev/bsim3/B3TERMS_OF_USE DEV_BSIM4_DESC= BSIM4v4 MOS Transistor Model Support DEV_BSIM4_LICENSE= BSIML DEV_BSIM4_LICENSE_FILE= ${WRKSRC}/src/lib/dev/bsim4/B4TERMS_OF_USE.txt DEV_HISIM2_DESC= HiSIM2 IGFET Model Support DEV_HISIM2_LICENSE= HISIML .include # Configuration parameters. CC_OPT= ${CFLAGS} CONFIGFILE= ${WRKSRC}/conf/FreeBSD DEVICES= LICENSE_FILE_MIT= ${WRKSRC}/COPYRIGHT LICENSE_NAME_BSIML= BSIM license LICENSE_PERMS_BSIML= dist-mirror pkg-mirror auto-accept LICENSE_NAME_HISIML= HiSIM license LICENSE_PERMS_HISIML= dist-mirror pkg-mirror auto-accept LICENSE_FILE_HISIML= ${FILESDIR}/hisim2-license.txt .for D in ${OPTIONS_DEFINE:MDEV_*:S/DEV_//} . if !empty(PORT_OPTIONS:MDEV_$D) LICENSE_COMB= multi DEVICES+= ${D:tl} . if !empty(DEV_${D}_LICENSE) LICENSE+= ${DEV_${D}_LICENSE} . if !empty(DEV_${D}_LICENSE_FILE) LICENSE_FILE_${DEV_${D}_LICENSE}= ${DEV_${D}_LICENSE_FILE} . endif . endif . endif .endfor LICENSE:= ${LICENSE:O:u} post-extract: @${DO_NADA} -.if ${PORT_OPTIONS:MDEV_BSIM3} +post-extract-DEV_BSIM3-on: @${MKDIR} ${WRKSRC}/src/lib/dev/bsim3 ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/BSIM3v330.tar.Z \ -C ${WRKSRC}/src/lib/dev/bsim3 -.endif -.if ${PORT_OPTIONS:MDEV_BSIM4} +post-extract-DEV_BSIM4-on: @${MKDIR} ${WRKSRC}/src/lib/dev/bsim4 ${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/BSIM480_Code.zip \ -d ${WRKSRC}/src/lib/dev/bsim4 -.endif -.if ${PORT_OPTIONS:MDEV_HISIM2} +post-extract-DEV_HISIM2-on: ${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/HiSIM_2.8.0_Release_20140605.zip \ -d ${WRKDIR} ${MV} ${WRKDIR}/HiSIM_2.8.0_Release_20140605/HiSIM_2.8.0_C-Code/hisim2 \ ${WRKSRC}/src/lib/dev -.endif ${CONFIGFILE}:: @${SETENV} ${CONFIGURE_ENV} ${MAKE} -f ${MAKEFILE} configure .for V in CC MAKE CC_OPT @${ECHO_CMD} "${V}=${$V}" >> ${WRKSRC}/conf/FreeBSD .endfor .for V in DEVICES @${ECHO_CMD} "${V}+=${$V}" >> ${WRKSRC}/conf/FreeBSD .endfor do-configure: ${CONFIGFILE} @${DO_NADA} -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CAT} ${DISTDIR}/${DIST_SUBDIR}/*.ps | ${GZIP_CMD} > \ ${STAGEDIR}${DOCSDIR}/${PORTDOCS} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && \ ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -.endif .include Index: head/cad/tochnog/Makefile =================================================================== --- head/cad/tochnog/Makefile (revision 394777) +++ head/cad/tochnog/Makefile (revision 394778) @@ -1,102 +1,100 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= tochnog PORTVERSION= 20140100 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/Tochnog%20Latest%20January%202014 DISTFILES= Sources${EXTRACT_SUFX} gid${EXTRACT_SUFX} \ tools${EXTRACT_SUFX} test${EXTRACT_SUFX} DIST_SUBDIR= ${DISTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Free explicit/implicit Finite Element Program LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:${PORTSDIR}/lang/f2c OPTIONS_DEFINE= ATLAS EXAMPLES THREADS ATLAS_DESC= Use ATLAS instead of BLAS/LAPACK WRKSRC= ${WRKDIR}/Sources/Tochnog-Latest-jan-2014 MAKEFILE= makefile USES= fortran zip dos2unix DOS2UNIX_FILES= time.cc time.h tnlapack.h tnsuplu.h # You can set GIDDIR to share/gid to install the scripts to be used # with the cad/linux-gid port, otherwise they can be linked to the data # directory to avoid polluting the port space. GIDDIR?= share/${PORTNAME} PLIST_SUB+= GIDDIR=${GIDDIR} GID_PTYPES= ${PREFIX}/${GIDDIR}/problemtypes .include .if ${PORT_OPTIONS:MATLAS} LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas .if ${PORT_OPTIONS:MTHREADS} BLAS_LIBS= -lptf77blas .else BLAS_LIBS= -lf77blas .endif .else LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \ liblapack.so:${PORTSDIR}/math/lapack BLAS_LIBS= -llapack -lblas .endif .if ${PORT_OPTIONS:MTHREADS} ALL_TARGET= freebsd_parallel BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt SUPERLU= superlu_mt .else ALL_TARGET= freebsd_old BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu SUPERLU= superlu .endif post-extract: .for sup in gid tools test ${MV} ${WRKDIR}/${sup} ${WRKDIR}/Sources/ .endfor pre-configure: .for hd in pthread.h ${MV} ${WRKSRC}/${hd} ${WRKSRC}/${hd}.orig .endfor ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g ; \ s,%%SUPERLU%%,${SUPERLU},g ; \ s,%%BLAS_LIBS%%,-L${LOCALBASE}/lib ${BLAS_LIBS},g' \ ${WRKSRC}/makefile -.if ${PORT_OPTIONS:MTHREADS} +pre-configure-THREADS-on: ${REINPLACE_CMD} -e 's,SUPERLU_MT_USE 0,SUPERLU_MT_USE 1,' \ ${WRKSRC}/tnsuplu.h -.else # Serial +pre-configure-THREADS-off: ${REINPLACE_CMD} -e 's,SUPERLU_USE 0,SUPERLU_USE 1,' \ ${WRKSRC}/tnsuplu.h -.endif post-build: (cd ${WRKDIR}/Sources/tools && ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKDIR}/Sources/tools/aba2tn ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/Sources/tools/*.awk ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_DATA} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.cnd \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_DATA} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.mat \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_SCRIPT} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.ba* \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${RM} -f ${WRKDIR}/Sources/test/*.orig ${INSTALL_DATA} ${WRKDIR}/Sources/test/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include Index: head/chinese/auto-cn-l10n/Makefile =================================================================== --- head/chinese/auto-cn-l10n/Makefile (revision 394777) +++ head/chinese/auto-cn-l10n/Makefile (revision 394778) @@ -1,63 +1,44 @@ # Created by: Yinghong Liu # $FreeBSD$ PORTNAME= auto-cn-l10n PORTVERSION= 1.1 PORTREVISION= 3 CATEGORIES= chinese #MASTER_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ MASTER_SITES= LOCAL/delphij DISTNAME= zh-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The automatic localization for Simplified Chinese zh_CN.eucCN locale NO_BUILD= yes SUB_FILES= pkg-message REINPLACE_ARGS= -i "" OPTIONS_DEFINE= WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF OPTIONS_DEFAULT= WQY SCIM RELAXCONF WQY_DESC= WenQuanYi Bitmap Song Font FIREFLYTTF_DESC= Firefly TrueType Font FCITX_DESC= GBK Chinese XIM server SCIM_DESC= Smart Common Input Method platform MINICHINPUT_DESC= A tiny version of Chinput RELAXCONF_DESC= A set of utilities for FreeBSD LiveCD -.include +WQY_RUN_DEPENDS= ${LOCALBASE}/share/fonts/wqy/wenquanyi_10pt.pcf:${PORTSDIR}/x11-fonts/wqy +FIREFLYTTF_RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf +FCITX_RUN_DEPENDS= fcitx:${PORTSDIR}/chinese/fcitx +SCIM_RUN_DEPENDS= ${LOCALBASE}/share/scim/tables/Wubi.bin:${PORTSDIR}/chinese/scim-tables \ + ${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/pinyin.so:${PORTSDIR}/chinese/scim-pinyin +MINICHINPUT_RUN_DEPENDS= chinput:${PORTSDIR}/chinese/miniChinput +RELAXCONF_RUN_DEPENDS= relaxconf:${PORTSDIR}/sysutils/relaxconf -.if ${PORT_OPTIONS:MWQY} -RUN_DEPENDS+= ${LOCALBASE}/share/fonts/wqy/wenquanyi_10pt.pcf:${PORTSDIR}/x11-fonts/wqy -.endif - -.if ${PORT_OPTIONS:MFIREFLYTTF} -RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf -.endif - -.if ${PORT_OPTIONS:MFCITX} -RUN_DEPENDS+= fcitx:${PORTSDIR}/chinese/fcitx -.endif - -.if ${PORT_OPTIONS:MSCIM} -RUN_DEPENDS+= ${LOCALBASE}/share/scim/tables/Wubi.bin:${PORTSDIR}/chinese/scim-tables -RUN_DEPENDS+= ${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/pinyin.so:${PORTSDIR}/chinese/scim-pinyin -.endif - -.if ${PORT_OPTIONS:MMINICHINPUT} -RUN_DEPENDS+= chinput:${PORTSDIR}/chinese/miniChinput -.endif - -.if ${PORT_OPTIONS:MRELAXCONF} -RUN_DEPENDS+= relaxconf:${PORTSDIR}/sysutils/relaxconf -.endif - post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dot.xselector ${WRKSRC}/dot.xinitrc do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/skel/zh_CN.eucCN ${CP} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/skel/zh_CN.eucCN -.include +.include Index: head/chinese/cnprint/Makefile =================================================================== --- head/chinese/cnprint/Makefile (revision 394777) +++ head/chinese/cnprint/Makefile (revision 394778) @@ -1,60 +1,57 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= cnprint PORTVERSION= 3.30b PORTREVISION= 1 CATEGORIES= chinese print MASTER_SITES= http://distfiles.cs.nctu.edu.tw/${PORTNAME}-${PORTVERSION}/ \ http://ftp.yz.yamagata-u.ac.jp/pub/FreeBSD/distfiles/${PORTNAME}-${PORTVERSION}/ DISTFILES= cnprint330b.c cnprint330b.readme ttfb330b.c cnprint330b.hlp \ cnprint33.cmd helvet.dat mssong.ttf.gz mssong.htf \ mshei.ttf.gz mshei.htf cc48s.hbf cc48.sym.gz cc48s.1.gz \ cc48s.2.gz hbf.tar.gz ntu_kai48.hbf ntu_kai48.bin.gz MAINTAINER= lwhsu@FreeBSD.org COMMENT= Print CJK text (or convert to PostScript) DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} FILES= ${WRKSRC}/*.sym ${WRKSRC}/*.htf ${WRKSRC}/*.hbf \ ${WRKSRC}/*.bin ${WRKSRC}/*.ttf OPTIONS_DEFINE= A4SIZE OPTIONS_DEFAULT= A4SIZE A4SIZE_DESC= Set A4 (not Letter) as a default paper size -.include - do-extract: ${MKDIR} ${WRKSRC} .for i in ${DISTFILES} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC} .endfor cd ${WRKSRC} ; \ ${TAR} pzvxf hbf.tar.gz ; ${MV} hbf/* . ; \ ${RM} -fr hbf ; \ ${GUNZIP_CMD} *.gz || ${TRUE} post-patch: @${REINPLACE_CMD} -e 's,/usr/local/src,${PREFIX}/share,' \ ${WRKSRC}/cnprint330b.c @${REINPLACE_CMD} -e 's/\(DEFAULT_JIS_FONT\):.*$$/\1: kanji48.hbf/; \ s/\(DEFAULT_BIG5FONT\):.*$$/\1: ntu_kai48.hbf/; \ s/\(DEFAULT_ENCODING\):.*$$/\1: BIG5/' ${WRKSRC}/cnprint33.cmd -.if ${PORT_OPTIONS:MA4SIZE} +post-patch-A4SIZE-on: @${REINPLACE_CMD} -e 's/\(DEFAULT_PAPERSIZE\):.*$$/\1: 8.27 11.69/' \ ${WRKSRC}/cnprint33.cmd -.endif do-build: cd ${WRKSRC} ; \ ${CC} cnprint330b.c ttfb330b.c -o cnprint -DPREFIX=\"${PREFIX}\" do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}33.cmd ${STAGEDIR}${DATADIR}/${PORTNAME}.cmd ${INSTALL_DATA} ${FILES} ${STAGEDIR}${DATADIR} -.include +.include Index: head/chinese/fcitx-configtool/Makefile =================================================================== --- head/chinese/fcitx-configtool/Makefile (revision 394777) +++ head/chinese/fcitx-configtool/Makefile (revision 394778) @@ -1,42 +1,35 @@ # Created by: Zhihao Yuan # $FreeBSD$ PORTNAME= fcitx-configtool PORTVERSION= 0.4.8 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/ DIST_SUBDIR= fcitx MAINTAINER= lichray@gmail.com COMMENT= Fcitx IM framework configuration tool LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib LIB_DEPENDS= libfcitx-config.so:${PORTSDIR}/chinese/fcitx USE_GNOME= intltool USES= cmake gettext pkgconfig tar:xz LDFLAGS+= -lintl OPTIONS_SINGLE= UI UI_DESC= Gtk version to use OPTIONS_SINGLE_UI= GTK2 GTK3 OPTIONS_DEFAULT=GTK2 OPTIONS_SUB= yes -.include +GTK2_CMAKE_ON= -DENABLE_GTK2=ON +GTK2_USE= GNOME=gtk20 -.if ${PORT_OPTIONS:MGTK2} -CMAKE_ARGS+= -DENABLE_GTK2=ON -USE_GNOME+= gtk20 -.endif - -.if ${PORT_OPTIONS:MGTK3} -USE_GNOME+= gtk30 -.else -CMAKE_ARGS+= -DENABLE_GTK3=OFF -.endif +GTK3_USE= GNOME=gtk30 +GTK3_CMAKE_OFF= -DENABLE_GTK3=OFF .include Index: head/chinese/gcin/Makefile =================================================================== --- head/chinese/gcin/Makefile (revision 394777) +++ head/chinese/gcin/Makefile (revision 394778) @@ -1,97 +1,86 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= gcin PORTVERSION= 2.8.2 PORTREVISION= 2 CATEGORIES= chinese textproc gnome MASTER_SITES= http://hyperrate.com/gcin-source/ EXTRACT_ONLY= gcin-${PORTVERSION}.tar.xz MAINTAINER= vanilla@FreeBSD.org COMMENT= Traditional Chinese input utility in X LICENSE= LGPL21 HAS_CONFIGURE= YES CONFIGURE_ARGS+= --use_gtk3=N --use_qt3=N USE_GNOME= gtk20 USES= gmake pkgconfig tar:xz USE_XORG= x11 xtst xext INSTALLS_ICONS= YES USE_LDCONFIG= YES + OPTIONS_DEFINE= ANTHY QT_IM_MODULE DOCS +OPTIONS_SUB= yes ANTHY_DESC= Japanese anthy IM module QT_IM_MODULE_DESC= QT IM module -.include +QT_IM_MODULE_USE= QT4=inputmethods,qmake_build,moc_build,corelib,gui +QT_IM_MODULE_LIB_DEPENDS= libmng.so:${PORTSDIR}/graphics/libmng +QT_IM_MODULE_CONFIGURE_OFF= --use_qt4=N -.if ${PORT_OPTIONS:MQT_IM_MODULE} -USE_QT4= inputmethods qmake_build moc_build corelib gui -LIB_DEPENDS+= libmng.so:${PORTSDIR}/graphics/libmng -PLIST_SUB+= QT_IM_MODULE="" -.else -CONFIGURE_ARGS+= --use_qt4=N -PLIST_SUB+= QT_IM_MODULE="@comment " -.endif +ANTHY_BUILD_DEPENDS= ${LOCALBASE}/include/anthy/anthy.h:${PORTSDIR}/japanese/anthy +ANTHY_LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy +ANTHY_CONFIGURE_OFF= --use_anthy=N -.if ${PORT_OPTIONS:MANTHY} -BUILD_DEPENDS+= ${LOCALBASE}/include/anthy/anthy.h:${PORTSDIR}/japanese/anthy -LIB_DEPENDS+= libanthy.so:${PORTSDIR}/japanese/anthy -PLIST_SUB+= ANTHY_MODULE="" -.else -CONFIGURE_ARGS+= --use_anthy=N -PLIST_SUB+= ANTHY_MODULE="@comment " -.endif - post-patch: @${REINPLACE_CMD} -e 's,&,,; 1 s,##!/bin/bash,#!/bin/sh,; \ s,QT_IM_DIR=/usr,QT_IM_DIR=$$prefix,g; \ s,QT4_IM_DIR=/usr,QT4_IM_DIR=$$prefix,g; \ s,-ldl,,; \ s,mandir=$$datadir,mandir=$$prefix,; \ s,/usr/share,$$prefix/share,; \ s,/usr/bin/moc,${LOCALBASE}/bin/moc-qt4,; \ 1, 300 s,gcc,$$CC,; s,gcin-$$GCIN_VERSION,gcin,; \ /GCIN_DEBUG/ d' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,\/usr\/share,$$(prefix)\/share,; \ s,%%PREFIX%%,${PREFIX},;' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '94 s/gcin/gcin-setup/' ${WRKSRC}/gcin-common.cpp @${REINPLACE_CMD} -e 's,/usr/local,/usr,g' \ ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile @${REINPLACE_CMD} -e 's,modify-XIM ,,; 8,10 d' \ ${WRKSRC}/scripts/Makefile @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; s,/opt/gnome,${LOCALBASE},;' \ ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup \ ${WRKSRC}/scripts/gtab.append_prepare \ ${WRKSRC}/scripts/tsin-gtab-import \ ${WRKSRC}/scripts/tsin-gtab-edit @${REINPLACE_CMD} -e 's,bash,sh,; s/&//; 12,13 s/=/ /; \ s/export/setenv/; s/$$UTF8ED/xdg-open/' \ ${WRKSRC}/scripts/html-browser @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,;' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${WRKSRC}/IMdkit/lib/Makefile ${WRKSRC}/Makefile \ ${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ ${WRKSRC}/scripts/utf8-edit @${REINPLACE_CMD} -e '/make/ d' ${WRKSRC}/IMdkit/lib/Makefile @${REINPLACE_CMD} -e 's,/usr/X11R6/lib,${LOCALBASE}/lib,' ${WRKSRC}/im-client/Makefile -.if empty(PORT_OPTIONS:MDOCS) +post-patch-DOCS-off: @${REINPLACE_CMD} '/install.*DOC_DIR/d' ${WRKSRC}/Makefile -.endif post-build: .if !defined(DEBUG_FLAGS) @${FIND} ${WRKSRC} -name "*.so*" | ${XARGS} ${STRIP_CMD} .endif post-install: .if !defined(DEBUG_FLAGS) .for f in gcin* gtab-merge juyin-learn phoa2* sim2trad trad2sim ts-edit tsa2d32 tsd2a32 tsin2gtab-phrase tslearn @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor .endif .include Index: head/chinese/gcin/pkg-plist =================================================================== --- head/chinese/gcin/pkg-plist (revision 394777) +++ head/chinese/gcin/pkg-plist (revision 394778) @@ -1,173 +1,173 @@ bin/gcin bin/gcin-exit bin/gcin-gb-toggle bin/gcin-kbm-toggle bin/gcin-message bin/gcin-tools bin/gcin2tab bin/gtab-merge bin/juyin-learn bin/phoa2d bin/phod2a bin/sim2trad bin/trad2sim bin/ts-contribute bin/ts-contribute-en bin/ts-edit bin/ts-edit-en bin/tsa2d32 bin/tsd2a32 bin/tsin2gtab-phrase bin/tslearn bin/txt2gtab-phrase %%QT_IM_MODULE%%lib/qt4/plugins/inputmethods/im-gcin.so -%%ANTHY_MODULE%%lib/gcin/anthy-module.so +%%ANTHY%%lib/gcin/anthy-module.so lib/gcin/gcin1.so lib/gcin/gcin2.so lib/gcin/intcode-module.so lib/gcin/libgcin-im-client.so lib/gcin/libgcin-im-client.so.1 lib/gcin/libgcin-im-client.so.1.2.5 lib/gtk-2.0/immodules/im-gcin.so man/man1/gcin-exit.1.gz man/man1/gcin-gb-toggle.1.gz man/man1/gcin-kbm-toggle.1.gz man/man1/gcin-message.1.gz man/man1/gcin-tools.1.gz man/man1/gcin.1.gz man/man1/gcin2tab.1.gz man/man1/gtab-merge.1.gz man/man1/juyin-learn.1.gz man/man1/phoa2d.1.gz man/man1/sim2trad.1.gz man/man1/ts-contribute.1.gz man/man1/ts-edit.1.gz man/man1/tsa2d32.1.gz man/man1/tslearn.1.gz share/applications/gcin-tools.desktop %%PORTDOCS%%%%DOCSDIR%%/Changelog.html %%PORTDOCS%%%%DOCSDIR%%/README.html %%DATADIR%%/script/gcin-user-setup %%DATADIR%%/script/gtab.append_prepare %%DATADIR%%/script/html-browser %%DATADIR%%/script/tsin-gtab-edit %%DATADIR%%/script/tsin-gtab-import %%DATADIR%%/script/utf8-edit %%DATADIR%%/table/NewCJ3.gtab %%DATADIR%%/table/ar30-big.gtab %%DATADIR%%/table/ar30.gtab %%DATADIR%%/table/ar33.gtab %%DATADIR%%/table/array-symbols.gtab %%DATADIR%%/table/array10a.gtab %%DATADIR%%/table/cj-punc.gtab %%DATADIR%%/table/cj.gtab %%DATADIR%%/table/cj5.gtab %%DATADIR%%/table/cj543.gtab %%DATADIR%%/table/colemak.kbm %%DATADIR%%/table/dayi3.gtab %%DATADIR%%/table/dvorak.kbm %%DATADIR%%/table/en-american %%DATADIR%%/table/en-american.idx %%DATADIR%%/table/et.kbm %%DATADIR%%/table/et26.kbm %%DATADIR%%/table/german.gtab %%DATADIR%%/table/greek.gtab %%DATADIR%%/table/gtab.list %%DATADIR%%/table/hangul-phrase.txt %%DATADIR%%/table/hangul.gtab %%DATADIR%%/table/hsu.kbm %%DATADIR%%/table/ibm.kbm %%DATADIR%%/table/jyutping.gtab %%DATADIR%%/table/latin-letters.gtab %%DATADIR%%/table/mitac.kbm %%DATADIR%%/table/pho-char.gtab %%DATADIR%%/table/pho-huge.tab2 %%DATADIR%%/table/pho.tab2 %%DATADIR%%/table/phrase-ctrl.table %%DATADIR%%/table/phrase.table %%DATADIR%%/table/pin-juyin.xlt %%DATADIR%%/table/pinyin-no-tone.kbm %%DATADIR%%/table/pinyin.gtab %%DATADIR%%/table/pinyin.kbm %%DATADIR%%/table/russian.gtab %%DATADIR%%/table/s-pho-huge.tab2 %%DATADIR%%/table/s-pho.tab2 %%DATADIR%%/table/s-tsin32 %%DATADIR%%/table/s-tsin32.idx %%DATADIR%%/table/s2t.dat %%DATADIR%%/table/simplex-punc.gtab %%DATADIR%%/table/simplex.gtab %%DATADIR%%/table/symbol-table %%DATADIR%%/table/symbols.gtab %%DATADIR%%/table/t2s.dat %%DATADIR%%/table/tsin-1.src %%DATADIR%%/table/tsin32 %%DATADIR%%/table/tsin32.idx %%DATADIR%%/table/vims.gtab %%DATADIR%%/table/zo.kbm share/icons/gcin/4corner.png share/icons/gcin/NewCJ3.png share/icons/gcin/amis-gcin.png share/icons/gcin/ar30-big.png share/icons/gcin/ar30.png share/icons/gcin/ar33.png share/icons/gcin/array-symbols.png share/icons/gcin/chewing.png share/icons/gcin/cj-punc.png share/icons/gcin/cj.png share/icons/gcin/cj5.png share/icons/gcin/cj543.png share/icons/gcin/dayi3.png share/icons/gcin/en-gcin-A.png share/icons/gcin/en-gcin.png share/icons/gcin/en-gtab-A.png share/icons/gcin/en-gtab.png share/icons/gcin/en-kana-nippon.png share/icons/gcin/en-tsin-A.png share/icons/gcin/en-tsin.png share/icons/gcin/erbi.png share/icons/gcin/ez.png share/icons/gcin/fcitx-qxm.png share/icons/gcin/fcitx-wanfeng.png share/icons/gcin/full-simp.png share/icons/gcin/full-trad.png share/icons/gcin/gcb.png share/icons/gcin/gcin-tray.png share/icons/gcin/gdayi3.png share/icons/gcin/german.png share/icons/gcin/greek.png share/icons/gcin/hakka.png share/icons/gcin/half-simp.png share/icons/gcin/half-trad.png share/icons/gcin/halfwidth-kana.png share/icons/gcin/hangul.png share/icons/gcin/intcode.png share/icons/gcin/jtcj_gb.png share/icons/gcin/juyin.png share/icons/gcin/jyutping.png share/icons/gcin/kana-nippon.png share/icons/gcin/latin-letters.png share/icons/gcin/newcj.png share/icons/gcin/noseeing.png share/icons/gcin/paiwan-gcin.png share/icons/gcin/pho-char.png share/icons/gcin/pinyin.png share/icons/gcin/russian.png share/icons/gcin/sakura.png share/icons/gcin/scj.png share/icons/gcin/shuangpin.png share/icons/gcin/simplex-punc.png share/icons/gcin/simplex.png share/icons/gcin/symbol_table.png share/icons/gcin/symbols.png share/icons/gcin/taiwan.png share/icons/gcin/telecode.png share/icons/gcin/tsin.png share/icons/gcin/tsou-gcin.png share/icons/gcin/vietnam.png share/icons/gcin/vocabulary.png share/icons/gcin/wm2.png share/icons/gcin/wubi.png share/icons/hicolor/64x64/apps/gcin.png @exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache @unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache Index: head/chinese/ibus-libpinyin/Makefile =================================================================== --- head/chinese/ibus-libpinyin/Makefile (revision 394777) +++ head/chinese/ibus-libpinyin/Makefile (revision 394778) @@ -1,71 +1,48 @@ # Created by: Henry Hu # $FreeBSD$ PORTNAME= ibus-libpinyin PORTVERSION= 1.7.1 CATEGORIES= chinese MASTER_SITES= SF/libpinyin/${PORTNAME} MAINTAINER= henry.hu.sh@gmail.com COMMENT= Intelligent Pinyin engine based on libpinyin for IBus LICENSE= GPLv2 LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libibus-1.0.so:${PORTSDIR}/textproc/ibus \ libpinyin.so:${PORTSDIR}/chinese/libpinyin USES= compiler:c++11-lib gmake python pkgconfig gettext USE_GNOME= glib20 WRKSRC= ${WRKDIR}/${DISTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost \ --disable-lua-extension OPTIONS_DEFINE= ENGLISH STROKE OPENCC NLS OPTIONS_DEFAULT= ENGLISH STROKE NLS +OPTIONS_SUB= yes ENGLISH_DESC= Enable English input mode STROKE_DESC= Enable stroke input mode OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion -.include +ENGLISH_CONFIGURE_ENABLE= english-input-mode +STROKE_CONFIGURE_ENABLE= stroke-input-mode -.if ${PORT_OPTIONS:MENGLISH} -CONFIGURE_ARGS+= --enable-english-input-mode -PLIST_SUB+= ENGLISH="" -.else -CONFIGURE_ARGS+= --disable-english-input-mode -PLIST_SUB+= ENGLISH="@comment " -.endif +OPENCC_BROKEN= Requires newer OpenCC +OPENCC_CONFIGURE_ENABLE= opencc +OPENCC_LIB_DEPENDS= libopencc.so:${PORTSDIR}/chinese/opencc -.if ${PORT_OPTIONS:MSTROKE} -CONFIGURE_ARGS+= --enable-stroke-input-mode -PLIST_SUB+= STROKE="" -.else -CONFIGURE_ARGS+= --disable-stroke-input-mode -PLIST_SUB+= STROKE="@comment " -.endif +NLS_USES= gettext +NLS_USE= GNOME=intltool +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:MOPENCC} -BROKEN= Requires newer OpenCC -CONFIGURE_ARGS+= --enable-opencc -LIB_DEPENDS+= libopencc.so:${PORTSDIR}/chinese/opencc -.else -CONFIGURE_ARGS+= --disable-opencc -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -USE_GNOME+= intltool -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - post-configure: @${REINPLACE_CMD} -e 's|DATADIRNAME = lib|DATADIRNAME = share|' ${WRKSRC}/po/Makefile -.include +.include Index: head/chinese/ibus-pinyin/Makefile =================================================================== --- head/chinese/ibus-pinyin/Makefile (revision 394777) +++ head/chinese/ibus-pinyin/Makefile (revision 394778) @@ -1,44 +1,38 @@ # Created by: Henry Hu # $FreeBSD$ PORTNAME= ibus-pinyin PORTVERSION= 1.5.0 PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= GOOGLE_CODE MAINTAINER= henry.hu.sh@gmail.com COMMENT= PinYin engine for IBus LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \ ${LOCALBASE}/share/gir-1.0/IBus-1.0.gir:${PORTSDIR}/textproc/ibus LIB_DEPENDS= libpyzy-1.0.so:${PORTSDIR}/chinese/pyzy \ libibus-1.0.so:${PORTSDIR}/textproc/ibus \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 USES= compiler:c++11-lib gmake pkgconfig python GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-lua-extension PROJECTHOST= ibus OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -USE_GNOME+= intltool -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_USE= GNOME=intltool +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|' ${WRKSRC}/configure .include Index: head/chinese/libtabe/Makefile =================================================================== --- head/chinese/libtabe/Makefile (revision 394777) +++ head/chinese/libtabe/Makefile (revision 394778) @@ -1,72 +1,70 @@ # Created by: Jing-Tang Keith Jang # $FreeBSD$ PORTNAME= libtabe PORTVERSION= 0.2.6 PORTREVISION= 8 CATEGORIES= chinese MASTER_SITES= DEBIAN/pool/main/libt/libtabe/ DISTNAME= libtabe_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Unified library for Chinese text processing LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_BDB= yes OBSOLETE_BDB_VAR= USE_DB2 DATADIR= ${PREFIX}/share/tabe DOCSDIR= ${PREFIX}/share/doc/tabe CONFIGURE_ARGS= --includedir=${PREFIX}/include/tabe \ --with-db-name=${BDB_LIB_NAME} \ --with-db-inc=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} \ --with-db-bin=${LOCALBASE}/bin WRKSRC= ${WRKDIR}/${DISTNAME:S|_|-|} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= X11 X11_USE= XORG=x11 X11_CONFIGURE_WITH= x .include pre-everything:: .if defined(WITH_BDB_VER) pre-everything:: @${ECHO_CMD} "" @${ECHO_CMD} "WARNING:" @${ECHO_CMD} " You have defined WITH_BDB_VER. Make sure you use the same" @${ECHO_CMD} " db version for all ports that use libtabe, such as xcin." @${ECHO_CMD} " Otherwise, ports that use libtabe may not work correctly." @${ECHO_CMD} "" .endif -post-patch: -.if !${PORT_OPTIONS:MX11} +post-patch-X11-off: ${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' \ ${WRKSRC}/src/Makefile.in -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtabe.so -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tsi-src/README \ ${STAGEDIR}${DOCSDIR}/README.tsi .if ${PORT_OPTIONS:MX11} ${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README \ ${STAGEDIR}${DOCSDIR}/README.bims .endif .for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \ et26.txt libtabe.sgml ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/chinese/muni/Makefile =================================================================== --- head/chinese/muni/Makefile (revision 394777) +++ head/chinese/muni/Makefile (revision 394778) @@ -1,26 +1,23 @@ # Created by: G. Adam Stanislav # $FreeBSD$ PORTNAME= muni PORTVERSION= 1.0 CATEGORIES= chinese MASTER_SITES= http://www.whizkidtech.redprince.net/i18n/muni/ MAINTAINER= ports@FreeBSD.org COMMENT= Find Unicode values for Chinese characters OPTIONS_DEFINE= DOCS -.include - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/muni ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/m7773 ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/muni ${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${PREFIX}/share/doc/muni ${INSTALL_DATA} ${WRKSRC}/yung.gif ${STAGEDIR}${PREFIX}/share/doc/muni ${INSTALL_DATA} ${WRKSRC}/kang.gif ${STAGEDIR}${PREFIX}/share/doc/muni -.endif .include Index: head/chinese/oxim/Makefile =================================================================== --- head/chinese/oxim/Makefile (revision 394777) +++ head/chinese/oxim/Makefile (revision 394778) @@ -1,85 +1,64 @@ # Created by: Rong-En Fan # $FreeBSD$ PORTNAME= oxim PORTVERSION= 1.2.2 PORTREVISION= 6 CATEGORIES= chinese textproc MASTER_SITES= ftp://ftp.opendesktop.org.tw/odp/OXIM/Source/ \ ftp://140.111.128.66/odp/OXIM/Source/ MAINTAINER= ports@FreeBSD.org COMMENT= Open X Input Method server LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf OPTIONS_DEFINE= GTK2 CHEWING UNICODE OPTIONS_DEFAULT= GTK2 CHEWING UNICODE +OPTIONS_SUB= yes GTK2_DESC= GTK2 input method module CHEWING_DESC= Chewing input module UNICODE_DESC= Unicode input module BROKEN= Unfetchable USES= iconv libtool pkgconfig USE_XORG= x11 xft xpm xtst xext WANT_GNOME= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lfontconfig -lXext CONFIGURE_ARGS+=--disable-bimsphone-module \ --disable-static \ --with-conf-dir=${PREFIX}/etc/${PORTNAME} \ --enable-setup-tool=no # oxim requires qinputcontextplugin.h which only exists in Debian package CONFIGURE_ARGS+=--disable-qt-immodule -.include +GTK2_USE= GNOME=gtk20 +GTK2_CONFIGURE_ENABLE= gtk-immodule -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME+= gtk20 -CONFIGURE_ARGS+= --enable-gtk-immodule -PLIST_SUB+= GTK2="" -.else -CONFIGURE_ARGS+= --disable-gtk-immodule -PLIST_SUB+= GTK2="@comment " -.endif - -.if ${PORT_OPTIONS:MCHEWING} # make sure we have the required libchewing -BUILD_DEPENDS+= zh-libchewing>=0.3.2:${PORTSDIR}/chinese/libchewing -RUN_DEPENDS+= zh-libchewing>=0.3.2:${PORTSDIR}/chinese/libchewing +CHEWING_BUILD_DEPENDS= zh-libchewing>=0.3.2:${PORTSDIR}/chinese/libchewing +CHEWING_RUN_DEPENDS= ${CHEWING_BUILD_DEPENDS} +CHEWING_CONFIGURE_ENABLE= chewing-module +CHEWING_CONFIGURE_ENV= CHEWING_CFLAGS=-I${LOCALBASE}/include -CONFIGURE_ARGS+= --enable-chewing-module -CONFIGURE_ENV+= CHEWING_CFLAGS=-I${LOCALBASE}/include -PLIST_SUB+= CHEWING="" -.else -CONFIGURE_ARGS+= --disable-chewing-module -PLIST_SUB+= CHEWING="@comment " -.endif +UNICODE_CONFIGURE_ENABLE= unicode-module -.if ${PORT_OPTIONS:MUNICODE} -CONFIGURE_ARGS+= --enable-unicode-module -PLIST_SUB+= UNICODE="" -.else -CONFIGURE_ARGS+= --disable-unicode-module -PLIST_SUB+= UNICODE="@comment " -.endif - # TODO WITHOUT_NLS knob #.if ${PORT_OPTIONS:MNLS} USES+= gettext LDFLAGS+= -lintl -PLIST_SUB+= NLS="" #.else #CONFIGURE_ARGS+=--disable-nls #PLIST_SUB+= NLS="@comment " #.endif post-patch: ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/src/gtk-immodule/gtkintl.h .include Index: head/chinese/pcmanx/Makefile =================================================================== --- head/chinese/pcmanx/Makefile (revision 394777) +++ head/chinese/pcmanx/Makefile (revision 394778) @@ -1,86 +1,54 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= pcmanx PORTVERSION= 1.2 CATEGORIES= chinese net gnome MASTER_SITES= http://pcmanx-gtk2.googlecode.com/files/ DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= BBS client using GTK+ 2.x LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING USE_GNOME= gtk20 intlhack USES= gmake iconv pkgconfig tar:xz GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS DEBUG DOCKLET NOTIFIER LIBNOTIFY NANCY MOUSE EXTERNAL IPLOOKUP PROXY OPTIONS_DEFAULT= DOCKLET NOTIFIER NANCY MOUSE EXTERNAL +OPTIONS_SUB= yes DOCKLET_DESC= Docklet / system tray support NOTIFIER_DESC= Popup notifier support LIBNOTIFY_DESC= Popup notifier support by libnotify NANCY_DESC= Nancy bot support MOUSE_DESC= Mouse click and wheel support EXTERNAL_DESC= External SSH/Telnet support IPLOOKUP_DESC= IP location lookup support PROXY_DESC= Proxy support -.include +NLS_USES= gettext +NLS_USES_OFF= gettext-tools +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE=nls -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -USES+= gettext -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+=--enable-debug -.endif - -.if empty(PORT_OPTIONS:MDOCKLET) -CONFIGURE_ARGS+=--disable-docklet -.endif - -.if empty(PORT_OPTIONS:MNOTIFIER) -CONFIGURE_ARGS+=--disable-notifier -.endif - -.if ${PORT_OPTIONS:MLIBNOTIFY} -CONFIGURE_ARGS+=--enable-libnotify -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -.endif - -.if empty(PORT_OPTIONS:MNANCY) -CONFIGURE_ARGS+=--disable-nancy -.endif - -.if empty(PORT_OPTIONS:MMOUSE) -CONFIGURE_ARGS+=--disable-mouse -.endif - -.if empty(PORT_OPTIONS:MEXTERNAL) -CONFIGURE_ARGS+=--disable-external -.endif - -.if ${PORT_OPTIONS:MIPLOOKUP} -CONFIGURE_ARGS+=--enable-iplookup -.endif - -.if ${PORT_OPTIONS:MPROXY} -CONFIGURE_ARGS+=--enable-proxy -.endif +DEBUG_CONFIGURE_ENABLE= debug +DOCKLET_CONFIGURE_ENABLE= docklet +NOTIFIER_CONFIGURE_ENABLE= notifier +LIBNOTIFY_CONFIGURE_ENABLE= libnotify +LIBNOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +NANCY_CONFIGURE_ENABLE= nancy +MOUSE_CONFIGURE_ENABLE= mouse +EXTERNAL_CONFIGURE_ENABLE= external +IPLOOKUP_CONFIGURE_ENABLE= iplookup +PROXY_CONFIGURE_ENABLE= proxy post-install: @# create directory for user friendly ${MKDIR} ${STAGEDIR}${DATADIR}/script/ .include Index: head/chinese/pyzy/Makefile =================================================================== --- head/chinese/pyzy/Makefile (revision 394777) +++ head/chinese/pyzy/Makefile (revision 394778) @@ -1,75 +1,54 @@ # Created by: Henry Hu # $FreeBSD$ PORTNAME= pyzy PORTVERSION= 0.1.0 PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= GOOGLE_CODE DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= henry.hu.sh@gmail.com COMMENT= The Chinese PinYin and Bopomofo conversion library LICENSE= LGPL21 BUILD_DEPENDS= python:${PORTSDIR}/lang/python LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 USES= pkgconfig gmake libtool compiler:c++11-lib USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost OPTIONS_DEFINE= ANDROID_DB OPENPHRASE_DB OPENCC OPTIONS_DEFAULT= ANDROID_DB +OPTIONS_SUB= yes ANDROID_DB_DESC= Build Android DB OPENPHRASE_DB_DESC= Build Open Phrase DB OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion -.include +ANDROID_DB_CONFIGURE_ENABLE= db-android -.include - -.if ${PORT_OPTIONS:MANDROID_DB} -CONFIGURE_ARGS+= --enable-db-android -PLIST_SUB+= ANDROID_DB="" -.else -CONFIGURE_ARGS+= --disable-db-android -PLIST_SUB+= ANDROID_DB="@comment " -.endif - OPENPHRASE_DBVER= 1.0.0 OPENPHRASE_DBFILE= pyzy-database-${OPENPHRASE_DBVER}.tar.bz2 -.if ${PORT_OPTIONS:MOPENPHRASE_DB} -CONFIGURE_ARGS+= --enable-db-open-phrase -DISTFILES+= ${OPENPHRASE_DBFILE} -PLIST_SUB+= OPENPHRASE_DB="" -.else -CONFIGURE_ARGS+= --disable-db-open-phrase -PLIST_SUB+= OPENPHRASE_DB="@comment " -.endif +OPENPHRASE_DB_CONFIGURE_ENABLE= db-open-phrase +OPENPHRASE_DB_DISTFILES= ${OPENPHRASE_DBFILE} -.if ${PORT_OPTIONS:MOPENCC} -CONFIGURE_ARGS+= --enable-opencc -LIB_DEPENDS+= libopencc.so:${PORTSDIR}/chinese/opencc -.else -CONFIGURE_ARGS+= --disable-opencc -.endif +OPENCC_CONFIGURE_ENABLE= opencc +OPENCC_LIB_DEPENDS= libopencc.so:${PORTSDIR}/chinese/opencc -post-extract: -.if ${PORT_OPTIONS:MOPENPHRASE_DB} +post-extract-OPENPHRASE_DB-on: @${CP} ${DISTDIR}/${OPENPHRASE_DBFILE} ${WRKSRC}/data/db/open-phrase -.endif post-patch: @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so -.include +.include Index: head/chinese/qterm/Makefile =================================================================== --- head/chinese/qterm/Makefile (revision 394777) +++ head/chinese/qterm/Makefile (revision 394778) @@ -1,71 +1,54 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= qterm PORTVERSION= 0.5.12 PORTREVISION= 2 CATEGORIES= chinese MASTER_SITES= SF/qterm/qterm/${PORTVERSION} MAINTAINER= kaiwang27@gmail.com COMMENT= BBS client for BSD/Linux USES= tar:bzip2 cmake perl5 USE_PERL5= build USE_QT4= codecs-cn_run codecs-tw_run gui help-tools_build \ linguist_build moc_build network qt3support_build \ qmake_build rcc_build uic_build xml USE_XORG= x11 ice INSTALLS_ICONS= yes CONFLICTS_INSTALL= torque-[0-9]* OPTIONS_DEFINE= DBUS OPENSSL PHONON QTSCRIPT KDE OPTIONS_DEFAULT= DBUS OPENSSL PHONON QTSCRIPT PHONON_DESC= Multimedia support via Phonon QTSCRIPT_DESC= Scripting support via QtScript Bindings KDE_DESC= Password management via KWallet -.include +OPENSSL_USE= OPENSSL=yes +OPENSSL_CMAKE_ON= -DQTERM_ENABLE_SSH:BOOL=TRUE +OPENSSL_CMAKE_OFF= -DQTERM_ENABLE_SSH:BOOL=FALSE -.if ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL= yes -CMAKE_ARGS+= -DQTERM_ENABLE_SSH:BOOL=TRUE -.else -CMAKE_ARGS+= -DQTERM_ENABLE_SSH:BOOL=FALSE -.endif +DBUS_USE= QT4=dbus +DBUS_CMAKE_ON= -DQTERM_ENABLE_DBUS:BOOL=TRUE +DBUS_CMAKE_OFF= -DQTERM_ENABLE_DBUS:BOOL=FALSE -.if ${PORT_OPTIONS:MDBUS} -USE_QT4+= dbus -CMAKE_ARGS+= -DQTERM_ENABLE_DBUS:BOOL=TRUE -.else -CMAKE_ARGS+= -DQTERM_ENABLE_DBUS:BOOL=FALSE -.endif +PHONON_USE= QT4=phonon +PHONON_CMAKE_ON= -DQTERM_ENABLE_PHONON:BOOL=TRUE +PHONON_CMAKE_OFF= -DQTERM_ENABLE_PHONON:BOOL=FALSE -.if ${PORT_OPTIONS:MPHONON} -USE_QT4+= phonon -CMAKE_ARGS+= -DQTERM_ENABLE_PHONON:BOOL=TRUE -.else -CMAKE_ARGS+= -DQTERM_ENABLE_PHONON:BOOL=FALSE -.endif +QTSCRIPT_USE= QT4=script +QTSCRIPT_RUN_DEPENDS= ${QT_PLUGINDIR}/script/libqtscript_core.so:${PORTSDIR}/devel/qtscriptgenerator +QTSCRIPT_CMAKE_ON= -DQTERM_ENABLE_SCRIPT:BOOL=TRUE +QTSCRIPT_CMAKE_OFF= -DQTERM_ENABLE_SCRIPT:BOOL=FALSE -.if ${PORT_OPTIONS:MQTSCRIPT} -USE_QT4+= script -RUN_DEPENDS+= ${QT_PLUGINDIR}/script/libqtscript_core.so:${PORTSDIR}/devel/qtscriptgenerator -CMAKE_ARGS+= -DQTERM_ENABLE_SCRIPT:BOOL=TRUE -.else -CMAKE_ARGS+= -DQTERM_ENABLE_SCRIPT:BOOL=FALSE -.endif +KDE_USE= KDE4=kdelibs,automoc4 -.if ${PORT_OPTIONS:MKDE} -USE_KDE4= kdelibs automoc4 -.endif - -post-patch: -.if !${PORT_OPTIONS:MKDE} +post-patch-KDE-off: ${REINPLACE_CMD} -e "/^find_package(KDE4)/d" ${WRKSRC}/CMakeLists.txt -.endif +post-patch: ${REINPLACE_CMD} -e "/^set(QT_MIN_VERSION/d" ${WRKSRC}/CMakeLists.txt .include Index: head/comms/anyremote/Makefile =================================================================== --- head/comms/anyremote/Makefile (revision 394777) +++ head/comms/anyremote/Makefile (revision 394778) @@ -1,49 +1,40 @@ # Created by: Alex Samorukov # $FreeBSD$ PORTNAME= anyremote PORTVERSION= 6.3.2 PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= SF MAINTAINER= samm@os2.kiev.ua COMMENT= Remote control service over Bluetooth, infrared, or TCP/IP networking LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= alias iconv pkgconfig shebangfix SHEBANG_FILES= cfg-data/Utils/imdb-mf.sh USE_GNOME= glib20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} OPTIONS_DEFINE= DOCS DBUS X11 OPTIONS_DEFAULT= DBUS X11 -.include +DBUS_CONFIGURE_ENABLE=dbus +DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib -.if ! ${PORT_OPTIONS:MDBUS} -CONFIGURE_ARGS+=--disable-dbus -.else -LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib -.endif +X11_CONFIGURE_ENABLE=xtest +X11_USE= XORG=x11,xtst -.if ! ${PORT_OPTIONS:MX11} -CONFIGURE_ARGS+=--disable-xtest -.else -USE_XORG= x11 xtst -.endif - MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib" post-patch: @${REINPLACE_CMD} -e 's|(datadir)/man/man1|(mandir)/man1|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|xtext|xtest|g' ${WRKSRC}/configure -.if ${PORT_OPTIONS:MDOCS} +post-patch-DOCS-on: @${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in -.endif .include Index: head/comms/conserver-com/Makefile =================================================================== --- head/comms/conserver-com/Makefile (revision 394777) +++ head/comms/conserver-com/Makefile (revision 394778) @@ -1,48 +1,39 @@ # $FreeBSD$ PORTNAME= conserver PORTVERSION= 8.2.1 CATEGORIES= comms MASTER_SITES= http://www.conserver.com/ \ ftp://ftp.conserver.com/conserver/ PKGNAMESUFFIX= -com MAINTAINER= kuriyama@FreeBSD.org COMMENT= Application that allows multiple users to watch serial consoles CONFLICTS_INSTALL= conserver-[0-9]* GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \ --with-pam --with-libwrap --with-openssl USE_OPENSSL= yes USE_RC_SUBR= conserver OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM UDS_DESC= Use Unix domain sockets for client/server STRIPREALM_DESC=Strip @REALM when using GSSAPI GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI +STRIPREALM_IMPLIES= GSSAPI +GSSAPIONLY_IMPLIES= GSSAPI -.include - DEFAULTPORT?= 782 DEFAULTHOST?= localhost -.if ${PORT_OPTIONS:MUDS} -CONFIGURE_ARGS+= --with-uds -.endif - -.if ${PORT_OPTIONS:MGSSAPI} -CONFIGURE_ARGS+= --with-gssapi -.if ${PORT_OPTIONS:MSTRIPREALM} -CONFIGURE_ARGS+= --with-striprealm -.endif -.if ${PORT_OPTIONS:MGSSAPIONLY} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c -.endif -.endif +UDS_CONFIGURE_WITH= uds +GSSAPI_CONFIGURE_WITH= gssapi +STRIPREALM_CONFIGURE_WITH= striprealm +GSSAPIONLY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/conserver-convert .include Index: head/comms/dabstick-radio/Makefile =================================================================== --- head/comms/dabstick-radio/Makefile (revision 394777) +++ head/comms/dabstick-radio/Makefile (revision 394778) @@ -1,72 +1,71 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= dabstick-radio PORTVERSION= 0.96 PORTREVISION= 6 CATEGORIES= comms audio hamradio MASTER_SITES= http://www.sdr-j.tk/ \ LOCAL/nox/ MAINTAINER= nox@FreeBSD.org COMMENT= DAB/DAB+ and wideband FM receiver for RTL2832-based USB sticks LICENSE= GPLv2 LIB_DEPENDS+= librtlsdr.so:${PORTSDIR}/comms/rtl-sdr \ libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \ libportaudio.so:${PORTSDIR}/audio/portaudio \ libsndfile.so:${PORTSDIR}/audio/libsndfile \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfaad.so:${PORTSDIR}/audio/faad USES= tar:tgz USE_QT4= gui qt3support qmake_build moc_build rcc_build uic_build PORTDOCS= * PLIST_FILES+= bin/dabreceiver bin/fmreceiver bin/spectrum-viewer ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= uses MMX and SSE2 OPTIONS_DEFINE= DOCS .include .if (${OSVERSION} >= 901000) && exists(${DESTDIR}/usr/bin/clang) CC= clang CXX= clang++ CPP= clang-cpp .else USE_GCC= yes .endif do-configure: cd ${WRKSRC}/fmreceiver-dab && ${SETENV} ${QMAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} cd ${WRKSRC}/dabreceiver-V2 && ${SETENV} ${QMAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} cd ${WRKSRC}/spectrum-viewer && ${SETENV} ${QMAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} do-build: cd ${WRKSRC}/fmreceiver-dab && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} cd ${WRKSRC}/dabreceiver-V2 && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} cd ${WRKSRC}/spectrum-viewer && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} do-install: ${INSTALL} ${WRKSRC}/fmreceiver-dab/fmreceiver \ ${WRKSRC}/dabreceiver-V2/dabreceiver \ ${WRKSRC}/spectrum-viewer/spectrum-viewer \ ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/dabreceiver-V2 ${STAGEDIR}${DOCSDIR}/fmreceiver-dab ${INSTALL_DATA} ${WRKSRC}/dabreceiver-V2/README ${STAGEDIR}${DOCSDIR}/dabreceiver-V2 ${INSTALL_DATA} ${WRKSRC}/fmreceiver-dab/README ${STAGEDIR}${DOCSDIR}/fmreceiver-dab -.endif .include Index: head/comms/esmska/Makefile =================================================================== --- head/comms/esmska/Makefile (revision 394777) +++ head/comms/esmska/Makefile (revision 394778) @@ -1,43 +1,39 @@ # Created by: Martin Otto # $FreeBSD$ PORTNAME= esmska PORTVERSION= 0.21 CATEGORIES= comms java MASTER_SITES= GOOGLE_CODE MAINTAINER= gamato@users.sf.net COMMENT= Program for sending SMS over the Internet USE_JAVA= yes JAVA_VERSION= 1.6+ DATADIR= ${JAVASHAREDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= esmska PORTDOCS= readme.txt OPTIONS_DEFINE= DOCS -.include - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/esmska.jar ${STAGEDIR}${DATADIR}/ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} gateways ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/ && ${COPYTREE_SHARE} icons ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/ && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/ && ${COPYTREE_SHARE} license ${STAGEDIR}${DATADIR}/) ${INSTALL_SCRIPT} ${WRKDIR}/esmska ${STAGEDIR}${PREFIX}/bin/ -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif .include Index: head/comms/fl_moxgen/Makefile =================================================================== --- head/comms/fl_moxgen/Makefile (revision 394777) +++ head/comms/fl_moxgen/Makefile (revision 394778) @@ -1,41 +1,36 @@ # Created by: Stephen Hurd # $FreeBSD$ PORTNAME= fl_moxgen PORTVERSION= 1.00 PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/flmoxgen DISTNAME= Fl_MoxGen-${PORTVERSION} MAINTAINER= shurd@FreeBSD.org COMMENT= Compute the dimensions of a Moxon Rectangle antenna LICENSE= GPLv3 LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \ "Network;HamRadio;" false OPTIONS_DEFINE= PDF OPTIONS_DEFAULT= PDF PDF_DESC= Enable PDF Writing (requires libharu) -.include - -.if ${PORT_OPTIONS:MPDF} - LIB_DEPENDS+= libhpdf.so:${PORTSDIR}/print/libharu - ALL_TARGET= fl_moxgen -.else - ALL_TARGET= fl_moxgen_no_pdf -.endif +PDF_LIB_DEPENDS= libhpdf.so:${PORTSDIR}/print/libharu +PDF_ALL_TARGET= fl_moxgen +PDF_ALL_TARGET_OFF= fl_moxgen_no_pdf post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%DATADIR%%|${DATADIR}|' \ -e 's|%%STAGEDIR%%|${STAGEDIR}|' \ ${WRKSRC}/Makefile .include Index: head/comms/fldigi/Makefile =================================================================== --- head/comms/fldigi/Makefile (revision 394777) +++ head/comms/fldigi/Makefile (revision 394778) @@ -1,86 +1,80 @@ # $FreeBSD$ PORTNAME= fldigi PORTVERSION= 3.22.13 CATEGORIES= comms hamradio MASTER_SITES= http://www.w1hkj.com/downloads/fldigi/\ LOCAL/shurd MAINTAINER= hamradio@FreeBSD.org COMMENT= Digital decoder for psk, cw, psk31, olivia LICENSE= GPLv3 BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf \ asciidoc:${PORTSDIR}/textproc/asciidoc\ docbook-xsl>=1.0:${PORTSDIR}/textproc/docbook-xsl\ xsltproc:${PORTSDIR}/textproc/libxslt LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate\ libboost_system.so:${PORTSDIR}/devel/boost-libs\ libfltk.so:${PORTSDIR}/x11-toolkits/fltk USE_CXXSTD= gnu++0x GNU_CONFIGURE= yes USES= compiler:c++11-lib gmake perl5 pkgconfig shebangfix CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \ EXTRA_LIBS="-lexecinfo" OPTIONS_DEFINE= NATIVE_OPT FLARQ OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB NLS DOCS NATIVE_OPT_DESC= Enable Native Optimizations FLARQ_DESC= Compile flarq OSS_DESC= Support OSS SNDFILE_DESC= Support for libsndfile PORTAUDIO_DESC= PortAudio support PULSEAUDIO_DESC= PulseAudio support HAMLIB_DESC= Support rig control via hamlib OPTIONS_DEFAULT= FLARQ OSS HAMLIB OPTIONS_SUB= yes NATIVE_OPT_CONFIGURE_ON= --enable-optimizations=native NATIVE_OPT_CONFIGURE_OFF= --enable-optimizations=none FLARQ_CONFIGURE_ENABLE= flarq OSS_CONFIGURE_ENABLE= oss SNDFILE_CONFIGURE_WITH= sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio HAMLIB_CONFIGURE_WITH= hamlib HAMLIB_LIB_DEPENDS= libhamlib.so:${PORTSDIR}/comms/hamlib NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext -.include +BROKEN_sparc64= Fails to install -.if ${ARCH} == "sparc64" -BROKEN= Fails to install -.endif -.if ${PORT_OPTIONS:MFLARQ} -MAN1+= flarq.1 -.endif PLIST_SUB+= XMLRPC="" # Always need asciidoc for man pages CONFIGURE_ARGS+=--with-asciidoc post-patch: @${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|' \ ${WRKSRC}/src/widgets/picture.cxx @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/Makefile.in post-configure: @${REINPLACE_CMD} -e 's|^CPPFLAGS|#CPPFLAGS|' \ ${WRKSRC}/src/Makefile # force rebuild of man pages ${RM} ${WRKSRC}/doc/*.1 post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR} -.include +.include Index: head/comms/gammu/Makefile =================================================================== --- head/comms/gammu/Makefile (revision 394777) +++ head/comms/gammu/Makefile (revision 394778) @@ -1,54 +1,49 @@ # Created by: Kirill Bezzubets # $FreeBSD$ PORTNAME= gammu PORTVERSION= 1.33.0 PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://dl.cihar.com/gammu/releases/ \ http://dl.cihar.com.nyud.net/gammu/releases/ MAINTAINER= bsam@FreeBSD.org COMMENT= GNU All Mobile Management Utilities LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog CONFLICTS= gammu-devel-[1-9]* gammu-python-[1-9]* OPTIONS_DEFINE= BASH CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata USES= cmake gettext pkgconfig python shebangfix SHEBANG_FILES= utils/jadmaker utils/gammu-config bash_CMD= /bin/sh USE_GNOME= glib20 USE_LDCONFIG= yes PORTDOCS= * post-patch: @${REINPLACE_CMD} -i '' -e 's:/etc/bash_completion.d:${PREFIX}/etc/bash_completion.d:' \ ${WRKSRC}/contrib/CMakeLists.txt post-install: (cd ${STAGEDIR}${PREFIX} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) -.include - -.if ${PORT_OPTIONS:MBASH} -BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash -RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash -PLIST_FILES+= etc/bash_completion.d/gammu -.else -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt -.endif +BASH_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash +BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS} +BASH_PLIST_FILES= etc/bash_completion.d/gammu +BASH_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt .include Index: head/comms/ge-x2212/Makefile =================================================================== --- head/comms/ge-x2212/Makefile (revision 394777) +++ head/comms/ge-x2212/Makefile (revision 394778) @@ -1,31 +1,27 @@ # $FreeBSD$ PORTNAME= ge-x2212 PORTVERSION= 0.0.2010.09.15 CATEGORIES= comms hamradio MASTER_SITES= http://members.shaw.ca/swstuff/ \ LOCAL/makc DISTNAME= ${PORTNAME}-2-15sept2010 MAINTAINER= shurd@FreeBSD.org COMMENT= EEPROM programmer for GE Phoenix SX Radios USES= pkgconfig USE_GNOME= libgnomeui GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-2 PLIST_FILES= bin/ge-x2212-2 PORTDOCS= schematic.txt OPTIONS_DEFINE= DOCS -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/schematic.txt ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/comms/gmfsk/Makefile =================================================================== --- head/comms/gmfsk/Makefile (revision 394777) +++ head/comms/gmfsk/Makefile (revision 394778) @@ -1,50 +1,44 @@ # Created by: Carl Makin # $FreeBSD$ PORTNAME= gmfsk PORTVERSION= 0.6 PORTREVISION= 13 CATEGORIES= comms audio hamradio MASTER_SITES= http://gmfsk.connect.fi/ \ http://he.fi/pub/ham/unix/linux/hfmodems/ \ LOCAL/db MAINTAINER= carl@stagecraft.cx COMMENT= The Gnome MFSK terminal program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USES_CSTD= gnu89 USES= gmake pkgconfig pathfix USE_GNOME= libgnomeui gnomeprefix INSTALLS_OMF= yes GCONF_SCHEMAS= gmfsk.schemas CPPFLAGS+= -DFBSD_HAS_LOG2 OPTIONS_DEFINE= HAMLIB HAMLIB_DESC= Enable HAMLIB Support OPTIONS_DEFAULT= HAMLIB -.include +HAMLIB_LIB_DEPENDS= libhamlib.so:${PORTSDIR}/comms/hamlib +HAMLIB_CONFIGURE_ENABLE= hamlib +HAMLIB_CONFIGURE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig -.if ${PORT_OPTIONS:MHAMLIB} -LIB_DEPENDS+= libhamlib.so:${PORTSDIR}/comms/hamlib -CONFIGURE_ARGS+= --enable-hamlib -CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig -.else -CONFIGURE_ARGS+= --disable-hamlib -.endif - post-patch: @${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \ ${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in -.include +.include Index: head/comms/gnuradio/Makefile =================================================================== --- head/comms/gnuradio/Makefile (revision 394777) +++ head/comms/gnuradio/Makefile (revision 394778) @@ -1,113 +1,100 @@ # $FreeBSD$ PORTNAME= gnuradio PORTVERSION= 3.7.7.1 CATEGORIES= comms astro hamradio MASTER_SITES= http://gnuradio.org/releases/gnuradio/ \ LOCAL/db MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio Software defined radio LICENSE= GPLv3 BUILD_DEPENDS= sdl-config:${PORTSDIR}/devel/sdl12 \ swig2.0:${PORTSDIR}/devel/swig20 \ cheetah:${PORTSDIR}/devel/py-cheetah \ ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}qt4>0:${PORTSDIR}/devel/py-qt4 \ xdg-open:${PORTSDIR}/devel/xdg-utils \ guile:${PORTSDIR}/lang/guile \ aconnect:${PORTSDIR}/audio/alsa-utils \ git:${PORTSDIR}/devel/git \ ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/ephem/__init__.py:${PORTSDIR}/astro/pyephem LIB_DEPENDS= libcppunit.so:${PORTSDIR}/devel/cppunit \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \ libboost_python.so:${PORTSDIR}/devel/boost-python-libs \ libportaudio.so:${PORTSDIR}/audio/portaudio \ libjack.so:${PORTSDIR}/audio/jack \ libasound.so:${PORTSDIR}/audio/alsa-lib \ libgsl.so:${PORTSDIR}/math/gsl RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cmake:outsource iconv perl5 python:2.7 shebangfix SHEBANG_FILES= grc/freedesktop/grc_setup_freedesktop.in CONFIGURE_ENV+= LD_PRELOAD="${GCC_LIBS}/libstdc++.so:${GCC_LIBS}/libgcc_s.so.1" CMAKE_ARGS+= -DSWIG_EXECUTABLE:STRING="${LOCALBASE}/bin/swig2.0" CMAKE_ARGS+= -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \ -DICONV_LIB:STRING="X${ICONV_LIB}" \ -DENABLE_GR_CTRLPORT="YES" # for detailed debugging uncomment the next two lines as needed #CMAKE_ARGS+= --debug-output --trace MAJOR_SUB_VER= 3.7.7 DOCSDIR= share/doc/${PORTNAME}-${MAJOR_SUB_VER} USE_GNOME= pygtk2 USE_GCC= yes USE_WX= 3.0+ USE_QT4= gui xml qmake moc rcc uic WX_COMPS= wx wx:build wx:run python:build python:run USE_LDCONFIG= yes PLIST_SUB+= MAJOR_VERSION="3" PLIST_SUB+= MAJOR_SUB_VER="${MAJOR_SUB_VER}" OPTIONS_DEFINE= USRP TESTING # Unfortunately building docs on i386 fails ##OPTIONS_EXCLUDE_${i386}= DOCS # Yay. building docs is broken on 10 and HEAD too so turn them all off OPTIONS_EXCLUDE= DOCS OPTIONS_DEFAULT= USRP USRP_DESC= Include USRP support (UHD) from Ettus TESTING_DESC= Include testing support PLIST_SUB+= PORTVERSION=${PORTVERSION} VP= ${GCC_DEFAULT:S/.//} GCC_LIBS= ${LOCALBASE}/lib/gcc${VP} -.include - -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ - ${LOCALBASE}/bin/sphinx-apidoc:${PORTSDIR}/textproc/py-sphinx \ - dot:${PORTSDIR}/graphics/graphviz \ - xmlto:${PORTSDIR}/textproc/xmlto \ - freefont-ttf>0:${PORTSDIR}/x11-fonts/freefont-ttf -CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="ON" -CMAKE_ARGS+= -DENABLE_DOCS:STRING="ON" -CMAKE_ARGS+= -DENABLE_BAD_BOOST="ON" +DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ + ${LOCALBASE}/bin/sphinx-apidoc:${PORTSDIR}/textproc/py-sphinx \ + dot:${PORTSDIR}/graphics/graphviz \ + xmlto:${PORTSDIR}/textproc/xmlto \ + freefont-ttf>0:${PORTSDIR}/x11-fonts/freefont-ttf +DOCS_CMAKE_ON= -DENABLE_DOXYGEN:STRING="ON" \ + -DENABLE_DOCS:STRING="ON" \ + -DENABLE_BAD_BOOST="ON" +DOCS_CMAKE_OFF= -DENABLE_DOXYGEN:STRING="OFF" \ + -DENABLE_DOCS:STRING="OFF" \ + -DENABLE_BAD_BOOST="ON" HAVE_PORTDOCS= YES -.else -CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="OFF" -CMAKE_ARGS+= -DENABLE_DOCS:STRING="OFF" -CMAKE_ARGS+= -DENABLE_BAD_BOOST="ON" -.endif -.if ${PORT_OPTIONS:MUSRP} -CMAKE_ARGS+= -DENABLE_GR_UHD:STRING="ON" -BUILD_DEPENDS+= ${LOCALBASE}/include/uhd/config.hpp:${PORTSDIR}/comms/usrp -PLIST_SUB+= UHD="" -.else -CMAKE_ARGS+= -DENABLE_GR_UHD:STRING="OFF" -PLIST_SUB+= UHD="@comment " -.endif +USRP_CMAKE_ON= -DENABLE_GR_UHD:STRING="ON" +USRP_CMAKE_OFF= -DENABLE_GR_UHD:STRING="OFF" +USRP_BUILD_DEPENDS= ${LOCALBASE}/include/uhd/config.hpp:${PORTSDIR}/comms/usrp -.if ${PORT_OPTIONS:MTESTING} -CMAKE_ARGS+= -DENABLE_TESTING:STRING="ON" -BUILD_DEPENDS+= cppunit-config:${PORTSDIR}/devel/cppunit -.else -CMAKE_ARGS+= -DENABLE_TESTING:STRING="OFF" -.endif +TESTING_CMAKE_ON= -DENABLE_TESTING:STRING="ON" +TESTING_CMAKE_OFF= -DENABLE_TESTING:STRING="OFF" +TESTING_BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit post-patch: @${FIND} ${WRKSRC}/.. -name CMakeLists.txt | \ ${XARGS} ${REINPLACE_CMD} -e \ "s|{GR_LIBRARY_DIR}/pkgconfig|{GR_PKGCONFIG_DIR}/pkgconfig|g" @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/docs/doxygen/Doxyfile.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/FindPortaudio.cmake -.include +.include Index: head/comms/jerm/Makefile =================================================================== --- head/comms/jerm/Makefile (revision 394777) +++ head/comms/jerm/Makefile (revision 394778) @@ -1,46 +1,42 @@ # Created by: Shinsuke Matsui # $FreeBSD$ PORTNAME= jerm PORTVERSION= 8096 CATEGORIES= comms MASTER_SITES= http://www.bsddiary.net/jerm/ MAINTAINER= smatsui@karashi.org COMMENT= Communication terminal through serial and TCP/IP interfaces OPTIONS_DEFINE= DOCS JUPITER JUPITER_DESC= With Jupiter support OPTIONS_SUB= yes PORTDOCS= README -.include +JUPITER_MAKE_ARGS_OFF= JUPITER_FLAGS= -.if ! ${PORT_OPTIONS:MJUPITER} -MAKE_ARGS+= JUPITER_FLAGS= -.endif - post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|sys/termios.h|termios.h|' \ ${WRKSRC}/tiocdtr.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jerm ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/tiocdtr ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/jerm.1 ${STAGEDIR}${PREFIX}/man/man1/ -.if ${PORT_OPTIONS:MJUPITER} +do-install-JUPITER-on: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/jerm ${INSTALL_SCRIPT} ${WRKSRC}/init.sh ${STAGEDIR}${PREFIX}/libexec/jerm/ ${INSTALL_SCRIPT} ${WRKSRC}/rock.pl ${STAGEDIR}${PREFIX}/libexec/jerm/ -.endif +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/comms/jsdr/Makefile =================================================================== --- head/comms/jsdr/Makefile (revision 394777) +++ head/comms/jsdr/Makefile (revision 394778) @@ -1,66 +1,64 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= jsdr PORTVERSION= 4.1 PORTREVISION= 3 CATEGORIES= comms audio hamradio MASTER_SITES= http://www.sdr-j.tk/ \ LOCAL/nox/ MAINTAINER= nox@FreeBSD.org COMMENT= SDR tools for RTL2832-based USB sticks LICENSE= GPLv2 LIB_DEPENDS+= libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \ libportaudio.so:${PORTSDIR}/audio/portaudio \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libsndfile.so:${PORTSDIR}/audio/libsndfile \ libfftw3.so:${PORTSDIR}/math/fftw3 USES= tar:tgz USE_QT4= gui qt3support qmake_build moc_build rcc_build uic_build PORTDOCS= * PLIST_FILES+= bin/swreceiver bin/spectrum-viewer-${PORTVERSION} \ bin/mini-receiver bin/fmreceiver-${PORTVERSION} OPTIONS_DEFINE= DOCS -.include - do-configure: cd ${WRKSRC}/make-x64/swreceiver && ${SETENV} ${MAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} cd ${WRKSRC}/make-x64/fmreceiver && ${SETENV} ${MAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} cd ${WRKSRC}/make-x64/spectrum-viewer && ${SETENV} ${MAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} cd ${WRKSRC}/make-x64/mini-receiver && ${SETENV} ${MAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} do-build: cd ${WRKSRC}/make-x64/swreceiver && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} cd ${WRKSRC}/make-x64/fmreceiver && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} cd ${WRKSRC}/make-x64/spectrum-viewer && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} cd ${WRKSRC}/make-x64/mini-receiver && ${SETENV} ${MAKE_ENV} \ ${MAKE} ${_MAKE_JOBS} do-install: ${INSTALL} ${WRKSRC}/make-x64/swreceiver/swreceiver \ ${WRKSRC}/make-x64/mini-receiver/mini-receiver \ ${STAGEDIR}${PREFIX}/bin ${INSTALL} ${WRKSRC}/make-x64/spectrum-viewer/spectrum-viewer \ ${STAGEDIR}${PREFIX}/bin/spectrum-viewer-${PORTVERSION} ${INSTALL} ${WRKSRC}/make-x64/fmreceiver/fmreceiver \ ${STAGEDIR}${PREFIX}/bin/fmreceiver-${PORTVERSION} -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} -.endif -.include +.include Index: head/comms/lirc/Makefile =================================================================== --- head/comms/lirc/Makefile (revision 394777) +++ head/comms/lirc/Makefile (revision 394778) @@ -1,81 +1,70 @@ # Created by: Mike Heffner # $FreeBSD$ PORTNAME= lirc PORTVERSION= 0.9.0 PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= comms MASTER_SITES= SF/${PORTNAME}/LIRC/${PORTVERSION} MAINTAINER= nox@FreeBSD.org COMMENT= Linux Infrared Remote Control BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat INSTALL_TARGET= install-strip USES= alias autoreconf gmake libtool python tar:bzip2 USE_XORG= sm x11 USE_CSTD= gnu89 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc \ --sysconfdir=${PREFIX}/etc CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= MINIMAL DEBUG UARTLIRC DOCS EXAMPLES MINIMAL_DESC= Build with minmal dependencies UARTLIRC_DESC= Install serial LIRC driver USE_RC_SUBR= lircd PORTDOCS= html images irxevent.keys lirc.css lirc.hwdb PORTEXAMPLES= remotes SUB_FILES= pkg-message lircd.conf -.include - .if exists(${LOCALBASE}/lib/libvga.so.1) LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib PLIST_SUB+= SMODE2= .else PLIST_SUB+= SMODE2="@comment " .endif -.if empty(PORT_OPTIONS:MMINIMAL) -LIB_DEPENDS+= libftdi.so:${PORTSDIR}/devel/libftdi \ +MINIMAL_LIB_DEPENDS_OFF= libftdi.so:${PORTSDIR}/devel/libftdi \ libirman.so:${PORTSDIR}/comms/libirman -CONFIGURE_ARGS+= --with-driver=userspace -.else -CONFIGURE_ARGS+= --with-driver=dvico -.endif +MINIMAL_CONFIGURE_OFF= --with-driver=userspace +MINIMAL_CONFIGURE_ON= --with-driver=dvico -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug -.endif +DEBUG_CONFIGURE_ENABLE= debug -.if ${PORT_OPTIONS:MUARTLIRC} -RUN_DEPENDS+= uartlirc>=0.3:${PORTSDIR}/comms/uartlirc -.endif +UARTLIRC_RUN_DEPENDS= uartlirc>=0.3:${PORTSDIR}/comms/uartlirc post-patch: @${REINPLACE_CMD} \ -e 's/`$${LIBUSB_CONFIG} --libs`/-lusb/' \ -e 's/`$${LIBUSB_CONFIG} --cflags`//' \ ${WRKSRC}/configure.ac -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}/) @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}/) @(cd ${WRKSRC}/doc && ${INSTALL_DATA} irxevent.keys lirc.css lirc.hwdb ${STAGEDIR}${DOCSDIR}/) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} remotes ${STAGEDIR}${EXAMPLESDIR}/) -.endif +post-install: @${INSTALL_DATA} ${WRKDIR}/lircd.conf ${STAGEDIR}${PREFIX}/etc/lircd.conf.sample @${MKDIR} ${STAGEDIR}/var/run/lirc -.include +.include Index: head/comms/lrzsz/Makefile =================================================================== --- head/comms/lrzsz/Makefile (revision 394777) +++ head/comms/lrzsz/Makefile (revision 394778) @@ -1,29 +1,24 @@ # Created by: David O'Brien # $FreeBSD$ PORTNAME= lrzsz PORTVERSION= 0.12.20 PORTREVISION= 4 CATEGORIES= comms MASTER_SITES= http://ohse.de/uwe/releases/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive) LICENSE= GPLv2 GNU_CONFIGURE= yes ALL_TARGET= all # vcheck OPTIONS_DEFINE= NLS -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_FILES+= share/locale/de/LC_MESSAGES/lrzsz.mo -.else -CONFIGURE_ARGS+= --disable-nls -.endif +NLS_USES= gettext +NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/lrzsz.mo +NLS_CONFIGURE_ENABLE= nls .include Index: head/comms/mgetty+sendfax/Makefile =================================================================== --- head/comms/mgetty+sendfax/Makefile (revision 394777) +++ head/comms/mgetty+sendfax/Makefile (revision 394778) @@ -1,59 +1,53 @@ # Created by: rkw # $FreeBSD$ PORTNAME= mgetty PORTVERSION= 1.1.35 PORTREVISION= 7 CATEGORIES= comms MASTER_SITES= ftp://mgetty.greenie.net/pub/mgetty/source/1.1/ DISTNAME= ${PORTNAME}${PORTVERSION}-Feb22 MAINTAINER= olgeni@FreeBSD.org COMMENT= Handle external logins, send and receive faxes LICENSE= GPLv2 USE_CSTD= gnu89 USES= makeinfo perl5 SUB_FILES= pkg-message mgettycfg WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKE_FLAGS= CFLAGS="${CFLAGS}" prefix=${PREFIX} LOCALBASE=${LOCALBASE} STAGEDIR=${STAGEDIR} -f ALL_TARGET= noident all INFO= mgetty MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= FIDO FIDO_DESC= Enable FIDO EMSI support -.include - CFLAGS+= -DAUTO_PPP -.if ${PORT_OPTIONS:MFIDO} -CFLAGS+= -DFIDO -.endif +FIDO_CFLAGS= -DFIDO -.include - pre-install: @(cd ${WRKSRC}/doc; ${MAKE} manpages) post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/dialin.config \ ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/dialin.config.sample @${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxheader \ ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxheader.sample @${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxrunq.config \ ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxrunq.config.sample @${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/login.config \ ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/login.config.sample ${INSTALL_DATA} -m 600 ${WRKSRC}/voice/voice.conf-dist \ ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/voice.conf.sample ${TAR} -cf - -C ${WRKSRC} samples | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/lib/mgetty+sendfax/ ${INSTALL_SCRIPT} ${WRKDIR}/mgettycfg ${STAGEDIR}${PREFIX}/bin ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mgetty+sendfax/faxq-helper -.include +.include Index: head/comms/ncid/Makefile =================================================================== --- head/comms/ncid/Makefile (revision 394777) +++ head/comms/ncid/Makefile (revision 394778) @@ -1,88 +1,85 @@ # Created by: David # $FreeBSD$ PORTNAME= ncid PORTVERSION= 1.0 CATEGORIES= comms MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= cpm@fbsd.es COMMENT= Network based Caller ID package LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/doc/LICENSE USES= gmake perl5 tk ALL_TARGET= local MAKE_ARGS= WISH=${WISH} TCLSH=${TCLSH} INSTALL_TARGET= freebsd-install MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS WRKSRC= ${WRKDIR}/${PORTNAME} PORTDOCS= CHANGES CONTRIBUTORS.md Devices.md Documentation.md FAQ.md Gateways.md \ GettingStarted.md INSTALL-Cygwin.md INSTALL-Fedora.md INSTALL-FreeBSD.md \ INSTALL-Mac.md INSTALL-Raspbian.md INSTALL-Redhat.md INSTALL-TiVo.md \ INSTALL-Ubuntu.md INSTALL-Win.md INSTALL.md LICENSE Makefile Modems.md \ NCID-API.odt NCID-SDK.md NCID_Documentation.md README.docdir ReleaseNotes.md \ TODO.md Verbose.md mk-epub ncid-1.jpg -.include - post-extract: cd ${WRKSRC}/FreeBSD;for i in *.rc; do \ x=`echo $$i | cut -f 1 -d .`; ${CP} $$i $$x; done post-patch: ${GREP} -lr 'etc/ncid' ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -Ee \ 's,(/usr/local/etc/ncid | /etc/ncid),${ETCDIR},g' ${FIND} ${WRKSRC}/ -name Makefile | ${XARGS} ${REINPLACE_CMD} -Ee \ '/install:/s,install-(etc|logrotate),,' ${REINPLACE_CMD} -Ee '/mkdir.*(INIT|ROTATE|BIN|LOG|ETC)/d ;\ /CFLAGS.*=/s|=|+=|' ${WRKSRC}/Makefile # Respect PREFIX/MANPREFIX/DATADIR ${REINPLACE_CMD} -e 's|prefix.*= /usr/local|prefix=$${PREFIX}|g' \ -e 's|$$(prefix)/bin|$${PREFIX}/bin|g' \ -e 's|$$(prefix)/sbin|$${PREFIX}/sbin|g' \ -e 's|$$(prefix)/share|$${PREFIX}/share|g' \ -e 's|$$(SHARE)/man|$${MANPREFIX}/man/|g' \ -e 's|$$(SHARE)/ncid|$${DATADIR}|g' ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_PROGRAM} ${WRKSRC}/server/ncidd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/gateway/sip2ncid ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/client/ncid ${STAGEDIR}${PREFIX}/bin .for f in ncid2ncid rn2ncid yac2ncid wc2ncid ${INSTALL_DATA} ${WRKSRC}/gateway/${f} ${STAGEDIR}${PREFIX}/bin ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ncid2ncid .endfor ${INSTALL_DATA} ${WRKSRC}/client/ncid.gif ${STAGEDIR}${PREFIX}/share/pixmaps/ncid .for g in ncid-page ncid-samba ncid-speak ncid-mythtv ncid-kpopup ncid-skel \ ncid-alert ncid-yac ncid-initmodem ncid-notify ncid-wakeup ${INSTALL_DATA} ${WRKSRC}/modules/${g} ${STAGEDIR}${PREFIX}/share/ncid .endfor ${INSTALL_DATA} ${WRKSRC}/server/ncidd.alias ${STAGEDIR}${ETCDIR} .for h in cidcall cidalias cidupdate wct ncidutil ${INSTALL_DATA} ${WRKSRC}/tools/${h} ${STAGEDIR}${PREFIX}/bin .endfor .for i in ncidd ncid2ncid rn2ncid sip2ncid wc2ncid yac2ncid ncid-mythtv ncid-notify \ ncid-page ncid-samba ncid-speak ncid-yac ncid-initmodem ${INSTALL_DATA} ${WRKSRC}/FreeBSD/${i} ${STAGEDIR}${PREFIX}/etc/rc.d .endfor -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for j in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${j} ${STAGEDIR}${DOCSDIR} -.endfor -.endif ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/man/*.7 ${STAGEDIR}${MAN7PREFIX}/man/man7 ${INSTALL_MAN} ${WRKSRC}/man/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for j in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${j} ${STAGEDIR}${DOCSDIR} +.endfor .include Index: head/comms/owfs/Makefile =================================================================== --- head/comms/owfs/Makefile (revision 394777) +++ head/comms/owfs/Makefile (revision 394778) @@ -1,131 +1,128 @@ # Created by: Johan Strom # $FreeBSD$ PORTNAME= owfs PORTVERSION= 2.9p8 PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= SF/owfs/owfs/${PORTVERSION} MAINTAINER= johan@stromnet.se COMMENT= OWFS -- 1-Wire file system LICENSE= GPLv2 USES= autoreconf libtool gmake GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include "Makefile.options" OPTIONS_SUB=yes CONFIGURE_ARGS= --enable-owlib # Linux specific kernel driver CONFIGURE_ARGS+= --disable-w1 CONFIGURE_ARGS+= --disable-parport OWDEBUG_CONFIGURE_ENABLE= debug OWMUTEXDEBUG_CONFIGURE_ENABLE= mutexdebug OWSHELL_CONFIGURE_ENABLE= owshell OWNET_CONFIGURE_ENABLE= ownet I2C_CONFIGURE_ENABLE= i2c OWHTTPD_CONFIGURE_ENABLE= owhttpd OWFTPD_CONFIGURE_ENABLE= owftpd OWSERVER_CONFIGURE_ENABLE= owserver OWTAP_CONFIGURE_ENABLE= owtap OWTAP_USES= tk:wrapper OWMALLOC_CONFIGURE_ENABLE= owmalloc OWTRAFFIC_CONFIGURE_ENABLE= owtraffic OWMON_CONFIGURE_ENABLE= owmon OWMON_USES= tk:wrapper OWCAPI_CONFIGURE_ENABLE= owcapi OWPERL_CONFIGURE_ENABLE= owperl OWPERL_USES= perl5 OWPERL_USE= perl5=build,run # Broken/untested OWPHP_CONFIGURE_ENABLE= owphp OWPYTHON_CONFIGURE_ENABLE= owpython OWPYTHON_USES= python # Additional CONFIGURE_ARGS is done below OWTCL_CONFIGURE_ENABLE= owtcl OWTCL_USES= tcl # XXX Broken due to -lgcc_p PROFILING_CONFIGURE_ENABLE= profiling # XXX: Not tested, it compiles, but not sure if fusefs actually works OWFS_CONFIGURE_ENABLE= owfs OWFS_USES= fuse ZERO_CONFIGURE_ENABLE= zero USB_CONFIGURE_ENABLE= usb USB_LDFLAGS= -lusb .include # If OW Network and C API is requested, build libownet as well .if ${PORT_OPTIONS:MOWNET} && ${PORT_OPTIONS:MOWCAPI} CONFIGURE_ARGS+= --enable-ownetlib PLIST_SUB+= OWNETLIB="" .else CONFIGURE_ARGS+= --disable-ownetlib PLIST_SUB+= OWNETLIB="@comment " .endif # If OW Network and Perl is requested, we get ownet perl files .if ${PORT_OPTIONS:MOWPERL} && ${PORT_OPTIONS:MOWNET} PLIST_SUB+= OWNETPERL="" .else PLIST_SUB+= OWNETPERL="@comment " .endif # If OW Network and Python is requested, we get ownet python files .if ${PORT_OPTIONS:MOWPYTHON} && ${PORT_OPTIONS:MOWNET} PLIST_SUB+= OWNETPYTHON="" .else PLIST_SUB+= OWNETPYTHON="@comment " .endif # If Perl, Python or PHP is requested, enable SWIG .if ${PORT_OPTIONS:MOWPERL} || ${PORT_OPTIONS:MOWPYTHON} || ${PORT_OPTIONS:MOWPHP} BUILD_DEPENDS+= ${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20 CONFIGURE_ARGS+= --enable-swig SWIG=${LOCALBASE}/bin/swig2.0 .else CONFIGURE_ARGS+= --disable-swig .endif .if ${PORT_OPTIONS:MOWTCL} CONFIGURE_ARGS+= --enable-owtcl --with-tcl=${TCL_LIBDIR} .endif # This takes a few seconds so give the user some notice pre-configure: ${MKDIR} ${WRKSRC}/m4 @echo "Preparing build using autotools..." # Workarounds for different problems -post-install: -.if ${PORT_OPTIONS:MOWPYTHON} +post-install-OWPYTHON-on: (cd ${STAGEDIR}${PREFIX} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/ow/_OW.so -.endif -.if ${PORT_OPTIONS:MOWPERL} +post-install-OWPERL-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OW/OW.so -.endif .include Index: head/comms/pr/Makefile =================================================================== --- head/comms/pr/Makefile (revision 394777) +++ head/comms/pr/Makefile (revision 394778) @@ -1,40 +1,37 @@ # Created by: Anton Voronin # $FreeBSD$ PORTNAME= pr PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= comms net MASTER_SITES= http://bsdforge.com/projects/source/comms/pr/ MAINTAINER= portmaster@bsdforge.com COMMENT= Daemon that connects local terminal device to a terminal server LICENSE= ARTPERL10 USES= shebangfix tar:xz SHEBANG_FILES= sbin/PortRedirector sbin/PortTest NO_BUILD= YES WRKSRC= ${WRKDIR}/${PORTNAME} PROGRAMS= PortRedirector PortTest ETCFLS= PortRedirector.conf.sample RCDFILES= pr.sh.sample OPTIONS_DEFINE= DOCS -.include - do-install: (cd ${WRKSRC}/sbin && \ ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin) (cd ${WRKSRC}/etc/rc.d && \ ${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d) (cd ${WRKSRC}/etc && \ ${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc) -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/share/doc/pr/PR.html ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/comms/py-bulksms/Makefile =================================================================== --- head/comms/py-bulksms/Makefile (revision 394777) +++ head/comms/py-bulksms/Makefile (revision 394778) @@ -1,30 +1,26 @@ # Created by: Andy Gilligan # $FreeBSD$ PORTNAME= bulksms PORTVERSION= 0.1 CATEGORIES= comms python MASTER_SITES= http://bsdtec.com/freebsd/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= craig001@lerwick.hopto.org COMMENT= Python client for the BulkSMS.co.uk HTTP API USES= python USE_PYTHON= distutils PYDISTUTILS_PKGNAME= BulkSMS PYDISTUTILS_PKGVERSION= 1.0 WRKSRC= ${WRKDIR}/bulksms OPTIONS_DEFINE= DOCS -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_MAN} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/comms/qpage/Makefile =================================================================== --- head/comms/qpage/Makefile (revision 394777) +++ head/comms/qpage/Makefile (revision 394778) @@ -1,78 +1,74 @@ # Created by: joes@seaport.net # $FreeBSD$ PORTNAME= qpage PORTVERSION= 3.3 PORTREVISION= 8 CATEGORIES= comms MASTER_SITES= http://www.qpage.org/download/ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= SNPP client/server for sending messages to an alphanumeric pager BROKEN= Unfetchable USE_RC_SUBR= qpage GNU_CONFIGURE= yes OPTIONS_DEFINE= IDENT_PATCH IDENT_PATCH_DESC= Disable libwrap ident lookups -.include - -.if ${PORT_OPTIONS:MIDENT_PATCH} -EXTRA_PATCHES=${FILESDIR}/libwrap_ident_patch-srvrsnpp.c -.endif +IDENT_PATCH_EXTRA_PATCHES=${FILESDIR}/libwrap_ident_patch-srvrsnpp.c .if !defined(WITH_QPAGE_SYSLOG_FACILITY) || !defined(WITH_QPAGE_USER) .if !defined(WITH_QPAGE_SYSLOG_FACILITY) && !defined(WITH_QPAGE_USER) _QPAGE_MSG= You may set the following configuration options: .else _QPAGE_MSG= The following additional configuration options are available: .endif .if !defined(WITH_QPAGE_SYSLOG_FACILITY) WITH_QPAGE_SYSLOG_FACILITY= LOG_DAEMON _QPAGE_SYSLOG_MSG=1 .endif .if !defined(WITH_QPAGE_USER) WITH_QPAGE_USER= uucp _QPAGE_USER_MSG=1 .endif pre-patch: @${ECHO_MSG} "" @${ECHO_MSG} ${_QPAGE_MSG} @if [ -n "${_QPAGE_SYSLOG_MSG}" ]; then \ ${ECHO_MSG} ""; \ ${ECHO_MSG} " WITH_QPAGE_SYSLOG_FACILITY=syslog_facility"; \ ${ECHO_MSG} " Default is LOG_DAEMON"; \ fi @if [ -n "${_QPAGE_USER_MSG}" ]; then \ ${ECHO_MSG} ""; \ ${ECHO_MSG} " WITH_QPAGE_USER=userid"; \ ${ECHO_MSG} " Default is \"uucp\"; recommended that user be in group \"dialer\""; \ fi @${ECHO_MSG} "" @${ECHO_MSG} "Press ^C now to stop the build and set make options." @${ECHO_MSG} "You may find it necessary to 'make clean' before restarting the build." @sleep 2 .endif post-patch: ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/qpage.man \ ${WRKSRC}/config.input \ ${WRKSRC}/config.h.in ${REINPLACE_CMD} \ -e 's,%%WITH_QPAGE_SYSLOG_FACILITY%%,${WITH_QPAGE_SYSLOG_FACILITY},' \ -e 's,%%WITH_QPAGE_USER%%,${WITH_QPAGE_USER},' \ ${WRKSRC}/config.input do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qpage ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/qpage.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/qpage.1 ${INSTALL_DATA} ${WRKSRC}/example.cf \ ${STAGEDIR}${PREFIX}/etc/qpage.conf.sample ${MKDIR} ${STAGEDIR}/var/spool/qpage .include Index: head/comms/rtl-sdr/Makefile =================================================================== --- head/comms/rtl-sdr/Makefile (revision 394777) +++ head/comms/rtl-sdr/Makefile (revision 394778) @@ -1,41 +1,36 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= rtl-sdr PORTVERSION= 20140210 PORTREVISION= 6 CATEGORIES= comms hamradio MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ LOCAL/martymac MAINTAINER= martymac@FreeBSD.org COMMENT= Commandline tool that performs SDR with RTL2832-based USB sticks LICENSE= GPLv2 USES= autoreconf gmake pkgconfig libtool tar:tgz GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/librtlsdr OPTIONS_DEFINE= DOCS -.include - -.if ${PORT_OPTIONS:MDOCS} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen -.else -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.am -.endif +DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +DOCS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile.am post-patch: @${REINPLACE_CMD} 's|^pkgdocdir=.*|pkgdocdir=${DOCSDIR}|' \ ${WRKSRC}/Makefile.am @${REINPLACE_CMD} 's|^pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.am .include Index: head/comms/scmxx/Makefile =================================================================== --- head/comms/scmxx/Makefile (revision 394777) +++ head/comms/scmxx/Makefile (revision 394778) @@ -1,42 +1,41 @@ # Created by: Janos.Mohacsi@bsd.hu # $FreeBSD$ PORTNAME= scmxx PORTVERSION= 0.9.0 PORTREVISION= 3 CATEGORIES= comms MASTER_SITES= SF MAINTAINER= jmohacsi@bsd.hu COMMENT= Data exchange utility for Siemens mobile phones USES= gettext iconv gmake tar:bzip2 GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DOCS= README docs/*.txt EXAMPLES= sms.txt vCalendar.vcs vCard.vcf OPTIONS_DEFINE= DOCS .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv=no .endif post-patch: @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \ ${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g" post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/comms/smstools3/Makefile =================================================================== --- head/comms/smstools3/Makefile (revision 394777) +++ head/comms/smstools3/Makefile (revision 394778) @@ -1,90 +1,86 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= smstools PORTVERSION= 3.1.15 PORTREVISION= 3 CATEGORIES= comms MASTER_SITES= http://smstools3.kekekasvi.com/packages/ DISTNAME= smstools3-${PORTVERSION} MAINTAINER= madpilot@FreeBSD.org COMMENT= SMS Gateway software for GSM modems and mobile phones LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS= gnokii-[0-9]* smstools-2.* sendsms-[0-9]* OPTIONS_DEFINE= STATS EXAMPLES DOCS OPTIONS_DEFAULT= STATS STATS_DESC= Build status and statistics support WRKSRC= ${WRKDIR}/smstools3 USES= gmake shebangfix SHEBANG_FILES= scripts/hex2dec scripts/hex2bin SHEBANG_LANG= awk awk_OLD_CMD= /bin/gawk awk_CMD= ${LOCALBASE}/bin/awk USE_RC_SUBR= smsd SPOOLDIR?= /var/spool/sms LOGDIR?= /var/log/smsd PIDDIR?= /var/run/smsd SMSD_USER?= uucp SMSD_GROUP?= dialer SUB_LIST+= SPOOLDIR="${SPOOLDIR}" LOGDIR="${LOGDIR}" PIDDIR="${PIDDIR}" \ SMSD_USER="${SMSD_USER}" SMSD_GROUP="${SMSD_GROUP}" PLIST_SUB+= SPOOLDIR="${SPOOLDIR}" LOGDIR="${LOGDIR}" PIDDIR="${PIDDIR}" \ SMSD_USER="${SMSD_USER}" SMSD_GROUP="${SMSD_GROUP}" SUB_FILES= pkg-install pkg-deinstall PORTDOCS= * PORTEXAMPLES= .procmailrc .qmailrc * -.include +STATS_LIB_DEPENDS= libmm.so:${PORTSDIR}/devel/mm +STATS_CFLAGS= -I${LOCALBASE}/include +STATS_CFLAGS_OFF= -DNOSTATS -.if ${PORT_OPTIONS:MSTATS} -LIB_DEPENDS+= libmm.so:${PORTSDIR}/devel/mm -CFLAGS+= -I${LOCALBASE}/include -.else -CFLAGS+= -DNOSTATS -.endif SMSTOOLS_DEFAULT_COMPORT?= /dev/cuau0 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%STAGEDIR%%|${STAGEDIR}|g' \ ${WRKSRC}/Makefile ${WRKSRC}/install.sh ${WRKSRC}/src/smsd_cfg.h @${REINPLACE_CMD} -e 's,^override,\toverride,g' ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -e 's|/dev/ttyS0|${SMSTOOLS_DEFAULT_COMPORT}|g' \ -e 's|%%SMSD_USER%%|${SMSD_USER}|' \ -e 's|%%SMSD_GROUP%%|${SMSD_GROUP}|' \ ${WRKSRC}/examples/smsd.conf.easy \ ${WRKSRC}/examples/smsd.conf.full \ ${WRKSRC}/examples/smsd.conf.non-root @${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \ ${WRKSRC}/scripts/* post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/smsd @${MKDIR} ${STAGEDIR}${DATADIR} @for file in `${FIND} ${WRKSRC}/scripts -type f ! -name 'README' ! -name '*.bak'`; do \ ${INSTALL_SCRIPT} $$file ${STAGEDIR}${DATADIR}/; \ done .for FILE in sendsms sms2html sms2unicode unicode2sms @${LN} -sf ${DATADIR}/${FILE} ${STAGEDIR}${PREFIX}/bin/${FILE} .endfor @${INSTALL_DATA} ${WRKSRC}/examples/smsd.conf.easy ${STAGEDIR}${PREFIX}/etc/smsd.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR}/slideshow @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/ @${INSTALL_DATA} ${WRKSRC}/doc/slideshow/* ${STAGEDIR}${DOCSDIR}/slideshow @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @for file in `${FIND} ${WRKSRC}/examples -type f ! -name 'README'`; do \ ${INSTALL_SCRIPT} $$file ${STAGEDIR}${EXAMPLESDIR}/; \ done @${MKDIR} ${STAGEDIR}${SPOOLDIR}/incoming ${STAGEDIR}${SPOOLDIR}/outgoing \ ${STAGEDIR}${SPOOLDIR}/checked ${STAGEDIR}${LOGDIR} \ ${STAGEDIR}${PIDDIR} .include Index: head/comms/svxlink/Makefile =================================================================== --- head/comms/svxlink/Makefile (revision 394777) +++ head/comms/svxlink/Makefile (revision 394778) @@ -1,108 +1,105 @@ # Created by: shurd # $FreeBSD$ PORTNAME?= svxlink PORTVERSION= 14.08 CATEGORIES= comms hamradio DISTNAME= svxlink-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT?= General purpose ham radio voice services LICENSE= GPLv2 LIB_DEPENDS?= libgsm.so:${PORTSDIR}/audio/gsm \ libspeex.so:${PORTSDIR}/audio/speex \ libgpg-error.so:${PORTSDIR}/security/libgpg-error \ libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ libpopt.so:${PORTSDIR}/devel/popt \ libopus.so:${PORTSDIR}/audio/opus BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf \ ${LOCALBASE}/include/linux/input.h:${PORTSDIR}/multimedia/v4l_compat USE_GITHUB= yes GH_ACCOUNT= sm0svx GH_PROJECT= svxlink USES= cmake tcl CMAKE_SOURCE_PATH= ${WRKSRC}/src CMAKE_ARGS+= -DMAN_INSTALL_DIR:FILEPATH=${MANDIRS} \ -DLOCAL_STATE_DIR=/var .if ${PORTNAME}==svxlink CMAKE_ARGS+= -DUSE_QT:BOOL=NO .endif USE_LDCONFIG= yes ALL_TARGET?= all man OPTIONS_DEFINE= DOCS STATIC STATIC_DESC= Build and install static libraries STATIC_CMAKE_ON= -DBUILD_STATIC_LIBS=YES .if ${PORTNAME}==svxlink OPTIONS_DEFAULT=OSS ALSA OPTIONS_MULTI= SOUND OPTIONS_MULTI_SOUND= ALSA OSS ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF ALSA_CMAKE_ON= -DUSE_ALSA:BOOL=ON OSS_CMAKE_OFF= -DUSE_OSS:BOOL=OFF OSS_CMAKE_ON= -DUSE_OSS:BOOL=ON .endif DOCS_ALL_TARGET=doc DOCS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:BOOL=TRUE DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ dot:${PORTSDIR}/graphics/graphviz OPTIONS_SUB= yes PORTDOCS= * -.include - post-patch: @${GREP} -lr /dev/ttyS0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \ ${REINPLACE_CMD} -e 's|/dev/ttyS0|/dev/ttyu0|' @${REINPLACE_CMD} -e 's|/usr/share/icons|${PREFIX}/share/icons|' \ ${WRKSRC}/src/qtel/qtel.desktop @${REINPLACE_CMD} -e 's|/usr/share/svxlink|${DOCSDIR}|' \ ${WRKSRC}/src/doc/man/svxlink.conf.5 @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|' ${WRKSRC}/src/qtel/qtel.desktop \ ${WRKSRC}/src/doc/man/svxlink.conf.5 \ ${WRKSRC}/src/svxlink/svxlink/svxlink.conf.in @${REINPLACE_CMD} -e 's|/usr/lib|${PREFIX}/lib|' \ ${WRKSRC}/src/doc/man/svxlink.conf.5 \ ${WRKSRC}/src/svxlink/svxlink/svxlink.conf.in -.if ${PORT_OPTIONS:MOSS} +post-patch-OSS-on: @${GREP} -lr alsa:default ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \ ${REINPLACE_CMD} -e 's|alsa:default|oss:/dev/dsp|' @${GREP} -lr alsa:plughw:0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \ ${REINPLACE_CMD} -e 's|alsa:plughw:0|oss:/dev/dsp|' -.endif .if ${PORTNAME}==svxlink post-stage: ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc \ ${STAGEDIR}${PREFIX}/etc/svxlink/.procmailrc.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/TclVoiceMail.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/TclVoiceMail.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/remotetrx.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/remotetrx.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleDtmfRepeater.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleDtmfRepeater.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleEchoLink.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleEchoLink.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleHelp.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleHelp.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleMetarInfo.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleMetarInfo.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleParrot.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleParrot.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModulePropagationMonitor.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModulePropagationMonitor.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleSelCallEnc.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleSelCallEnc.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleTclVoiceMail.conf \ ${STAGEDIR}${PREFIX}/etc/svxlink/svxlink.d/ModuleTclVoiceMail.conf.sample .endif .include Index: head/comms/trustedqsl/Makefile =================================================================== --- head/comms/trustedqsl/Makefile (revision 394777) +++ head/comms/trustedqsl/Makefile (revision 394778) @@ -1,64 +1,57 @@ # $FreeBSD$ PORTNAME= trustedqsl PORTVERSION= 2.0.3 PORTREVISION= 2 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/TrustedQSL/v${PORTVERSION}/ DISTNAME= tqsl-${PORTVERSION} MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio Station electronic trusted logbook LICENSE= ARRL LICENSE_NAME= American Radio Relay League, Inc. All rights reserved. LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USE_BDB= 5+ PKGMESSAGE= ${WRKDIR}/pkg-message USES= cmake compiler:features pkgconfig CMAKE_ARGS= -DBDB_PREFIX=${LOCALBASE} USE_WX= 2.8+ WX_UNICODE= yes USE_LDCONFIG= yes USE_OPENSSL= yes OPTIONS_DEFINE= GEN_CRQ LOAD_CERT STATION_LOC CONVERTER GEN_CRQ_DESC= Build gen_crq LOAD_CERT_DESC= Build load_cert STATION_LOC_DESC= Build station_loc CONVERTER_DESC= Build converter GEN_CRQ_CMAKE_ON= -DBUILD_GENCRQ=ON LOAD_CERT_CMAKE_ON= -DBUILD_LOADCERT=ON STATION_LOC_CMAKE_ON= -DBUILD_STATIONLOC=ON CONVERTER_CMAKE_ON= -DBUILD_CONVERTER=ON OPTIONS_SUB= yes -.include - -post-stage: -.if ${PORT_OPTIONS:MGEN_CRQ} +post-stage-GEN_CRQ-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/gen_crq ${STAGEDIR}${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MLOAD_CERT} +post-stage-LOAD_CERT-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/load_cert ${STAGEDIR}${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MSTATION_LOC} +post-stage-STATION_LOC-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/station_loc ${STAGEDIR}${PREFIX}/bin -.endif -.if ${PORT_OPTIONS:MCONVERTER} +post-stage-CONVERTER-on: ${INSTALL_PROGRAM} ${WRKSRC}/src/converter ${STAGEDIR}${PREFIX}/bin -.endif post-patch: @${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \ ${FILESDIR}/pkg-message > ${WRKDIR}/pkg-message .include Index: head/comms/vrflash/Makefile =================================================================== --- head/comms/vrflash/Makefile (revision 394777) +++ head/comms/vrflash/Makefile (revision 394778) @@ -1,30 +1,27 @@ # $FreeBSD$ PORTNAME= vrflash PORTVERSION= 0.20 CATEGORIES= comms MASTER_SITES= LOCAL/dinoex MAINTAINER= dinoex@FreeBSD.org COMMENT= Flash kernels and romdisks to the Agenda VR3 LICENSE= GPLv2 GNU_CONFIGURE= yes DOCS= agenda-flashing-overview.txt troubleshooting.txt \ pmon-protect-unprotect.txt usage.txt OPTIONS_DEFINE= DOCS -.include - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vrflash ${STAGEDIR}${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/ .endfor -.endif .include Index: head/comms/xastir/Makefile =================================================================== --- head/comms/xastir/Makefile (revision 394777) +++ head/comms/xastir/Makefile (revision 394778) @@ -1,113 +1,77 @@ # Created by: Carl Makin # $FreeBSD$ PORTNAME= xastir PORTVERSION= 2.0.6 PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION} MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting BUILD_DEPENDS= xfontsel:${PORTSDIR}/x11-fonts/xfontsel RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ libpng.so:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes USES= gettext gmake jpeg motif shebangfix SHEBANG_FILES= scripts/*.pl scripts/get-maptools.sh \ scripts/gpx2shape scripts/values.pl.in SUB_FILES= pkg-message OPTIONS_DEFINE= SHAPELIB DBFAWK MAGICK CURL GEOTIFF GDAL GPSMAN FESTIVAL \ RTREE ERRORPOP BDB OPTCFLAGS SHAPELIB_DESC= Include Shapelib support DBFAWK_DESC= Include DBFAWK Support MAGICK_DESC= Include GraphicsMagick Support CURL_DESC= Include CURL Internet Image support GEOTIFF_DESC= Include GeoTIFF Support GDAL_DESC= Include GDAL Support GPSMAN_DESC= Include GPSMAN Support FESTIVAL_DESC= Include Festival Voice Synthesis Support RTREE_DESC= Enable spatial indexing of shapefiles ERRORPOP_DESC= Send error popups to stderr BDB_DESC= Tiger Map Caching using Berkeley DB OPTCFLAGS_DESC= Use optimized CFLAGS (-O2 -pipe) OPTIONS_DEFAULT= SHAPELIB DBFAWK MAGICK CURL RTREE BDB -.include +SHAPELIB_LIB_DEPENDS= libshp.so:${PORTSDIR}/devel/shapelib +SHAPELIB_CONFIGURE_WITH= shapelib -.if ${PORT_OPTIONS:MSHAPELIB} -LIB_DEPENDS+= libshp.so:${PORTSDIR}/devel/shapelib -.else -CONFIGURE_ARGS+= --without-shapelib -.endif +MAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:${PORTSDIR}/graphics/GraphicsMagick +MAGICK_CONFIGURE_WITH= imagemagick graphicsmagick -.if ${PORT_OPTIONS:MMAGICK} -LIB_DEPENDS+= libGraphicsMagickWand.so:${PORTSDIR}/graphics/GraphicsMagick -.else -CONFIGURE_ARGS+= --without-imagemagick --without-graphicsmagick -.endif +DBFAWK_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +DBFAWK_CONFIGURE_WITH= dbfawk -.if ${PORT_OPTIONS:MDBFAWK} -LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre -.else -CONFIGURE_ARGS+= --without-dbfawk -.endif +CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl -.if ${PORT_OPTIONS:MCURL} -LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl -.endif +GEOTIFF_LIB_DEPENDS= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff -.if ${PORT_OPTIONS:MGEOTIFF} -LIB_DEPENDS+= libgeotiff.so:${PORTSDIR}/graphics/libgeotiff -.endif +GDAL_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal +GDAL_CONFIGURE_WITH= gdal -.if ${PORT_OPTIONS:MGDAL} -LIB_DEPENDS+= libgdal.so:${PORTSDIR}/graphics/gdal -.else -CONFIGURE_ARGS+= --without-gdal -.endif +GPSMAN_BUILD_DEPENDS= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:${PORTSDIR}/graphics/gpsmanshp +GPSMAN_IMPLIES= SHAPELIB +GPSMAN_CONFIGURE_WITH= gpsman -.if ${PORT_OPTIONS:MGPSMAN} -BUILD_DEPENDS+= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:${PORTSDIR}/graphics/gpsmanshp -SHAPELIB= true -.else -CONFIGURE_ARGS+= --without-gpsman -.endif +FESTIVAL_BUILD_DEPENDS= festival:${PORTSDIR}/audio/festival +FESTIVAL_CONFIGURE_WITH=festival -.if ${PORT_OPTIONS:MFESTIVAL} -BUILD_DEPENDS+= festival:${PORTSDIR}/audio/festival -.else -CONFIGURE_ARGS+= --without-festival -.endif +RTREE_CONFIGURE_WITH= rtree -.if ${PORT_OPTIONS:MRTREE} -CONFIGURE_ARGS+= --with-rtree -.endif +ERRORPOP_CONFIGURE_WITH= errorpopups -.if ${PORT_OPTIONS:MERRORPOP} -CONFIGURE_ARGS+= --with-errorpopups -.endif +BDB_USE= BDB=41+ +BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} --with-bdb-libdir=${BDB_LIB_DIR} -.if ${PORT_OPTIONS:MBDB} -USE_BDB= 41+ -WITH_BDB_HIGHEST= ${TRUE} -INVALID_BDB_VER= 2 3 40 -CONFIGURE_ARGS+= --with-bdb-incdir=${BDB_INCLUDE_DIR} --with-bdb-libdir=${BDB_LIB_DIR} -.endif +OPTCFLAGS_CFLAGS= -O2 -pipe -.if ${PORT_OPTIONS:MOPTCFLAGS} -CFLAGS+= -O2 -pipe -.endif - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64 -.endif +BROKEN_sparc64= Does not compile on sparc64 .include Index: head/converters/iconv/Makefile =================================================================== --- head/converters/iconv/Makefile (revision 394777) +++ head/converters/iconv/Makefile (revision 394778) @@ -1,39 +1,34 @@ # Created by: Konstantin Chuguev # $FreeBSD$ PORTNAME= iconv PORTVERSION= 2.0 PORTREVISION= 4 CATEGORIES= converters MASTER_SITES= LOCAL/bland MAINTAINER= bland@FreeBSD.org COMMENT= Charset conversion library and utilities USES= shebangfix perl5 uidfix USE_PERL5= build USE_LDCONFIG= yes SHEBANG_FILES= iconv_builtin ccs/iconv_mktbl OPTIONS_DEFINE= CCSUTIL OPTIONS_DEFAULT=CCSUTIL OPTIONS_SUB= yes CCSUTIL_DESC= Install Coded character set (CCS) util -.include - -.if ${PORT_OPTIONS:MCCSUTIL} -USE_PERL5+= run -.else -EXTRA_PATCHES= ${FILESDIR}/extra-patch-ccs_Makefile -.endif +CCSUTIL_USE= PERL5=run +CCSUTIL_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-ccs_Makefile .if defined(NO_PROFILE) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif .include Index: head/converters/libiconv/Makefile =================================================================== --- head/converters/libiconv/Makefile (revision 394777) +++ head/converters/libiconv/Makefile (revision 394778) @@ -1,51 +1,44 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= libiconv PORTVERSION= 1.14 PORTREVISION= 8 CATEGORIES= converters devel MASTER_SITES= GNU MAINTAINER= gnome@FreeBSD.org COMMENT= Character set conversion library GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static \ --disable-nls \ --docdir=${DOCSDIR} \ am_cv_func_iconv=no INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes USES= libtool USE_CSTD= gnu89 USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS ENCODINGS PATCHES OPTIONS_DEFAULT=ENCODINGS ENCODINGS_DESC= Include extra character sets PATCHES_DESC= Apply patches to fix CP932, add EUCJP-MS -.include +ENCODINGS_CONFIGURE_ENABLE= extra-encodings -.if ${PORT_OPTIONS:MENCODINGS} -CONFIGURE_ARGS+= --enable-extra-encodings -.endif - -.if ${PORT_OPTIONS:MPATCHES} -PATCH_SITES+= http://apolloron.org/software/libiconv-1.14-ja/ -PATCH_SITES+= LOCAL/kwm -PATCHFILES+= ${DISTNAME}-ja-1.patch.gz -PATCH_DIST_STRIP+= -p1 -.endif +PATCHES_PATCH_SITES= http://apolloron.org/software/libiconv-1.14-ja/ \ + LOCAL/kwm +PATCHES_PATCHFILES= ${DISTNAME}-ja-1.patch.gz:-p1 post-patch: @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h @${REINPLACE_CMD} -e 's:gawk:awk:g' ${WRKSRC}/configure \ ${WRKSRC}/libcharset/configure \ ${WRKSRC}/preload/configure post-install: ${LN} -s libiconv.so.2 ${STAGEDIR}${PREFIX}/lib/libiconv.so.3 .include Index: head/converters/p5-LaTeXML/Makefile =================================================================== --- head/converters/p5-LaTeXML/Makefile (revision 394777) +++ head/converters/p5-LaTeXML/Makefile (revision 394778) @@ -1,53 +1,50 @@ # Created by: Carlos J. Puga Medina # $FreeBSD$ PORTNAME= LaTeXML PORTVERSION= 0.8.1 PORTREVISION= 1 CATEGORIES= converters perl5 MASTER_SITES= http://dlmf.nist.gov/LaTeXML/releases/ PKGNAMEPREFIX= p5- MAINTAINER= cpm@fbsd.es COMMENT= LaTeX to XML/HTML/MathML converter in Perl LICENSE= GPLv1 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/git:${PORTSDIR}/devel/git \ p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \ p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \ p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \ p5-XML-LibXML>=1.62:${PORTSDIR}/textproc/p5-XML-LibXML \ p5-XML-LibXSLT>=1.58:${PORTSDIR}/textproc/p5-XML-LibXSLT \ p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent \ p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-Getopt-Long>=2.37:${PORTSDIR}/devel/p5-Getopt-Long \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-Pod-Parser>=0:${PORTSDIR}/textproc/p5-Pod-Parser \ p5-Test-More-UTF8>=0:${PORTSDIR}/devel/p5-Test-More-UTF8 \ p5-URI>=0:${PORTSDIR}/net/p5-URI USES= perl5 USE_PERL5= configure USE_TEX= kpathsea NO_BUILD= yes PORTDOCS= Changes INSTALL MANIFEST README manual.pdf OPTIONS_DEFINE= DOCS -.include - post-install: ${FIND} ${STAGEDIR}/${PREFIX} -name .packlist | \ ${XARGS} ${REINPLACE_CMD} -e 's|^${STAGEDIR}||' ${RM} ${STAGEDIR}${PREFIX}/share/texmf-local/tex/latex/latexml/.packlist.bak -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/converters/py-zfec/Makefile =================================================================== --- head/converters/py-zfec/Makefile (revision 394777) +++ head/converters/py-zfec/Makefile (revision 394778) @@ -1,42 +1,38 @@ # Created by: Kevin Lo # $FreeBSD$ PORTNAME= zfec PORTVERSION= 1.4.24 PORTREVISION= 1 CATEGORIES= converters python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kevlo@FreeBSD.org COMMENT= Fast erasure codec for Python LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.GPL BUILD_DEPENDS= darcsver:${PORTSDIR}/devel/py-darcsver \ unsort:${PORTSDIR}/devel/py-pyutil RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} -e 's|share/doc|${DOCSDIR}|g ; \ s#(doc_loc, data_fnames)##g' ${WRKSRC}/setup.py -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for DOC in COPYING.GPL COPYING.TGPPL.html README.rst TODO changelog ${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Index: head/converters/tnef/Makefile =================================================================== --- head/converters/tnef/Makefile (revision 394777) +++ head/converters/tnef/Makefile (revision 394778) @@ -1,36 +1,32 @@ # Created by: Cyrus Rahman # $FreeBSD$ PORTNAME= tnef PORTVERSION= 1.4.11 CATEGORIES= converters mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ MAINTAINER= garga@FreeBSD.org COMMENT= Unpack data in MS Outlook TNEF format LICENSE= GPLv2 OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes PORTDOCS= AUTHORS NEWS README THANKS TODO PLIST_FILES= bin/tnef \ man/man1/tnef.1.gz -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif # This target is intended to be run by the port maintainer. x-test: build .for dir in cmdline files @cd ${WRKSRC}/tests/${dir} && ${MAKE} check-TESTS .endfor -.include +.include