aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-21 09:36:06 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-21 09:36:06 +0000
commit413a63cb53957547f2e1ae6f893714488ea92076 (patch)
treeaa6b932abd02912c04db7b09c65389ea2386a7e4 /sysutils
parentb49054267e11a770abb026ed0c1c53a341ec9855 (diff)
downloadports-413a63cb53957547f2e1ae6f893714488ea92076.tar.gz
ports-413a63cb53957547f2e1ae6f893714488ea92076.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xsu/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/xsu/Makefile b/sysutils/xsu/Makefile
index 44cec1117b7e..92010a4f5230 100644
--- a/sysutils/xsu/Makefile
+++ b/sysutils/xsu/Makefile
@@ -9,8 +9,7 @@ PORTNAME= xsu
PORTVERSION= 0.2.4
PORTREVISION= 2
CATEGORIES= sysutils gnome
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= xsu
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Xsu runs commands as root after prompting for the root password
@@ -25,6 +24,13 @@ 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