mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
.if defined(PKGNAMESUFFIX)
|
|
|
|
PORTNAME= remmina-plugin
|
|
|
|
MASTER_SITES= SF/remmina/0.9
|
|
DISTNAME= remmina-plugins-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/remmina/plugin.h:${PORTSDIR}/net/remmina
|
|
RUN_DEPENDS+= remmina:${PORTSDIR}/net/remmina
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= glib20 gtk20
|
|
INSTALLS_ICONS= yes
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
CONFIGURE_ARGS+=--disable-nx --disable-rdp --disable-ssh --disable-telepathy \
|
|
--disable-vnc --disable-xdmcp --disable-nls
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PKGNAMESUFFIX} == "-i18n"
|
|
CONFIGURE_ARGS+=--enable-nls
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
.else
|
|
CONFIGURE_ARGS+=--enable${PKGNAMESUFFIX}
|
|
PLIST_SUB+= PLUGIN="${PKGNAMESUFFIX:S,-,,}"
|
|
PLIST= ${PKGDIR}/pkg-plist.plugin
|
|
|
|
.if defined(WITH_TELEP)
|
|
PLIST_SUB+= TELEP="" ICONS="@comment "
|
|
.else
|
|
PLIST_SUB+= TELEP="@comment " ICONS=""
|
|
.endif
|
|
.if defined(WITH_SSH)
|
|
LIB_DEPENDS+= ssh.4:${PORTSDIR}/security/libssh
|
|
CONFIGURE_ARGS+=--enable-ssh
|
|
PLIST_SUB+= SSH="@comment "
|
|
.if ${OSVERSION} >= 800040
|
|
LDFLAGS+= -fstack-protector
|
|
.endif
|
|
.else
|
|
PLIST_SUB+= SSH=""
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/locale/bg/LC_MESSAGES/remmina-plugins.mo:${PORTSDIR}/net/remmina-plugin-i18n
|
|
.endif
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|
|
.endif
|