freebsd-ports/misc/zaptel/Makefile
Philip M. Gollucci d8d2cf17f9 - devel/libslang2 has completely replaced devel/libslang which has not been
released in ~5yrs.

- WITH_SLANG2 is now no longer a valid ports knob
- WITH_SLANG implies devel/libslang2 now
- devel/libslang -> devel/libslang2 is a SHARED LIB bump
  so bump PORTREVISION for affected ports

- Take MAINTAINER for most unmaintained ports in this chain
- some SF macro conversions

- BROKEN with devel/libslang2 and DEPRECATE
    math/slsc (abandoned upstream)
- BROKEN with devel/libslang2
    japanese/slirc

PR:             ports/125255
Reviewed by:    garga (libslang maintainer), portmgr (pav)
Exp Run by:     pav
2009-02-08 03:14:14 +00:00

51 lines
1.3 KiB
Makefile

# Ports collection makefile for: zaptel
# Date created: 29 April 2004
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= zaptel
PORTVERSION= 1.4.11
PORTREVISION= 1
CATEGORIES= misc kld
MASTER_SITES= http://people.freebsd.org/~gonzo/zaptel/
DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
COMMENT= A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards
LIB_DEPENDS= newt.51:${PORTSDIR}/devel/newt
NO_PACKAGE= Should be in sync with the kernel to work correctly
ONLY_FOR_ARCHS= i386 amd64
MAKE_ENV= KMODDIR=${PREFIX}/lib/zaptel
SUB_FILES= pkg-message
USE_RC_SUBR= zaptel
WRKSRC= ${WRKDIR}/${PORTNAME}-bsd
.include <bsd.port.pre.mk>
pre-everything::
@if [ ! -f /usr/src/sys/Makefile ]; then \
${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
${FALSE}; \
fi
post-patch:
@${REINPLACE_CMD} -e "s|<getopt.h>|<unistd.h>|g" \
${WRKSRC}/tools/ztmonitor.c ${WRKSRC}/tools/zttool.c \
${WRKSRC}/tools/ztcfg.c ${WRKSRC}/tools/zttest.c
pre-su-install:
@${MKDIR} ${PREFIX}/lib/zaptel
post-install:
@${TOUCH} ${PREFIX}/lib/zaptel/linker.hints
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>