1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/japanese/canna-lib/Makefile
Hiroki Sato 3e50ae5111 Fix ownership/permissions of files in ${DATADIR}/dic when
this port is added by pkg_add(1).

Spotted by:	WATANABE Kazuhiro
2010-04-12 04:14:10 +00:00

43 lines
948 B
Makefile

# New ports collection makefile for: canna-lib
# Date created: 7 September 2008
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= canna
PORTVERSION= 3.7p3
PORTREVISION= 8
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= canna/9565/
PKGNAMESUFFIX= -lib
DISTNAME= Canna${PORTVERSION:S/.//g}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Kana-to-Kanji conversion system, library part
# XXX: USE_IMAKE implies USE_XLIB which is not needed for this port
BUILD_DEPENDS= imake:${X_IMAKE_PORT}
USE_BZIP2= yes
USE_LDCONFIG= yes
NO_INSTALL_MANPAGES=yes
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= METAFILE="${METAFILE}" \
MTREE_CMD="${MTREE_CMD}"
ALL_TARGET= canna
INSTALL_TARGET= instsgs
METAFILE= ${DATADIR_REL}/canna-lib-dic.meta
post-configure:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
post-install:
${MTREE_CMD} -cdink uname,gname,mode,nochange \
-p ${DATADIR}/dic > ${PREFIX}/${METAFILE}
.include <bsd.port.mk>