aboutsummaryrefslogtreecommitdiff
path: root/x11/multi-aterm/Makefile
blob: 18018c17f8bad9fbcab73cf950b3e9187aca374f (plain) (blame)
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
# New ports collection makefile for:	multi-aterm
# Date created:		2003-07-11
# Whom:			Sebastian Yepes <esn@x123.info>
#
# $FreeBSD$
#

PORTNAME=	multi-aterm
PORTVERSION=	0.2.1
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	http://www.nongnu.org/materm/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A multi terminal based on aterm

USE_XORG=	xpm
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
		--with-xpm=${X11BASE}

DOCS=		AUTHORS ChangeLog INSTALL TODO
MAN1=		multi-aterm.1

.if defined(WITH_UTMP)
CONFIGURE_ARGS+=	--enable-utmp
.endif

.if defined(WITH_WTMP)
CONFIGURE_ARGS+=	--enable-wtmp
.endif

pre-everything::
	@${ECHO_MSG} ""
	@${ECHO_MSG} "You can specify the following options:"
	@${ECHO_MSG} "WITH_UTMP=yes - enable utmp support"
	@${ECHO_MSG} "WITH_WTMP=yes - enable wtmp support"

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>