diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-14 18:47:25 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-14 18:47:25 +0000 |
commit | 0de8435c2dc24d24d88c65d8af4ff6335d5b7f77 (patch) | |
tree | b1687242cd8151d0f5ed368cd98b3a32509a7150 | |
parent | e1a95845f2b3b1c6aca4bea434e6f2e21befb83a (diff) | |
download | FreeBSD-ports-0de8435c2dc24d24d88c65d8af4ff6335d5b7f77.zip FreeBSD-ports-0de8435c2dc24d24d88c65d8af4ff6335d5b7f77.tar.gz |
- Switch to options helpers
Approved by: portmgr blanket
-rw-r--r-- | net-im/tkabber/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net-im/tkabber/Makefile b/net-im/tkabber/Makefile index 3417d28..1b51510 100644 --- a/net-im/tkabber/Makefile +++ b/net-im/tkabber/Makefile @@ -43,8 +43,6 @@ NO_ARCH= yes SUBDIRS= contrib emoticons ifacetk mclistbox \ msgs pixmaps plugins sounds tclxmpp trans -.include <bsd.port.options.mk> - do-install: ${ECHO_CMD} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabber.tcl \ -name tkabber \"\$$@\"\n" > ${WRKDIR}/tkabber.sh @@ -57,15 +55,15 @@ do-install: .for i in ${SUBDIRS} ${CP} -R ${WRKSRC}/${i} ${STAGEDIR}${DATADIR} .endfor -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif -.if ${PORT_OPTIONS:MDOCS} + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in tkabber.html tkabber.xml ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |