9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# Created by: Roger Hardiman <roger@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ohphone
|
|
PORTVERSION= 1.4.5
|
|
PORTREVISION= 7
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= H323 Video Conferencing Program, compatible with NetMeeting
|
|
|
|
LIB_DEPENDS= h323_r.1:${PORTSDIR}/net/openh323
|
|
|
|
USES= bison
|
|
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}
|
|
|
|
MAN1= ohphone.1
|
|
|
|
PLIST_SUB= PORTNAME=${PORTNAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/openh323
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/openh323
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/obj_r/ohphone ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/${PORTNAME}
|
|
.endif
|
|
${MKDIR} ${EXAMPLESDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/check_listen.awk ${EXAMPLESDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/regtest ${EXAMPLESDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/stresstest ${EXAMPLESDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|