39843c2c61
their files via a custom do-install target.
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2008/03/04 19:21:10 jlam Exp $
|
|
#
|
|
# Update instructions:
|
|
# . bump PKGNAME to today's date
|
|
# . get distfiles from OMASTER_SITES
|
|
# . update ${DISTDIR}/${PKGNAME_NOREV} to
|
|
# ftp.NetBSD.org:/pub/NetBSD/packages/distfiles/LOCAL_PORTS/
|
|
|
|
DISTNAME= JMdict
|
|
PKGNAME= JMdict-20061208
|
|
CATEGORIES= japanese misc
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}
|
|
OMASTER_SITES= ftp://ftp.cc.monash.edu.au/pub/nihongo/
|
|
EXTRACT_SUFX= .gz
|
|
DISTFILES= jmdict_proj_desc.html JMdict.gz JMdict.dtd
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.csse.monash.edu.au/~jwb/edict.html
|
|
COMMENT= Japanese-Multilingual electronic dictionary
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
EXTRACT_ONLY= JMdict.gz
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/JMdict
|
|
${INSTALL_DATA} ${WRKSRC}/JMdict ${DESTDIR}${PREFIX}/share/JMdict
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/JMdict.dtd \
|
|
${DESTDIR}${PREFIX}/share/JMdict
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/JMdict.gz \
|
|
${DESTDIR}${PREFIX}/share/JMdict
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/JMdict
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jmdict_proj_desc.html \
|
|
${DESTDIR}${PREFIX}/share/doc/JMdict
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|