mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
2b425629cb
see) along with the internal pager because the author no longer warns against doing so.
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: evilwm
|
|
# Date created: 2000-11-04
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= evilwm
|
|
PORTVERSION= 0.99.17
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
COMMENT= Minimalist window manager based on 9wm
|
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
DOCS= ChangeLog README README.vdesk TODO
|
|
MAN1= evilwm.1
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
USE_X_PREFIX= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include \
|
|
-DMOUSE -DSTDIO -DSOLIDDRAG -DCOLOURMAP -DVWM \
|
|
-DVERSION="\"${PORTVERSION}\"" \
|
|
-L${X11BASE}/lib -o evilwm *.c -lX11
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/evilwm > ${PLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
.for i in ${DOCS}
|
|
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
|
|
.endfor
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/evilwm.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|