2000-11-05 05:09:20 +01:00
|
|
|
# New ports collection makefile for: evilwm
|
|
|
|
# Date created: 2000-11-04
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= evilwm
|
2003-05-02 00:25:11 +02:00
|
|
|
PORTVERSION= 0.99.14
|
2000-11-05 05:09:20 +01:00
|
|
|
CATEGORIES= x11-wm
|
2000-12-25 04:02:32 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-05-02 00:25:11 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
2000-11-05 05:09:20 +01:00
|
|
|
|
2000-12-25 04:02:32 +01:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Minimalist window manager based on 9wm
|
2000-11-05 05:09:20 +01:00
|
|
|
|
2003-05-22 01:45:28 +02:00
|
|
|
FORBIDDEN= "source code for this version has not been reviewed"
|
|
|
|
|
2000-12-25 04:02:32 +01:00
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
2003-05-02 00:25:11 +02:00
|
|
|
DOCS= ChangeLog README README.vdesk TODO
|
2000-12-25 04:02:32 +01:00
|
|
|
MAN1= evilwm.1
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
USE_X_PREFIX= yes
|
2003-05-02 00:25:11 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
|
2000-11-05 05:09:20 +01:00
|
|
|
|
2000-11-06 16:30:21 +01:00
|
|
|
do-build:
|
2001-08-28 04:24:35 +02:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \
|
|
|
|
-DMOUSE -DSTDIO -DSOLIDDRAG -DCOLOURMAP -DVWM \
|
2002-05-14 02:08:30 +02:00
|
|
|
-DVERSION="\"${PORTVERSION}\"" \
|
2001-08-28 04:24:35 +02:00
|
|
|
-L${X11BASE}/lib -o evilwm *.c -lX11
|
2000-11-06 16:30:21 +01:00
|
|
|
|
2000-11-05 05:09:20 +01:00
|
|
|
pre-install:
|
2002-01-29 13:14:18 +01:00
|
|
|
${ECHO_CMD} bin/evilwm > ${PLIST}
|
2000-11-05 05:09:20 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-12-25 03:40:19 +01:00
|
|
|
.for i in ${DOCS}
|
2002-01-29 13:14:18 +01:00
|
|
|
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
|
2000-12-25 03:40:19 +01:00
|
|
|
.endfor
|
2002-01-29 13:14:18 +01:00
|
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
2000-11-05 05:09:20 +01:00
|
|
|
.endif
|
|
|
|
|
2000-11-06 16:30:21 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin
|
2003-05-02 00:25:11 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${MANPREFIX}/man/man1
|
2000-11-05 05:09:20 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-28 04:24:35 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2000-12-25 03:40:19 +01:00
|
|
|
.for i in ${DOCS}
|
2001-08-28 04:24:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
2000-12-25 03:40:19 +01:00
|
|
|
.endfor
|
2000-11-05 05:09:20 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|