summaryrefslogtreecommitdiff
path: root/devel/astyle
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2018-02-18 04:16:59 +0000
committerrillig <rillig@pkgsrc.org>2018-02-18 04:16:59 +0000
commit3f2bddce93bb4e7a5b3105320c67a497f712dbea (patch)
tree2fa066b382d793ce4a28879a71c16d2e6a3305a3 /devel/astyle
parent1ca02fc649df1f1c86ee1cbc62564832161b6671 (diff)
downloadpkgsrc-3f2bddce93bb4e7a5b3105320c67a497f712dbea.tar.gz
devel/astyle: fix COMMENT and move documentation to share/doc/astyle
Bumped PKGREVISION.
Diffstat (limited to 'devel/astyle')
-rw-r--r--devel/astyle/Makefile11
-rw-r--r--devel/astyle/PLIST14
2 files changed, 12 insertions, 13 deletions
diff --git a/devel/astyle/Makefile b/devel/astyle/Makefile
index 63d7bc428ab..b1bf3677329 100644
--- a/devel/astyle/Makefile
+++ b/devel/astyle/Makefile
@@ -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
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 --git a/devel/astyle/PLIST b/devel/astyle/PLIST
index 13e99c2e6cf..38a24f9ea7e 100644
--- a/devel/astyle/PLIST
+++ b/devel/astyle/PLIST
@@ -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