mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +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
44 lines
962 B
Makefile
44 lines
962 B
Makefile
# New ports collection makefile for: xsu
|
|
# Date created: 27 Aug 2002
|
|
# Whom: Juan Salaverria <rael@vectorstar.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xsu
|
|
PORTVERSION= 0.2.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= sysutils gnome
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Xsu runs commands as root after prompting for the root password
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs
|
|
CONFIGURE_ARGS= --su-pwd-out="Password:"
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
MAN8= xsu.8
|
|
|
|
DOCS= CHANGELOG COPYING INSTALL
|
|
|
|
post-patch:
|
|
.ifdef NOPORTDOCS
|
|
${REINPLACE_CMD} -e '/doc_path\/$$name/s,^[[:blank:]],#&,' \
|
|
-e '/@echo "Now read the README file"/s,^[[:blank:]],#&,' \
|
|
${WRKSRC}/configure
|
|
.endif
|
|
|
|
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>
|