aboutsummaryrefslogblamecommitdiff
path: root/editors/apel/Makefile
blob: d91396ed67504de8bb16b15c99c847d03b90a7e2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
                                         
                                                               
 
           

 
                    
                           
                             

                                                                          
                                   
 
                                    
                                                    

                  
                    
              
                                                                          
                                                                          
 
                  
                   
                               
 
                                   
 

                            
              


                                                                           
 
             
                        
                            

                                          
                                                
             
      
 
                      
# New ports collection makefile for:	apel for emacs
# Date created:		23 September 1998
# Whom:			Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	apel
PORTVERSION=	${APEL_VER}
CATEGORIES=	editors elisp
MASTER_SITES=	ftp://ftp.jpl.org/pub/elisp/apel/ \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,elisp/jpl/elisp/apel,}
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER?=	nobutaka@FreeBSD.org
COMMENT?=	A Portable Emacs Library for emacs21

# distfile version
APEL_VER=	10.7
# apel lispdir
APEL_LISPDIR?=			${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}
APEL_VERSION_SPECIFIC_LISPDIR?=	${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}

# emacs port setup
USE_EMACS=	yes
EMACS_PORT_NAME?=	emacs21

DESCR=		${PKGDIR}/pkg-descr

# target name for make build
ALL_TARGET?=	elc
# environments
MAKE_ARGS+=	PREFIX="${LOCALBASE}" \
		LISPDIR="${APEL_LISPDIR}" \
		VERSION_SPECIFIC_LISPDIR="${APEL_VERSION_SPECIFIC_LISPDIR}"

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@(cd ${WRKSRC} ; \
	for i in ChangeLog README.* ; do \
	    ${INSTALL_DATA} $${i} ${DOCSDIR} ; \
	done)
.endif

.include <bsd.port.mk>