pkgsrc-wip/mysql-docs/Makefile
2008-05-26 13:59:43 +00:00

27 lines
775 B
Makefile

# $NetBSD: Makefile,v 1.7 2008/05/26 13:59:45 tnn2 Exp $
#
DISTNAME= manual-split
PKGNAME= mysql-docs-0
WRKSRC= ${WRKDIR}
CATEGORIES= misc
MASTER_SITES= http://mysql.belnet.be/Downloads/Manual/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mysql.com/
COMMENT= Latest documentation for MySQL database server
HTMLDIR= share/doc/${PKGNAME}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
NO_BUILD= yes
USE_TOOLS+= pax
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${HTMLDIR}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${WRKSRC} && pax -rw -pe manual_* ${PREFIX}/${HTMLDIR}
cd ${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
cd ${PREFIX} && ${FIND} -d ${HTMLDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"