aboutsummaryrefslogtreecommitdiff
path: root/textproc/modlogan
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:50:40 +0000
commit5fad809a5036ede0aa1484f20794ae259980b7fa (patch)
treecddd9991fc9d4b10a6996ebf4fafeeaf1d756cbe /textproc/modlogan
parentf83af9fadf126ce99ee41552d898bc5eb04fd222 (diff)
downloadports-5fad809a5036ede0aa1484f20794ae259980b7fa.tar.gz
ports-5fad809a5036ede0aa1484f20794ae259980b7fa.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360676
Diffstat (limited to 'textproc/modlogan')
-rw-r--r--textproc/modlogan/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/modlogan/Makefile b/textproc/modlogan/Makefile
index 98ea2db3b224..adde9ec8dfa5 100644
--- a/textproc/modlogan/Makefile
+++ b/textproc/modlogan/Makefile
@@ -17,6 +17,8 @@ LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns \
USES= gettext libtool
+OPTIONS_DEFINE= DOCS MYSQL
+
# Please don't remove the comments, as soon as autoconf/libtool get's
# updated in the ports collection the comments may be removed.
# They serve as a reminder.
@@ -24,9 +26,7 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-ltdl-install=no --with-gd=${LOCALBASE}/include \
--program-transform-name=\'\'
-.if defined(WITH_MYSQL)
-CONFIGURE_ARGS+=--with-mysql
-.endif
+MYSQL_CONFIGURE_ON= --with-mysql
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -40,12 +40,10 @@ post-patch:
# ${TOUCH} ${WRKSRC}/libltdl/config.status
post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/modlogan
.for i in ${DOC1}
@${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/doc/modlogan/${i}
.endfor
-.endif
${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/modlogan
.for i in footer.ihtml header.ihtml output.tmpl convert_history_to_07x.pl convert_to_055.pl convert_to_060.pl
@${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${PREFIX}/share/examples/modlogan/${i}