summaryrefslogtreecommitdiffstats
path: root/x11-wm/aewm/Makefile
blob: bd35153d77b291ad68c19c6096d75c1e58f87550 (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
# New ports collection makefile for:	aewm
# Date created:				2000-12-16
# Whom:					trevor
#
# $FreeBSD$
#

PORTNAME=	aewm
PORTVERSION=	0.9.19
CATEGORIES=	x11-wm
MASTER_SITES=	http://www.red-bean.com/~decklin/aewm/

MAINTAINER=	trevor@FreeBSD.org

BINS=		aewm
DOCDIR=		share/doc/${PORTNAME}
DOCS=		Changelog README TODO
MAN1=		aewm.1
PLIST=		${WRKDIR}/pkg-plist
USE_GMAKE=	yes
USE_X_PREFIX=	yes

pre-install:
	${ECHO} bin/aewm > ${PLIST}
.if !defined(NOPORTDOCS)
	for i in ${DOCS}; \
		do ${ECHO} ${DOCDIR}/$${i} >> ${PLIST}; \
	done
	${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/aewm ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/aewm.1x ${PREFIX}/man/man1/aewm.1
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/${DOCDIR}
	for i in ${DOCS}; \
		do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \
	done
.endif

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