mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
cd9998dc82
PR: ports/96137 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: openam
|
|
# Date created: Tue May 2 15:43:02 BST 2000
|
|
# Whom: Roger Hardiman <roger@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= openam
|
|
PORTVERSION= 1.1.18
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.voxgratia.org/releases/
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src-
|
|
EXTRACT_SUFX= tar.gz
|
|
|
|
MAINTAINER= Joerg.Pulz@frm2.tum.de
|
|
COMMENT= H323 Answer Machine
|
|
|
|
LIB_DEPENDS= h323_r.1:${PORTSDIR}/net/openh323
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g}
|
|
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= optshared
|
|
MAKE_ENV= PWLIBDIR=${LOCALBASE}/share/pwlib \
|
|
OPENH323DIR=${LOCALBASE}/share/openh323 \
|
|
SYSLIBDIR=${LOCALBASE}/lib
|
|
MAKE_ARGS= OSTYPE=${OPSYS} MACHTYPE=${ARCH:S/i386/x86/} \
|
|
OSRELEASE=${OSVERSION} CPLUS=${CXX}
|
|
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/openh323
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
|
|
BROKEN= does not link due to missing symbol in default thread library
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj_r/openam ${PREFIX}/bin
|
|
@${MKDIR} ${DOCSDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/sample_message.wav ${DOCSDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/sample_message_g7231.wav ${DOCSDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.post.mk>
|