aboutsummaryrefslogtreecommitdiff
path: root/devel/distel
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:57:07 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:57:07 +0000
commit82fc70fd02a693e131547b5aebe47817bbd683e1 (patch)
tree5e89dfc088ba8feff5421e300f6eb260a867a747 /devel/distel
parent3d9b49d653bccf2b8a9b326038fa2b5056ed96d7 (diff)
downloadports-82fc70fd02a693e131547b5aebe47817bbd683e1.tar.gz
ports-82fc70fd02a693e131547b5aebe47817bbd683e1.zip
Notes
Diffstat (limited to 'devel/distel')
-rw-r--r--devel/distel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/distel/Makefile b/devel/distel/Makefile
index fbcef8b9efaf..288f6744650a 100644
--- a/devel/distel/Makefile
+++ b/devel/distel/Makefile
@@ -22,6 +22,8 @@ USE_EMACS= yes
DISTEL_DOCS= AUTHORS ChangeLog INSTALL INSTALL.WIN32 NEWS README README.ie-session
DISTEL_ROOT= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
do-build:
@${MKDIR} ${WRKSRC}/ebin
@cd ${WRKSRC} && erlc -W0 -o ebin/ +debug_info src/*.erl
@@ -30,7 +32,6 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/elisp/*el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@for FILE in ${DISTEL_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \
@@ -38,7 +39,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
@${INSTALL_DATA} ${WRKSRC}/doc/distel/*.html ${STAGEDIR}${DOCSDIR}/html
-.endif
+
@${MKDIR} ${STAGEDIR}${DISTEL_ROOT}/src
@${MKDIR} ${STAGEDIR}${DISTEL_ROOT}/ebin
@${INSTALL_DATA} ${WRKSRC}/src/*.erl ${STAGEDIR}${DISTEL_ROOT}/src