diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-01-13 01:32:55 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-01-13 01:32:55 +0000 |
commit | 059e7b9826c822c51a9f72e17facf1191bec5dbc (patch) | |
tree | ea673b69f50a120a78a5665d96aaa6f39ec4fedb /net/linphone/Makefile | |
parent | 69f62a934523c7a094ff3d16cddaad1b9720d638 (diff) | |
download | ports-059e7b9826c822c51a9f72e17facf1191bec5dbc.tar.gz ports-059e7b9826c822c51a9f72e17facf1191bec5dbc.zip |
Notes
Diffstat (limited to 'net/linphone/Makefile')
-rw-r--r-- | net/linphone/Makefile | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/net/linphone/Makefile b/net/linphone/Makefile index 9bf0502e6143..e5ff4731f1ca 100644 --- a/net/linphone/Makefile +++ b/net/linphone/Makefile @@ -19,13 +19,26 @@ LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \ speex.2:${PORTSDIR}/audio/speex \ osip.9:${PORTSDIR}/net/libosip -USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= gnomehack gnomeprefix gnomepanel GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CONFIGURE_ARGS= --enable-platform-gnome-2 --disable-ipv6 +CONFIGURE_ARGS= --disable-ipv6 +.ifdef WITHOUT_GNOME +CONFIGURE_ARGS+=--enable-gnome-ui=no \ + --with-html-dir=${DOCSDIR} +PLIST_SUB+= GNOME="@comment " \ + GNOME_PATH="" \ + HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}" +.else +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnomepanel +DOCSDIR= ${GNOME_HTML_DIR} +CONFIGURE_ARGS= --enable-gnome-ui=yes +PLIST_SUB+= GNOME="" \ + GNOME_PATH="gnome/" \ + HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}" +.endif INSTALLS_SHLIB= yes MAN1= linphone.1 linphonec.1 sipomatic.1 |