1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/x11/wmbutton/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

39 lines
917 B
Makefile

# New ports collection makefile for: wmbutton
# Date created: 10 Apr 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmbutton
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= x11 windowmaker
MASTER_SITES= http://greek0.net/~greek0/wmbutton/
MAINTAINER= ports@FreeBSD.org
COMMENT= A dockapp that displays 9 buttons to run apps of your choice
USE_X_PREFIX= yes
USE_XPM= yes
SUB_FILES= pkg-message
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
-I${X11BASE}/include/X11 -I${X11BASE}/include \
wmb_libs.c wmbutton.c -o wmbutton \
-L${X11BASE}/lib -lXpm -lXext -lX11
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>