aboutsummaryrefslogtreecommitdiff
path: root/textproc/tinyxml
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:18:26 +0000
commitc6941c482ece145e97bdb2cd8f5ae1f8938298ea (patch)
tree6cba635ca6a0900686686afe6df65efafe2cb104 /textproc/tinyxml
parentfa4bf2ee1d039ae33718a8286802e7bf7ceb3387 (diff)
downloadports-c6941c482ece145e97bdb2cd8f5ae1f8938298ea.tar.gz
ports-c6941c482ece145e97bdb2cd8f5ae1f8938298ea.zip
Add DOCS option where PORTDOCS is in plist.
Notes
Notes: svn path=/head/; revision=362024
Diffstat (limited to 'textproc/tinyxml')
-rw-r--r--textproc/tinyxml/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/textproc/tinyxml/Makefile b/textproc/tinyxml/Makefile
index 795a5e72e980..c28da33d1cc4 100644
--- a/textproc/tinyxml/Makefile
+++ b/textproc/tinyxml/Makefile
@@ -18,11 +18,8 @@ USE_LDCONFIG= YES
SHLIB_MAJOR= 3
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-.if defined(NOPROFILE) || defined(NO_PROFILE)
-PLIST_SUB+= PROFILE="@comment "
-.else
-PLIST_SUB+= PROFILE=""
-.endif
+OPTIONS_DEFINE= DOCS PROFILE
+OPTIONS_SUB= yes
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev