1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/comms/ixj/Makefile
Roger Hardiman cfdf3ed301 We only need the kernel source if we compile the port.
This allows the OpenH323 port to fetch the source, patch it
and copy out the required header files.
2002-09-04 22:01:32 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: ixj
# Date Created: Mon Jan 14 2002
# Whom: Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ixj
PORTVERSION= 1.1.0
CATEGORIES= comms
MASTER_SITES= ftp://telepresence.dmem.strath.ac.uk/pub/openh323/
DISTNAME= ixj_freebsd-${PORTVERSION}
MAINTAINER= roger@freebsd.org
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/ixj_freebsd
MAKEFILE= Makefile.BSD
pre-build:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
${ECHO} "This port requires the kernel source be available"; \
${ECHO} "*************************************************"; \
exit 1
.endif
post-patch:
${CP} ${FILESDIR}/ixj.sh ${WRKSRC}
${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ixj.sh
do-install:
@${MKDIR} -p ${PREFIX}/modules
@${INSTALL_DATA} ${WRKSRC}/ixj.ko ${PREFIX}/modules
@${MKDIR} -p ${PREFIX}/include/sys
@${INSTALL_DATA} ${WRKSRC}/ixjuser.h ${PREFIX}/include/sys
@${INSTALL_DATA} ${WRKSRC}/telephony.h ${PREFIX}/include/sys
@${INSTALL_SCRIPT} ${WRKSRC}/ixj.sh ${PREFIX}/etc/rc.d/
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>