pkgsrc/devel/RTFM/Makefile
cube ef89ace893 Initial import of RTFM, version 2.0.4, into the NetBSD Packages Collection.
RTFM is an enterprise-grade knowledge management tool that enables an
organization to easily capture and share its employees' knowledge and wisdom.

Just as you use RT (the world's leading open-source ticketing system) to log
tickets and resolve issues, RTFM lets you open, categorize and search for
"articles."  Like RT, RTFM lets your users contribute additional information to
existing articles and makes sure that each article's full history is preserved
for future inspection.  RTFM makes it easy to quickly search the knowledge base
and find critical information.

Key Features:

    * RTFM is built on RT, the leading open-source ticketing system.
    * RTFM uses RT's authentication and authorization systems.
    * RTFM integrates seamlessly with RT.  Companies who are already using RT
      will find it even easier to get RTFM up and running.
2004-11-03 23:46:29 +00:00

44 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/11/03 23:46:29 cube Exp $
#
DISTNAME= RTFM-2.0.4
CATEGORIES= devel
MASTER_SITES= http://download.bestpractical.com/pub/rt/release/
MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://www.bestpractical.com/rtfm/
COMMENT= Enterprise-grade knowledge management tool
DEPENDS+= p5-Text-WikiFormat>=0.72:../../textproc/p5-Text-WikiFormat
DEPENDS+= rt>=3.2.1:../../devel/rt3
.include "../../mk/bsd.prefs.mk"
RT_LIB_DIR= ${LOCALBASE}/lib/rt3
RT_SITE_DIR= ${LOCALBASE}/share/rt3
RT_HTML_DIR= ${RT_SITE_DIR}/html
RT_I18N_DIR= ${RT_SITE_DIR}/local/po
BUILD_DEFS+= RT_HTML_DIR RT_I18N_DIR
PLIST_SUBST+= RT_HTML_DIR=${RT_HTML_DIR:C/^${LOCALBASE}\///} \
RT_I18N_DIR=${RT_I18N_DIR:C/^${LOCALBASE}\///}
NO_BUILD= YES
NO_CONFIGURE= YES
do-install:
@${ECHO} "=> Libraries"
cd ${WRKSRC}/lib && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
${PAX} -rw ${RT_LIB_DIR}
@${ECHO} "=> HTML Documents"
cd ${WRKSRC}/html && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
${PAX} -rw ${RT_HTML_DIR}
@${ECHO} "=> Locales"
cd ${WRKSRC}/po && ${FIND} . -type f ! -name '*.orig' 2>/dev/null | \
${PAX} -rw ${RT_I18N_DIR}
@${ECHO} "=> Database Schemas"
${INSTALL_DATA_DIR} ${PREFIX}/share/RTFM
for file in acl.Oracle acl.Pg acl.mysql schema.Oracle schema.Pg schema.mysql; \
do ${INSTALL_DATA} ${WRKSRC}/etc/$$file ${PREFIX}/share/RTFM; done
.include "../../mk/bsd.pkg.mk"