diff options
Diffstat (limited to 'textproc/modlogan')
-rw-r--r-- | textproc/modlogan/Makefile | 8 |
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} |