summaryrefslogblamecommitdiff
path: root/japanese/emacs20-dl-wnn6/Makefile
blob: 3426caf840897a74d3191bae4542fa0c62d7961d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                       
                             


                                       
                                                     

 

                                        


                                                             
                                 







                                                         


                                                           
                                                                                      
                                                         

                                                                            

                                         
                    


                                                   
                                                                  


                                                          
                                                                



                                                                
# New ports collection makefile for:	emacs20-dl-wnn6
# Version required:	0.3.6
# Date created:		10 October 1998
# Whom:			shige
#
# $Id: Makefile,v 1.5 1999/07/25 12:17:51 asami Exp $
#

DISTNAME=	dl-wnn-0.3.6
PKGNAME=	ja-emacs20-dl-wnn6-0.3.6
CATEGORIES=	japanese editors
MASTER_SITES=	http://tt-www.cs.titech.ac.jp/~katsuya/emacs/

MAINTAINER=	shige@FreeBSD.ORG

LIB_DEPENDS=	wnn6.1:${.CURDIR}/../../japanese/Wnn6-lib
BUILD_DEPENDS=	emacs-dl-${EMACS_VER}:${EMACSDL_DIR} \
		/nonexistent:${EMACSDL_DIR}:configure
RUN_DEPENDS=	emacs-dl-${EMACS_VER}:${EMACSDL_DIR}

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-wnn6 \
		--with-wnn-includes=${PREFIX}/include/wnn \
		--with-wnn-libraries=${PREFIX}/lib \
		--with-emacs-src=${WRKDIRPREFIX}${EMACSDL_DIR}/work/emacs-${EMACS_VER}
CONFIGURE_ENV=	EMACS=${PREFIX}/bin/emacs-dl-${EMACS_VER}
PLIST_SUB=	EMACS_VER=${EMACS_VER} EMACS_ARCH=${MACHINE_ARCH}--freebsd \
		DOCDIR=${DOCDIR}

DOCDIR=		share/doc/emacs20-dl-wnn6
EMACS_VER=	20.4
EMACSDL_DIR=	${.CURDIR}/../../editors/emacs20-dl

post-install:
	@${LN} -sf ${PREFIX}/share/emacs/site-lisp/egg/eggrc-wnn \
		${PREFIX}/share/emacs/site-lisp/egg/.eggrc
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/${DOCDIR}
	@${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/${DOCDIR}
	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/${DOCDIR}
.endif

.include <bsd.port.mk>