1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/x11-wm/badwm/Makefile
Sam Lawrance 1eced003f1 Update to 0.1.1.
PR:		ports/93244
Submitted by:	Ports Fury
2006-02-13 10:03:11 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: badwm
# Date created: 2002-10-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= badwm
PORTVERSION= 0.1.1
PORTEPOCH= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= BadWM-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Window manager based on evilwm
USE_X_PREFIX= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= BadWM.1
MAN5= BadWMrc.5
MLINKS= BadWM.1 badwm.1 \
BadWMrc.5 badwmrc.5
PORTDOCS= ${DOCS}
PLIST_FILES= bin/BadWM bin/badwm
DOCS= AUTHORS ChangeLog INSTALL LICENSE README THANKS TODO
post-patch:
@${REINPLACE_CMD} -e 's|<getopt\.h>|<unistd.h>|g' ${WRKSRC}/src/main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/BadWM ${PREFIX}/bin
${LN} -sf BadWM ${PREFIX}/bin/badwm
${INSTALL_MAN} ${WRKSRC}/man/BadWM.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/BadWMrc.5 ${MAN5PREFIX}/man/man5
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>