freebsd-ports/x11-wm/evilwm/Makefile
Trevor Johnson 35072e264b Use MASTER_SITE_SOURCEFORGE now that I've changed it in bsd.sites.mk.
Remove the comment about the site not being in there.
Use less whitespace.

PR:		22751 (whitespace change)
Submitted by:	Kato Tsuguru <tkato@prontomail.ne.jp>
2000-12-25 03:02:32 +00:00

45 lines
967 B
Makefile

# New ports collection makefile for: evilwm
# Date created: 2000-11-04
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= evilwm
PORTVERSION= 0.2.7
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= trevor@FreeBSD.org
DOCDIR= share/doc/${PORTNAME}
DOCS= Changes.kja3 README
MAN1= evilwm.1
PLIST= ${WRKDIR}/pkg-plist
USE_X_PREFIX= yes
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include -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.man ${PREFIX}/man/man1/evilwm.1
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
.endfor
.endif
.include <bsd.port.mk>