63408327b0
Add an XFCE SITE_SUBDIR abbreviation and use it forf or the xfce ports, which removes the need to set MASTER_SITE_SUBDIR in any of them. This fixes ports that have USES=xfce but do not use the XFCE MASTER_SITE, namely sysutils/xfce4-bsdcpufreq-plugin. With hat: portmgr
33 lines
758 B
Makefile
33 lines
758 B
Makefile
# Created by: Matt Lancereau <matt@rimasec.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfce4-fsguard-plugin
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= sysutils xfce
|
|
MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= Panel plugin which displays free space of mountpoint
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
INSTALL_TARGET= install-strip
|
|
USES= gmake libtool pkgconfig gettext-tools xfce tar:bzip2
|
|
USE_GNOME= gtk20 intltool intlhack
|
|
USE_XFCE= panel
|
|
USE_XORG= x11
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
NLS_USES= gettext-runtime
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
.if empty(PORT_OPTIONS:MNLS)
|
|
@${REINPLACE_CMD} -e 's| po||' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|