aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/uncrustify
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/uncrustify')
-rw-r--r--textproc/uncrustify/Makefile15
-rw-r--r--textproc/uncrustify/pkg-plist11
2 files changed, 6 insertions, 20 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index c3068494d2c5..b342371054bd 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -10,20 +10,17 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Highly configurable source code beautifier
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
CONFIGURE_ARGS= --disable-silent-rules
-MAN1= uncrustify.1
-
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PORTDATA= *
PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
-.if ${PORT_OPTIONS:MDOCS}
post-install:
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${DOCSDIR}
-.endif
+ cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/textproc/uncrustify/pkg-plist b/textproc/uncrustify/pkg-plist
deleted file mode 100644
index e47cdb9bca77..000000000000
--- a/textproc/uncrustify/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/uncrustify
-%%DATADIR%%/ben.cfg
-%%DATADIR%%/d.cfg
-%%DATADIR%%/defaults.cfg
-%%DATADIR%%/gnu-indent.cfg
-%%DATADIR%%/kr-indent.cfg
-%%DATADIR%%/linux-indent.cfg
-%%DATADIR%%/linux.cfg
-%%DATADIR%%/mono.cfg
-%%DATADIR%%/xsupplicant.cfg
-@dirrm %%DATADIR%%