aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-30 14:12:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-30 14:12:29 +0000
commitc12361517b06a67a2140c283ca9f37e718682cb2 (patch)
tree950ea3e2cfd0382d276f92f764111b713bf006ca /textproc
parent0364b56e7f0820e5cbde5d74d21cd960f56673fc (diff)
downloadports-c12361517b06a67a2140c283ca9f37e718682cb2.tar.gz
ports-c12361517b06a67a2140c283ca9f37e718682cb2.zip
Notes
Diffstat (limited to 'textproc')
-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%%