249f7be968
spotted by and diff ok with naddy@
42 lines
997 B
Makefile
42 lines
997 B
Makefile
# $OpenBSD: Makefile,v 1.6 2011/01/24 08:23:27 sthen Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
COMMENT= conferencing application for asterisk
|
|
|
|
V= 1.5
|
|
DISTNAME= appkonference-$V
|
|
|
|
CATEGORIES= telephony
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=appkonference/$V/}
|
|
|
|
HOMEPAGE= http://sourceforge.net/projects/appkonference/
|
|
|
|
# GPLv2
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= telephony/asterisk>=1.8,<1.9
|
|
|
|
MAKE_ENV+= LOCALBASE=${LOCALBASE} \
|
|
ASTERISK_INCLUDE_DIR=${LOCALBASE}/include
|
|
|
|
WRKDIST= ${WRKDIR}/appkonference
|
|
WRKSRC= ${WRKDIST}/konference
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/asterisk/modules
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/app_konference
|
|
${INSTALL_DATA} ${WRKSRC}/app_konference.so \
|
|
${PREFIX}/lib/asterisk/modules
|
|
cd ${WRKSRC}; ${INSTALL_DATA} CHANGES CLI.txt Dialplan.txt README \
|
|
${PREFIX}/share/doc/app_konference
|
|
|
|
.include <bsd.port.mk>
|