pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/astyle devel/astyle: fix COMMENT and move docume...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e5905986c1d
branches:  trunk
changeset: 375616:2e5905986c1d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Feb 18 04:16:59 2018 +0000

description:
devel/astyle: fix COMMENT and move documentation to share/doc/astyle

Bumped PKGREVISION.

diffstat:

 devel/astyle/Makefile |  11 +++++------
 devel/astyle/PLIST    |  14 +++++++-------
 2 files changed, 12 insertions(+), 13 deletions(-)

diffs (54 lines):

diff -r 0eb8577ade4d -r 2e5905986c1d devel/astyle/Makefile
--- a/devel/astyle/Makefile     Sun Feb 18 03:37:15 2018 +0000
+++ b/devel/astyle/Makefile     Sun Feb 18 04:16:59 2018 +0000
@@ -1,26 +1,25 @@
-# $NetBSD: Makefile,v 1.18 2016/07/11 18:26:52 schmonz Exp $
+# $NetBSD: Makefile,v 1.19 2018/02/18 04:16:59 rillig Exp $
 
 DISTNAME=      astyle_2.05.1_linux
 PKGNAME=       ${DISTNAME:S/_linux//:S/_/-/}
+PKGREVISION=   1
 CATEGORIES=    textproc devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=astyle/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://astyle.sourceforge.net/
-COMMENT=       Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C#, and Java
+COMMENT=       Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C\#, and Java
 LICENSE=       gnu-lgpl-v3
 
 WRKSRC=                ${WRKDIR}/astyle
 BUILD_DIRS=    build/gcc
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c++
-
-HTMLDIR=       ${PREFIX}/share/doc/html/astyle
-INSTALLATION_DIRS=     bin ${HTMLDIR}
+AUTO_MKDIRS=   yes
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/build/gcc/bin/astyle ${DESTDIR}${PREFIX}/bin
-       cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DESTDIR}${HTMLDIR}
+       cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${DESTDIR}${PREFIX}/share/doc/astyle
 
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0eb8577ade4d -r 2e5905986c1d devel/astyle/PLIST
--- a/devel/astyle/PLIST        Sun Feb 18 03:37:15 2018 +0000
+++ b/devel/astyle/PLIST        Sun Feb 18 04:16:59 2018 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2016/07/11 18:26:52 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/02/18 04:16:59 rillig Exp $
 bin/astyle
-share/doc/html/astyle/astyle.html
-share/doc/html/astyle/install.html
-share/doc/html/astyle/license.html
-share/doc/html/astyle/news.html
-share/doc/html/astyle/notes.html
-share/doc/html/astyle/styles.css
+share/doc/astyle/astyle.html
+share/doc/astyle/install.html
+share/doc/astyle/license.html
+share/doc/astyle/news.html
+share/doc/astyle/notes.html
+share/doc/astyle/styles.css



Home | Main Index | Thread Index | Old Index