aboutsummaryrefslogblamecommitdiff
path: root/korean/eterm/Makefile
blob: 41778c2ffc67df8218975d6300a38d66c9b1cc3e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
           
 

                     
                  
                          
                                                    
                                                                  
                                    
 
                                 
                                                                              
 
                                                                                             
 
                     
                       
                   
                                  
                     
                   
                     
                   
                                                                  
                       
                           
 
                   





                                             
          
                                                               

                                                                   

                        







                                                    

      
                           
# Created by: Oh Junseon <hollywar@mail.holywar.net>
# $FreeBSD$

PORTNAME=	eterm
PORTVERSION=	0.8.9
PORTREVISION=	11
CATEGORIES=	korean x11
MASTER_SITES=	ftp://ftp.holywar.net/pub/FreeBSD/ \
		ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTNAME=	Eterm-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11 terminal emulator based on rxvt/xterm that supports korean

RUN_DEPENDS=	${LOCALBASE}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts

USES=		perl5
USE_AUTOTOOLS=	libtool
USE_GMAKE=	yes
USE_XORG=	x11 xext ice sm xt
USE_GNOME=	imlib
USE_LDCONFIG=	yes
USE_PERL5=	build
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib" LOCALBASE="${LOCALBASE}"
MAN1=		Eterm.1
MAKE_JOBS_UNSAFE=	yes

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

pre-patch:
	@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
		${WRKSRC}/libmej/debug.c ${WRKSRC}/libmej/strings.c

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ReleaseNotes \
		${WRKSRC}/doc/Eterm_reference.html \
		${WRKSRC}/doc/Eterm_reference.html \
		${WRKSRC}/doc/Eterm.tcap \
		${WRKSRC}/doc/Eterm.ti \
		${WRKSRC}/doc/FAQ.html \
			${DOCSDIR}
.endif

.include <bsd.port.post.mk>