1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/japanese/navi2ch/Makefile
2012-06-01 05:26:28 +00:00

55 lines
1.3 KiB
Makefile

# New ports collection makefile for: navi2ch for Emacsen
# Date created: 13 May 2001
# Whom: FUJISHIMA Satsuki <sf@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= navi2ch
PORTVERSION= 1.8.4
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese www elisp
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= 2ch.net and 2ch-like BBS navigator for Emacsen
USE_EMACS= yes
INFO= navi2ch
GNU_CONFIGURE= yes
CONFIGURE_ENV= EMACS="${EMACS_CMD}"
CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/${PORTNAME}
PORTDOCS= ${PORTDOC_FILES} contrib
PLIST_SUB= LISPDIR=${LISPDIR}
PORTDOC_FILES= ChangeLog README TODO
PORTDOC_LISPS= gikope.el navi2ch-logo.el navi2ch-migemo.el
.include <bsd.port.pre.mk>
.if ${EMACS_PORT_NAME} == xemacs21-mule
LISPDIR= ${EMACS_SITE_LISPDIR}
PLIST_SUB+= FSF="@comment "
.else
LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
PLIST_SUB+= FSF=""
.if !defined(WITHOUT_X11)
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts
.endif
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} ${PORTDOC_FILES} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/contrib
cd ${WRKSRC}/contrib && \
${INSTALL_DATA} ${PORTDOC_LISPS} ${DOCSDIR}/contrib
.endif
.include <bsd.port.post.mk>