diff options
-rw-r--r-- | sysutils/xsu/Makefile | 10 |
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 |