aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-21 17:36:06 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-21 17:36:06 +0800
commit3635bcc9dac17745d7bf0edee7a5be035b401f95 (patch)
treeda0c9bd4b2aa7832e1cd6f80cb01295fefe461ab /sysutils
parentfddddf979f6126862ba94b018c7c2478e2863f78 (diff)
downloadfreebsd-ports-graphics-3635bcc9dac17745d7bf0edee7a5be035b401f95.tar.gz
freebsd-ports-graphics-3635bcc9dac17745d7bf0edee7a5be035b401f95.tar.zst
freebsd-ports-graphics-3635bcc9dac17745d7bf0edee7a5be035b401f95.zip
- fix plist with -DNOPORTDOCS
- use SF macro Prompted by: QAT QA run
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 44cec1117b7..92010a4f523 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