freebsd-ports/x11-wm/evilwm/Makefile
Trevor Johnson 00699015bb Update to 0.3.11.
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
PR:		30146

DOCSDIRify and update description with new features.
2001-08-28 02:24:35 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: evilwm
# Date created: 2000-11-04
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= evilwm
PORTVERSION= 0.3.11
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= trevor@FreeBSD.org
DOCDIR= share/doc/${PORTNAME}
DOCS= ChangeLog README README.multihead
MAN1= evilwm.1
PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \
-DMOUSE -DSTDIO -DSOLIDDRAG -DCOLOURMAP -DVWM \
-L${X11BASE}/lib -o evilwm *.c -lX11
pre-install:
${ECHO} bin/evilwm > ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
${ECHO} ${DOCDIR}/${i} >> ${PLIST}
.endfor
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>