mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
da7cc91207
- Switch to options helpers
44 lines
1015 B
Makefile
44 lines
1015 B
Makefile
# Created by: Jim Mock <jim@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wmbutton
|
|
PORTVERSION= 0.6.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11 windowmaker
|
|
MASTER_SITES= http://greek0.net/wmbutton/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Dockapp that displays 9 buttons to run apps of your choice
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_XORG= xpm
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= dot.wmbutton
|
|
PLIST_FILES= bin/wmbutton
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-build:
|
|
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
|
|
-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
|
|
wmb_libs.c wmbutton.c -o wmbutton \
|
|
-L${LOCALBASE}/lib -lXpm -lXext -lX11
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${STAGEDIR}${PREFIX}/bin/wmbutton
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/.wmbutton ${STAGEDIR}${EXAMPLESDIR}/dot.wmbutton
|
|
|
|
.include <bsd.port.mk>
|