2002-08-28 07:25:11 +00:00
|
|
|
# New ports collection makefile for: xsu
|
|
|
|
# Date created: 27 Aug 2002
|
|
|
|
# Whom: Juan Salaverria <rael@vectorstar.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xsu
|
2006-05-30 09:22:28 +00:00
|
|
|
PORTVERSION= 0.2.4
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 6
|
2002-08-28 07:25:11 +00:00
|
|
|
CATEGORIES= sysutils gnome
|
2009-04-21 09:36:06 +00:00
|
|
|
MASTER_SITES= SF
|
2002-08-28 07:25:11 +00:00
|
|
|
|
2004-12-12 14:49:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Xsu runs commands as root after prompting for the root password
|
2002-08-28 07:25:11 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs
|
|
|
|
CONFIGURE_ARGS= --su-pwd-out="Password:"
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2002-08-28 07:25:11 +00:00
|
|
|
|
|
|
|
MAN8= xsu.8
|
|
|
|
|
|
|
|
DOCS= CHANGELOG COPYING INSTALL
|
|
|
|
|
2009-04-21 09:36:06 +00:00
|
|
|
post-patch:
|
|
|
|
.ifdef NOPORTDOCS
|
|
|
|
${REINPLACE_CMD} -e '/doc_path\/$$name/s,^[[:blank:]],#&,' \
|
|
|
|
-e '/@echo "Now read the README file"/s,^[[:blank:]],#&,' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
|
2002-08-28 07:25:11 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xsu.desktop \
|
|
|
|
${PREFIX}/share/gnome/apps/System
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|