freebsd-ports/sysutils/xfce4-fsguard-plugin/Makefile
Olivier Duchateau 3c39b8edb5 - Update to 1.0.1
- Use USE_PKGCONFIG macro
- Convert to new framework OptionsNG

Submitted by:	myself
Approved by:	rene, miwi (mentors)
2012-08-12 09:13:44 +00:00

45 lines
977 B
Makefile

# New ports collection makefile for: xfce4-fsguard-plugin
# Date created: 2003-12-20
# Whom: Matt Lancereau <matt@rimasec.net>
#
# $FreeBSD$
#
PORTNAME= xfce4-fsguard-plugin
PORTVERSION= 1.0.1
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Xfce4 panel plugin to check a mountpoint for free disk space
GNU_CONFIGURE= yes
USE_BZIP2= yes
INSTALLS_ICONS= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gtk20 intltool intlhack
USE_XFCE= configenv libmenu libutil panel
USE_XORG= x11
USE_PKGCONFIG= build
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e 's| po||' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>