# Created by: Edward Tomasz Napierala # $FreeBSD$ PORTNAME= oss DISTVERSION= 4.2-build2011 CATEGORIES= audio MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/ DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd MAINTAINER= ports@FreeBSD.org COMMENT= Open Sound System LICENSE= BSD2CLAUSE BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk USES= tar:bzip2 kmod pkgconfig ALL_TARGET= all install USE_GNOME= gtk20 USE_RC_SUBR= oss WRKSRC= ${WRKDIR}/build PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} SUB_FILES= pkg-install pkg-deinstall ONLY_FOR_ARCHS= amd64 i386 KMODDIR= ${PREFIX}/lib/oss/modules OSS_CONF_FILES= oss_audigyls oss_audioloop oss_cs461x oss_emu10k1x \ oss_envy24 oss_envy24ht oss_fmedia oss_hdaudio \ oss_ich oss_imux oss_madi oss_midiloop oss_sblive \ oss_sbpci oss_sbxfi oss_trident oss_usb oss_userdev \ oss_ymf7xx osscore PROTO_DIR= ${WRKSRC}/prototype PROTO_ETCDIR= ${PROTO_DIR}/etc PROTO_BINDIR= ${PROTO_DIR}/usr/bin PROTO_SBINDIR= ${PROTO_DIR}/usr/sbin PROTO_MANDIR= ${PROTO_DIR}/usr/share/man PROTO_OSSLIBDIR=${PROTO_DIR}${PREFIX}/lib/oss CONFIGURE_ENV= CC="${CC}" HOSTCC="${CC}" OPTIONS_DEFINE= VORBIS OPTIONS_DEFAULT=VORBIS VORBIS_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis VORBIS_CONFIGURE_ENV= OGG_SUPPORT=YES pre-patch: ${FIND} ${PATCH_WRKSRC} -name '*.man' -or \ \( -name '*.[ch]' \! -name ossmkdep.c \) | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' \ -e 's|/etc/oss|${PREFIX}/etc/oss|g' post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/setup/srcconf.c ${FIND} ${PATCH_WRKSRC} -name configure -or \ -name make.local -or -name soundoff -or -name soundon | \ ${XARGS} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' do-configure: ${MKDIR} ${WRKSRC} (cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${PATCH_WRKSRC}/configure) do-install: ${INSTALL_PROGRAM} ${PROTO_BINDIR}/* ${STAGEDIR}${PREFIX}/bin/ # @${ECHO_CMD} "OSSLIBDIR=${PREFIX}/lib/oss" > ${PROTO_ETCDIR}/oss.conf ${INSTALL_DATA} ${PROTO_ETCDIR}/oss.conf ${STAGEDIR}${PREFIX}/etc/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/soundon.user \ ${STAGEDIR}${PREFIX}/lib/oss/soundon.user.sample ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/sysfiles.list \ ${STAGEDIR}${PREFIX}/lib/oss/ ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/version.dat \ ${STAGEDIR}${PREFIX}/lib/oss/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/conf 2>/dev/null .for CONF_FILE in ${OSS_CONF_FILES} ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/conf/${CONF_FILE}.conf \ ${STAGEDIR}${PREFIX}/lib/oss/conf/${CONF_FILE}.conf.sample .endfor -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/etc 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/etc/devices.list \ ${STAGEDIR}${PREFIX}/lib/oss/etc/ -@${MKDIR} ${STAGEDIR}${PREFIX}/lib/oss/include/sys 2>/dev/null ${INSTALL_DATA} ${PROTO_OSSLIBDIR}/include/sys/soundcard.h \ ${STAGEDIR}${PREFIX}/lib/oss/include/sys/ ${INSTALL_KLD} ${PROTO_OSSLIBDIR}/modules/*.ko ${STAGEDIR}${KMODDIR} ${INSTALL_MAN} ${PROTO_MANDIR}/man1/*.1.gz \ ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${PROTO_MANDIR}/man7/*.7.gz \ ${STAGEDIR}${PREFIX}/man/man7/ ${INSTALL_MAN} ${PROTO_MANDIR}/man8/*.8.gz \ ${STAGEDIR}${PREFIX}/man/man8/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/ossdetect \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/ossdevlinks \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/savemixer \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${PROTO_SBINDIR}/soundoff \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${PROTO_SBINDIR}/soundon \ ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_PROGRAM} ${PROTO_SBINDIR}/vmixctl \ ${STAGEDIR}${PREFIX}/sbin/ .include .6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Remove USE_REINPLACE from ports starting with Medwin2006-05-111-1/+0
* SHA256ifyedwin2006-01-301-1/+2
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-1/+1
* - Drop requirement for exact python versionpav2004-12-161-4/+1
* <siks> hm math/clarence is maintained by ports@edwin2004-12-161-1/+1
* BROKEN: Broken dependency after python 2.4 updatekris2004-12-121-0/+2
* Bump PORTREVISIONS for all ports that depend on atk or pango to ease in themarcus2004-11-081-0/+1
* update to 0.4.4oliver2004-08-152-5/+4
* BROKEN: Unfetchablekris2004-08-151-0/+2
* - Update to 0.4.2pav2004-06-172-6/+4
* Use PLIST_FILES.trevor2004-02-062-2/+2
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* SIZEify.trevor2004-01-301-0/+1
* Fix unfetchable file by updating the port to 0.2.2erwin2003-06-092-3/+2
* De-pkg-comment.knu2003-02-212-1/+1
* URL updates.naddy2003-02-072-2/+2
* Fix PORTCOMMENTs that were killing INDEX builds.adamw2002-11-072-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* Directory layouts of py-gtk and py-gnome packages have been changed, so thatsobomax2002-08-291-1/+1
* Replace ${PERL} with ${REINPLACE_CMD}ijliao2002-06-231-1/+2
* upgrade to 0.2.0ijliao2002-05-112-3/+3
* upgrade to 0.1.10ijliao2002-02-232-3/+5