freebsd-ports/japanese/navi2ch-emacs20/Makefile
FUJISHIMA Satsuki 72edf0da99 o revert packagedir usage for XEmacs.
o move contrib's into docdir/contrib.

There are no functional chage so you don't need to update if you
understand what this means.

Requested by:	nanashi@users.sourceforge.net
2002-07-29 11:43:14 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: navi2ch for emacs20
# Date created: 13 May 2001
# Whom: FUJISHIMA Satsuki <sf@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= navi2ch
PORTVERSION= 1.6.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese www elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= sf@FreeBSD.org
EMACS_PORT_NAME?= emacs20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/navi2ch \
--with-emacs=${EMACS_CMD}
DOCDIR= share/doc/ja/navi2ch
PLIST_SUB= LISPDIR=${LISPDIR}
.if ${EMACS_PORT_NAME} == xemacs21-mule
LISPDIR= ${EMACS_SITE_LISPDIR}
PLIST_SUB+= FSF="@comment "
.else
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= FSF=""
.endif
post-install:
@${MKDIR} ${PREFIX}/${DOCDIR}
.if !defined(NOPORTDOCS)
.for i in ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
.endfor
.endif
@${MKDIR} ${PREFIX}/${DOCDIR}/contrib
.for i in gikope.el navi2ch-logo.el navi2ch-migemo.el
${INSTALL_DATA} ${WRKSRC}/contrib/$i ${PREFIX}/${DOCDIR}/contrib
.endfor
.include <bsd.port.mk>