1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/x11/dmenu/Makefile
Philippe Audeoud 6b73fc574f - Update to 4.3.1
- Add LICENSE info

PR:		ports/157263
Submitted by:	Jeroen Schot <schot _AT_ A-Eskwadraat.nl>
2011-05-23 08:22:21 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: dmenu
# Date created: August 4, 2006
# Whom: Jeroen Schot <schot@a-eskwadraat.nl>
#
# $FreeBSD$
#
PORTNAME= dmenu
PORTVERSION= 4.3.1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/ \
http://schot.a-eskwadraat.nl/files/
MAINTAINER= schot@a-eskwadraat.nl
COMMENT= X11 menu application designed for the dwm window manager
OPTIONS= XINERAMA "Enable Xinerama support" On
USE_XORG= x11
MAN1= dmenu.1
PLIST_FILES= bin/dmenu bin/dmenu_path bin/dmenu_run
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
.include <bsd.port.options.mk>
.if defined(WITH_XINERAMA)
USE_XORG+= xinerama
.endif
post-patch:
@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} \
-e "s,%%PREFIX%%,${PREFIX},g" \
-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
-e "s,%%MANPREFIX%%,${MANPREFIX},g"
.if defined(WITHOUT_XINERAMA)
@${REINPLACE_CMD} -e 's,$${XINERAMALIBS},,g' \
-e 's,$${XINERAMAFLAGS},,g' ${WRKSRC}/config.mk
.endif
.include <bsd.port.mk>