diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-30 22:12:29 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-10-30 22:12:29 +0800 |
commit | 83eed02452d46ca34d0df3befa8af8f0117f7218 (patch) | |
tree | 950ea3e2cfd0382d276f92f764111b713bf006ca /textproc | |
parent | 571fc3bf77cacf439420332f63eabd68602dfac0 (diff) | |
download | freebsd-ports-gnome-83eed02452d46ca34d0df3befa8af8f0117f7218.tar.gz freebsd-ports-gnome-83eed02452d46ca34d0df3befa8af8f0117f7218.tar.zst freebsd-ports-gnome-83eed02452d46ca34d0df3befa8af8f0117f7218.zip |
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/uncrustify/Makefile | 15 | ||||
-rw-r--r-- | textproc/uncrustify/pkg-plist | 11 |
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%% |