summaryrefslogtreecommitdiffstats
path: root/x11/eterm/Makefile
blob: 8c4d00554634d43e955acb4458a45693d32945da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	eterm
# Version required:    0.6apl2
# Date created:        24 November 1997
# Whom:                Murray Stokely <murray@cdrom.com>
#
# $Id: Makefile,v 1.4 1997/11/29 22:06:43 asami Exp $
#

DISTNAME=	Eterm-DR-0.6aPL2
PKGNAME=	eterm-0.6a2
CATEGORIES=	x11
MASTER_SITES=	ftp://cthulhu.mandrake.net/pub/Eterm/

MAINTAINER=	murray@cdrom.com

LIB_DEPENDS=	Im\\.4\\.:${PORTSDIR}/graphics/imlib

BROKEN=		R_OK undefined
WRKSRC=		$(WRKDIR)/Eterm-DR-0.6a
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
MAN1=		Eterm.1

do-build:
	cd ${WRKSRC}/src && \
	${GMAKE} clean && \
	${GMAKE} FreeBSD && \
	cd ../doc && \
	${GMAKE} alldoc

do-install:
	${INSTALL_PROGRAM} $(WRKSRC)/src/Eterm $(PREFIX)/bin
	${INSTALL_PROGRAM} $(WRKSRC)/doc/dorand $(PREFIX)/bin
	${INSTALL_SCRIPT} $(WRKSRC)/doc/random_pixmap.sh $(PREFIX)/bin
	${INSTALL_MAN} $(WRKSRC)/doc/Eterm.1 $(PREFIX)/man/man1
	${MKDIR} $(PREFIX)/share/Eterm
	${INSTALL_MAN} $(WRKSRC)/doc/FAQ $(PREFIX)/share/Eterm
	${INSTALL_MAN} $(WRKSRC)/RELNOTES.Eterm $(PREFIX)/share/Eterm
	${INSTALL_SCRIPT} ${WRKSRC}/doc/colortest.sh ${PREFIX}/share/Eterm
	${INSTALL_SCRIPT} ${WRKSRC}/doc/menu.sh ${PREFIX}/share/Eterm
	${INSTALL_MAN} ${WRKSRC}/doc/Eterm.help ${PREFIX}/share/Eterm
	${INSTALL_MAN} ${WRKSRC}/doc/Eterm.ref ${PREFIX}/share/Eterm
	${INSTALL_MAN} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/Eterm
	${INSTALL_MAN} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/Eterm
	${INSTALL_MAN} ${WRKSRC}/doc/MAIN.dist ${PREFIX}/share/Eterm

.include <bsd.port.mk>
OpenPOWER on IntegriCloud