36 lines
812 B
Makefile
36 lines
812 B
Makefile
# $NetBSD: Makefile,v 1.4 2008/07/28 10:16:08 cheusov Exp $
|
|
#
|
|
|
|
DISTNAME= freedict-tools-0.2
|
|
PKGNAME= freedict-tools-xsl-0.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedict/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= cheusov@tut.by
|
|
HOMEPAGE= http://www.freedict.org/
|
|
COMMENT= XSL files from FreeDict tools
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= install pax
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/tools
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/freedict-tools-xsl
|
|
XSLDIR= ${PREFIX}/share/freedict-tools-xsl
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${XSLDIR} ${XSLDIR}/inc
|
|
|
|
DOCFILES= COPYING README
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} ${DOCFILES} ${DESTDIR}${DOCDIR} && \
|
|
cd ${WRKSRC}/xsl && \
|
|
pax -rw -pm . ${DESTDIR}${XSLDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|