aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cdecl/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-25 22:42:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-25 22:42:15 +0800
commitac9111c0b2f62af20f871e1db30f2fca74afa39e (patch)
tree08769b153380738d2dc8634e91ddc032ff417368 /devel/cdecl/Makefile
parent89317330060843847c20d79c1334d6ba4ec82c08 (diff)
downloadfreebsd-ports-gnome-ac9111c0b2f62af20f871e1db30f2fca74afa39e.tar.gz
freebsd-ports-gnome-ac9111c0b2f62af20f871e1db30f2fca74afa39e.tar.zst
freebsd-ports-gnome-ac9111c0b2f62af20f871e1db30f2fca74afa39e.zip
- Switch to options helpers
Diffstat (limited to 'devel/cdecl/Makefile')
-rw-r--r--devel/cdecl/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile
index 2a4422bbef50..07dc95ea0da0 100644
--- a/devel/cdecl/Makefile
+++ b/devel/cdecl/Makefile
@@ -9,17 +9,19 @@ MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= ports@FreeBSD.org
COMMENT= Explains complicated C/C++ declarations in plain English
-USE_CSTD= c89
+CONFLICTS= cutils-[0-9]*
USES= readline
+USE_CSTD= c89
ALL_TARGET= ${PORTNAME}
-PORTDOCS= testset testset++
-PLIST_FILES= bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz
MAKE_ENV+= STAGEDIR=$(STAGEDIR)
-CONFLICTS= cutils-[0-9]*
+PLIST_FILES= bin/cdecl bin/c++decl man/man1/cdecl.1.gz man/man1/c++decl.1.gz
+PORTDOCS= testset testset++
+
+OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}