mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# New ports collection makefile for: sphinx
|
|
# Date created: 30 Mar 2000
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sphinx
|
|
PORTVERSION= 2.0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio accessibility
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= cmusphinx
|
|
DISTNAME= sphinx2-0.4
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Speech recognition system
|
|
|
|
DEST= ${WRKSRC}/src/libsphinx2/
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
USE_GMAKE= yes
|
|
|
|
# contains i386 sound code
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
post-patch:
|
|
.for ii in CM_funcs.c hash.c linklist.c list.c salloc.c
|
|
${MV} ${DEST}${ii} ${DEST}${ii}.orig
|
|
${SED} -e "s:<malloc.h>:<stdlib.h>:g" < ${DEST}${ii}.orig > ${DEST}${ii}
|
|
.endfor
|
|
|
|
post-build:
|
|
${ECHO_CMD} "*** WARNING ***" > ${PKGMESSAGE}
|
|
${ECHO_CMD} "The sphinx 2 port/package has not had" >> ${PKGMESSAGE}
|
|
${ECHO_CMD} "proper testing or source review by the" >> ${PKGMESSAGE}
|
|
${ECHO_CMD} "FreeBSD maintainer." >> ${PKGMESSAGE}
|
|
|
|
pre-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|